diff options
Diffstat (limited to 'waybar/config.jsonc')
| -rw-r--r-- | waybar/config.jsonc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/waybar/config.jsonc b/waybar/config.jsonc index fd82389..1583fe5 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -10,6 +10,7 @@ ], "modules-right": [ "tray", + "custom/brightness", "network", "pulseaudio", "bluetooth", @@ -66,8 +67,6 @@ "alsa_output.pci-0000_00_1f.3.analog-stereo": "", "alsa_output.pci-0000_00_1f.3.analog-stereo-muted": "", "headphone": "", - "hands-free": "", - "headset": "", "phone": "", "phone-muted": "", "portable": "", @@ -100,5 +99,16 @@ "exec": "~/.config/waybar/niri-workspaces", "return-type": "json", "format": "{}" + }, + "custom/brightness": { + "format": "☀ {}%", + "tooltip-format": "EXT: ☀ {}%", + "interval": "once", + "signal": 9, + "exec": "~/.config/waybar/brightness get", + "on-scroll-up": "~/.config/waybar/brightness up", + "on-scroll-down": "~/.config/waybar/brightness down", + "on-click": "~/.config/waybar/brightness left_click", + "on-click-right": "~/.config/waybar/brightness right_click" } } |
