diff --git a/private_dot_config/waybar/config b/private_dot_config/waybar/config index dac9e04..1ccf528 100644 --- a/private_dot_config/waybar/config +++ b/private_dot_config/waybar/config @@ -5,7 +5,7 @@ "modules-left": ["sway/workspaces", "sway/mode", "sway/window"], "modules-center": [], - "modules-right": ["custom/cmus", "idle_inhibitor", "network", "pulseaudio", "battery", "clock"], + "modules-right": ["custom/cmus", "idle_inhibitor", "network", "pulseaudio", "battery", "clock", "custom/themer"], "sway/workspaces": { @@ -72,5 +72,11 @@ "on-click": "cmus-remote --pause", "on-click-right": "cmus-remote --next", "escape": true + }, + "custom/themer": { + "format": "  ", + "interval": 1, + "on-click": "exec ~/.config/sway/colors.sh", + "on-click-right": "exec ~/.config/sway/colors.sh" } } diff --git a/private_dot_config/waybar/style.css b/private_dot_config/waybar/style.css index c045521..9492c53 100644 --- a/private_dot_config/waybar/style.css +++ b/private_dot_config/waybar/style.css @@ -29,18 +29,18 @@ window#waybar.hidden { opacity: 0.2; } -* button { +button { background-color: transparent; color: @color7; box-shadow: inset 0 -3px transparent; } -* button:hover { +button:hover { background: @color11; box-shadow: inset 0 -3px @color7; } -* button.focused { +button.focused { background-color: @color1; box-shadow: inset 0 -3px @color7; } @@ -74,4 +74,4 @@ window#waybar.hidden { animation-timing-function: linear; animation-iteration-count: infinite; animation-direction: alternate; -} \ No newline at end of file +}