aboutsummaryrefslogtreecommitdiff
path: root/src/GetWindows.cs
diff options
context:
space:
mode:
authorDemonKingSwarn <rockingswarn@gmail.com>2025-01-26 13:58:45 +0530
committerDemonKingSwarn <rockingswarn@gmail.com>2025-01-26 13:58:45 +0530
commit275a3459b8acf025b7ada074b9e574b44927dbcf (patch)
tree8b72f6480436b221bf5691032576da2a14259404 /src/GetWindows.cs
parente832d4de9209236b6d222b7ce1c062fb9e66871c (diff)
downloadhypr-wellbeing-275a3459b8acf025b7ada074b9e574b44927dbcf.zip
hypr-wellbeing-275a3459b8acf025b7ada074b9e574b44927dbcf.tar.gz
chore: Total Screen Usage added
Diffstat (limited to 'src/GetWindows.cs')
-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;
}
}