From a02e578edfbb683b68bd8d34b818d57009676c80 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Sun, 21 Apr 2024 18:29:07 +0100 Subject: [PATCH] waybar: tweaks to button behavior --- waybar/config | 4 ++-- waybar/style.css | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/waybar/config b/waybar/config index a30bc89..8f23165 100644 --- a/waybar/config +++ b/waybar/config @@ -149,7 +149,7 @@ "image#bluetooth": { "path": "/home/thomas/dotfiles/gruvbox-95/icons/bluetooth.png", - "size": 20, + "size": 18, "interval": 5, }, @@ -278,7 +278,7 @@ "format": "Active", "format-connected": "Connected", "format-alt": "{device_alias}", - "format-connected-battery": "{device_battery_percentage}%", + "format-connected-battery": "{device_alias}", "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", diff --git a/waybar/style.css b/waybar/style.css index f4cec8a..6579958 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -44,6 +44,22 @@ window#waybar { margin-right: 3px; } +#taskbar button.active { + background-color: #a89984; + border-top: 2px solid #665c54; + border-left: 2px solid #665c54; + border-bottom: 2px solid #ebdbb2; + border-right: 2px solid #ebdbb2; +} + +#taskbar button:hover { + background-color: #d5c4a1; + border-top: 2px solid #ebdbb2; + border-left: 2px solid #ebdbb2; + border-bottom: 2px solid #665c54; + border-right: 2px solid #665c54; +} + #image.timewarrior, #image.notification, #image.os,