diff options
Diffstat (limited to 'desktop/.config/waybar')
-rw-r--r-- | desktop/.config/waybar/config | 16 | ||||
-rw-r--r-- | desktop/.config/waybar/style.css | 19 |
2 files changed, 31 insertions, 4 deletions
diff --git a/desktop/.config/waybar/config b/desktop/.config/waybar/config index da79430..ce3dc65 100644 --- a/desktop/.config/waybar/config +++ b/desktop/.config/waybar/config @@ -2,13 +2,13 @@ { // "layer": "top", // Waybar at top layer // "position": "bottom", // Waybar position (top|bottom|left|right) - "height": 30, // Waybar height (to be removed for auto height) + "height": 20, // Waybar height (to be removed for auto height) // "width": 1280, // Waybar width "spacing": 4, // Gaps between modules (4px) // Choose the order of the modules - "modules-left": ["river/tags", "river/mode", "custom/media"], - "modules-center": ["river/window"], - "modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "battery", "battery#bat2", "clock", "tray"], + "modules-left": ["river/tags", "river/mode", "sway/workspaces", "custom/media", "sway/mode"], + "modules-center": ["river/window", "sway/window"], + "modules-right": ["idle_inhibitor", "pulseaudio", "cpu", "memory", "temperature", "backlight", "battery", "battery#bat2", "clock", "tray"], "keyboard-state": { "numlock": true, "capslock": true, @@ -18,9 +18,17 @@ "unlocked": "" } }, + "river/tags": { "num-tags": 10 }, + + "sway/workspaces": { + "all-outputs": false, + "disable-scroll": true, + "format": "{name}" + }, + "sway/mode": { "format": "<span style=\"italic\">{}</span>" }, diff --git a/desktop/.config/waybar/style.css b/desktop/.config/waybar/style.css index 49d5ac1..edc028e 100644 --- a/desktop/.config/waybar/style.css +++ b/desktop/.config/waybar/style.css @@ -79,6 +79,25 @@ button:hover { margin: 0 4px; } +#workspaces button { + padding: 0 5px; + background-color: transparent; + color: #ffffff; +} + +#workspaces button:hover { + background: rgba(0, 0, 0, 0.2); +} + +#workspaces button.focused { + background-color: #64727D; + box-shadow: inset 0 -3px #ffffff; +} + +#workspaces button.urgent { + background-color: #eb4d4b; +} + /* If workspaces is the leftmost module, omit left margin */ .modules-left > widget:first-child > #workspaces { margin-left: 0; |