Opacity for indicators of empty waybar workspaces (#444)

* Opacity for indicators of empty waybar workspaces

Adds opacity to the workspace indicators on waybar, if the workspace is empty. Makes the indicator appear dimmer to make it easier to find empty workspaces. Purely cosmetic UI tweak.

* Bump up opacity to be easier to read on light themes

* Add migration

* Apply grep to something!

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
brink-lab
2025-08-02 13:16:51 +02:00
committed by GitHub
co-authored by David Heinemeier Hansson
parent 0a16d502f2
commit d56a2bce2b
2 changed files with 10 additions and 0 deletions
+4
View File
@@ -26,6 +26,10 @@
min-width: 9px;
}
#workspaces button.empty {
opacity: 0.5;
}
#tray,
#cpu,
#battery,
+6
View File
@@ -0,0 +1,6 @@
echo "Update Waybar CSS to dim unused workspaces"
if ! grep -q "#workspaces button\.empty" ~/.config/waybar/style.css; then
omarchy-refresh-config waybar/style.css
pkill -SIGUSR2 waybar
fi