diff --git a/config/hypr/colors.conf b/config/hypr/colors.conf index d7ffce5..f6b836d 100644 --- a/config/hypr/colors.conf +++ b/config/hypr/colors.conf @@ -1,10 +1,10 @@ -$wallpaper = /home/sankalp/Pictures/wallpapers/122.jpg +$wallpaper = /home/sankalp/Pictures/wallpapers/hyprland.jpg $background = 111318 $foreground = e2e2e9 -$primary = adc6ff -$secondary = bfc6dc -$tertiary = debcdf +$primary = acc7ff +$secondary = bec6dc +$tertiary = ddbce0 $surface = 111318 $surface_bright = 37393e $outline = 8e9099 @@ -15,13 +15,13 @@ $shadow = 000000 $red = ffb2b9 $green = 95d5a7 $yellow = b8cf84 -$blue = b6c4ff +$blue = b5c4ff $magenta = e4b7f3 $cyan = 82d3e2 $white = 82d3e0 $red_dim = ff4c5c $green_dim = 4cb86a $yellow_dim = 8baa43 -$blue_dim = 5072ff +$blue_dim = 4f73ff $magenta_dim = c360e4 $cyan_dim = 30b5ce diff --git a/modules/launcher/plugins/process.py b/modules/launcher/plugins/process.py index a733637..31b30d9 100644 --- a/modules/launcher/plugins/process.py +++ b/modules/launcher/plugins/process.py @@ -66,7 +66,7 @@ class ProcessPlugin(PluginBase): current_time = time.time() # Initialize CPU monitoring if this is the first call or enough time has passed - if current_time - self._last_cpu_update > 1.0: # Update every second + if current_time - self._last_cpu_update > 0.1: # Update every 100ms # Pre-populate CPU cache for all processes for proc in psutil.process_iter(['pid']): try: @@ -235,12 +235,12 @@ class ProcessPlugin(PluginBase): print(f"✗ Error killing process {pid}: {e}") def _start_refresh_thread(self): - """Start background thread for auto-refreshing process data (optimized).""" + """Start background thread for auto-refreshing process data in milliseconds.""" def refresh_loop(): - while not self.stop_refresh.wait(2.0): # Check every 2 seconds to reduce load + while not self.stop_refresh.wait(0.5): # Check every 500ms for real-time updates current_time = time.time() - if current_time - self.last_update >= 2.0: # Update every 2 seconds + if current_time - self.last_update >= 0.5: # Update every 500ms self.last_update = current_time # Update existing process labels without full refresh try: