From 9108ff025913a96353e5a2b669d9b3a467aa6d63 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Wed, 25 Jun 2025 12:20:46 +0545 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=85=20style(config/hypr/colors):=20upd?= =?UTF-8?q?ate=20wallpaper=20path=20and=20hex=20codes=20for=20improved=20c?= =?UTF-8?q?olor=20consistency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/hypr/colors.conf | 12 ++++++------ modules/launcher/plugins/process.py | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) 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: