workspace-indicator enahncements
This commit is contained in:
1 parent
afd42745d6
commit
746d6df1c8
3 files changed
+18
-9
No files matched your search
+1
-1
@@ -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")
|
||||
|
||||
|
||||
@@ -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),
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
+14
-5
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user