From 275a3459b8acf025b7ada074b9e574b44927dbcf Mon Sep 17 00:00:00 2001 From: DemonKingSwarn Date: Sun, 26 Jan 2025 13:58:45 +0530 Subject: chore: Total Screen Usage added --- src/GetWindows.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/GetWindows.cs') 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; } } -- cgit v1.1