From 746d6df1c8ab5c5588e52c046a6b491377461d7c Mon Sep 17 00:00:00 2001 From: tr1x_em Date: Sat, 9 Aug 2025 14:44:37 +0530 Subject: [PATCH] workspace-indicator enahncements --- config/data.py | 2 +- lock.py | 6 +++--- styles/panel.css | 19 ++++++++++++++----- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/config/data.py b/config/data.py index f1a3950..a5eab64 100644 --- a/config/data.py +++ b/config/data.py @@ -56,7 +56,7 @@ CURRENT_WIDTH = screen.get_width() CURRENT_HEIGHT = screen.get_height() -WALLPAPERS_DIR_DEFAULT = os.path.expanduser(f"~/Pictures/wallpapers/") +WALLPAPERS_DIR_DEFAULT = os.path.expanduser(f"~/Pictures/Wallpapers/") CONFIG_FILE = get_relative_path("../config/assets/config.json") MATUGEN_STATE_FILE = os.path.join(CONFIG_DIR, "matugen") diff --git a/lock.py b/lock.py index 4bb1c26..6024102 100644 --- a/lock.py +++ b/lock.py @@ -34,9 +34,9 @@ class IndicatorBox(Box): spacing=5, h_expand=True, children=[ - BatteryIndicator(), - BluetoothIndicator(), - NetworkIndicator(), + BatteryIndicator(show_window=False), + BluetoothIndicator(show_window=False), + NetworkIndicator(show_window=False), ], ) diff --git a/styles/panel.css b/styles/panel.css index 29ff9a9..ebce971 100644 --- a/styles/panel.css +++ b/styles/panel.css @@ -106,9 +106,15 @@ margin: 0 4px; } +#workspaces label { + color: white; /* fully transparent text */ +} #workspaces > button { - padding: 0px 8px; - margin: 4px 0px; + padding-top: 0px; + padding-right: 16px; + padding-left: 16px; + + margin: 6px 0px; min-width: 12px; border: 1px solid var(--outline); border-radius: 8px; @@ -119,14 +125,17 @@ } #workspaces > button.active { - background-color: var(--on-tertiary); + background-color: alpha(#fff, 0.9); font-weight: bold; } +#workspaces > button.active label { + color: alpha(#000, 1); +} #workspaces > button.urgent { - background-color: var(--on-error); + background-color: alpha(var(--on-error), 0.7); } #workspaces > button.empty { - background-color: var(--outline); + background-color: transparent; }