aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/GetWindows.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/GetWindows.cs b/src/GetWindows.cs
index eafb117..3eeb81c 100644
--- a/src/GetWindows.cs
+++ b/src/GetWindows.cs
@@ -40,6 +40,11 @@ namespace hyprwatch.Window
Console.WriteLine(ex.Message);
}
+ if(activeWindow == null)
+ {
+ activeWindow = "Home-Screen";
+ }
+
return activeWindow ?? string.Empty;
}
}