💅 style(config/hypr/colors): update wallpaper path and hex codes for improved color consistency

This commit is contained in:
sankalp committed 2025-06-25 12:20:46 +05:45
1 parent c77b45115b
commit 9108ff0259
2 files changed
+10 -10

No files matched your search

+6 -6
View File
@@ -1,10 +1,10 @@
$wallpaper = /home/sankalp/Pictures/wallpapers/122.jpg $wallpaper = /home/sankalp/Pictures/wallpapers/hyprland.jpg
$background = 111318 $background = 111318
$foreground = e2e2e9 $foreground = e2e2e9
$primary = adc6ff $primary = acc7ff
$secondary = bfc6dc $secondary = bec6dc
$tertiary = debcdf $tertiary = ddbce0
$surface = 111318 $surface = 111318
$surface_bright = 37393e $surface_bright = 37393e
$outline = 8e9099 $outline = 8e9099
@@ -15,13 +15,13 @@ $shadow = 000000
$red = ffb2b9 $red = ffb2b9
$green = 95d5a7 $green = 95d5a7
$yellow = b8cf84 $yellow = b8cf84
$blue = b6c4ff $blue = b5c4ff
$magenta = e4b7f3 $magenta = e4b7f3
$cyan = 82d3e2 $cyan = 82d3e2
$white = 82d3e0 $white = 82d3e0
$red_dim = ff4c5c $red_dim = ff4c5c
$green_dim = 4cb86a $green_dim = 4cb86a
$yellow_dim = 8baa43 $yellow_dim = 8baa43
$blue_dim = 5072ff $blue_dim = 4f73ff
$magenta_dim = c360e4 $magenta_dim = c360e4
$cyan_dim = 30b5ce $cyan_dim = 30b5ce
+4 -4
View File
@@ -66,7 +66,7 @@ class ProcessPlugin(PluginBase):
current_time = time.time() current_time = time.time()
# Initialize CPU monitoring if this is the first call or enough time has passed # 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 # Pre-populate CPU cache for all processes
for proc in psutil.process_iter(['pid']): for proc in psutil.process_iter(['pid']):
try: try:
@@ -235,12 +235,12 @@ class ProcessPlugin(PluginBase):
print(f"✗ Error killing process {pid}: {e}") print(f"✗ Error killing process {pid}: {e}")
def _start_refresh_thread(self): 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(): 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() 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 self.last_update = current_time
# Update existing process labels without full refresh # Update existing process labels without full refresh
try: try: