diff --git a/.config/waybar/config b/.config/waybar/config index 1617eb3..bca5c40 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -3,7 +3,7 @@ "position": "top", "height": 35, "modules-left": ["sway/workspaces"], - "modules-center": ["clock", "backlight"], + "modules-center": ["clock", "custom/wlsunset"], "modules-right": ["idle_inhibitor", "pulseaudio", "network", "battery", "tray"], "sway/workspaces": { "disable-scroll": true, @@ -22,8 +22,7 @@ "clock": { "format": "{: %H:%M %A %B %d}", - "tooltip": false, - "on-click": "galendae -c $HOME/.config/galendae-cal/galendae.conf" + "tooltip": false }, "battery": { @@ -39,7 +38,11 @@ "format-full": " Full", "format-charging": " {capacity}% " }, - + "custom/wlsunset": { + "format": "", + "format-icons": ["", ""], + "on-click": "wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500" + }, "network": { "interval": 5, "format-wifi": " {essid}", @@ -62,12 +65,6 @@ // "default": ["", "", " "] // }, }, - "backlight": { - "device": "intel_backlight", - "format": "", - "format-icons": ["", ""], - "on-click": "wlsunset -l 47.6 -L -122.3 -t 3000 -T 6500" - }, "idle_inhibitor": { "format": "{icon}", "format-icons": { diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 2a75c8d..632bd92 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -101,7 +101,7 @@ window#waybar { background: inherit; } -#backlight { +#custom-wlsunset { margin:7px 4px 0 4px; color: #bebebe; border: none; @@ -109,7 +109,7 @@ window#waybar { padding: 0px 0px 5px 0px; } -#backlight:hover { +#custom-wlsunset:hover { box-shadow: inherit; text-shadow: inherit; background: inherit;