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()
|
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")
|
CONFIG_FILE = get_relative_path("../config/assets/config.json")
|
||||||
MATUGEN_STATE_FILE = os.path.join(CONFIG_DIR, "matugen")
|
MATUGEN_STATE_FILE = os.path.join(CONFIG_DIR, "matugen")
|
||||||
|
|
||||||
|
|||||||
@@ -34,9 +34,9 @@ class IndicatorBox(Box):
|
|||||||
spacing=5,
|
spacing=5,
|
||||||
h_expand=True,
|
h_expand=True,
|
||||||
children=[
|
children=[
|
||||||
BatteryIndicator(),
|
BatteryIndicator(show_window=False),
|
||||||
BluetoothIndicator(),
|
BluetoothIndicator(show_window=False),
|
||||||
NetworkIndicator(),
|
NetworkIndicator(show_window=False),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
+14
-5
@@ -106,9 +106,15 @@
|
|||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces label {
|
||||||
|
color: white; /* fully transparent text */
|
||||||
|
}
|
||||||
#workspaces > button {
|
#workspaces > button {
|
||||||
padding: 0px 8px;
|
padding-top: 0px;
|
||||||
margin: 4px 0px;
|
padding-right: 16px;
|
||||||
|
padding-left: 16px;
|
||||||
|
|
||||||
|
margin: 6px 0px;
|
||||||
min-width: 12px;
|
min-width: 12px;
|
||||||
border: 1px solid var(--outline);
|
border: 1px solid var(--outline);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
@@ -119,14 +125,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#workspaces > button.active {
|
#workspaces > button.active {
|
||||||
background-color: var(--on-tertiary);
|
background-color: alpha(#fff, 0.9);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces > button.active label {
|
||||||
|
color: alpha(#000, 1);
|
||||||
|
}
|
||||||
#workspaces > button.urgent {
|
#workspaces > button.urgent {
|
||||||
background-color: var(--on-error);
|
background-color: alpha(var(--on-error), 0.7);
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces > button.empty {
|
#workspaces > button.empty {
|
||||||
background-color: var(--outline);
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user