diff options
| author | DemonKingSwarn <rockingswarn@gmail.com> | 2025-01-26 13:58:45 +0530 |
|---|---|---|
| committer | DemonKingSwarn <rockingswarn@gmail.com> | 2025-01-26 13:58:45 +0530 |
| commit | 275a3459b8acf025b7ada074b9e574b44927dbcf (patch) | |
| tree | 8b72f6480436b221bf5691032576da2a14259404 /src/GetWindows.cs | |
| parent | e832d4de9209236b6d222b7ce1c062fb9e66871c (diff) | |
| download | hypr-wellbeing-275a3459b8acf025b7ada074b9e574b44927dbcf.zip hypr-wellbeing-275a3459b8acf025b7ada074b9e574b44927dbcf.tar.gz | |
chore: Total Screen Usage added
Diffstat (limited to 'src/GetWindows.cs')
| -rw-r--r-- | src/GetWindows.cs | 5 |
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; } } |
