diff --git a/dot_config/waybar/style.css b/dot_config/waybar/style.css index b44dbea..8af5aca 100644 --- a/dot_config/waybar/style.css +++ b/dot_config/waybar/style.css @@ -15,6 +15,12 @@ window#waybar.hidden { opacity: 0.2; } +/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ +#workspaces button:hover { + background: rgba(0, 0, 0, 0.2); + box-shadow: inset 0 -3px #ffffff; +} + button { /* Use box-shadow instead of border so the text isn't offset */ box-shadow: inset 0 -3px transparent; @@ -23,37 +29,41 @@ button { border-radius: 0; } -/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ -button:hover { - background: inherit; - box-shadow: inset 0 -3px #ffffff; -} - #workspaces button { padding: 0 5px; background-color: transparent; color: #ffffff; } -#workspaces button:hover { - background: rgba(0, 0, 0, 0.2); +#workspaces button.active { + background-color: #64727D; /* vorher focused */ + box-shadow: inset 0 -3px #ffffff; } -#workspaces button.focused { - background-color: #64727D; - box-shadow: inset 0 -3px #ffffff; +#workspaces button.visible { + /* Optional: z.B. leicht abgewandelte Hervorhebung */ + box-shadow: inset 0 -3px #51afef; } #workspaces button.urgent { background-color: #eb4d4b; } -#workspaces button.active { - box-shadow: inset 0 -3px #51afef; +#workspaces button.empty { + /* Beispiel: ausgegraut oder weniger auffällig */ + color: #888888; + background-color: transparent; } -#workspaces button.visible { - box-shadow: inset 0 -3px #51afef; +#workspaces button.persistent { + /* Beispiel: spezielle Farbe für persistente Workspaces */ + background-color: #222831; + color: #bfc9d1; +} + +#workspaces button.hidden { + /* Beispiel: Workspace ist versteckt */ + opacity: 0.5; } #mode {