diff options
| author | ryukamish <[email protected]> | 2026-04-10 19:29:04 +0530 |
|---|---|---|
| committer | ryukamish <[email protected]> | 2026-04-10 19:29:04 +0530 |
| commit | 980f480919ee5d1345577700c4e0746aae6cb5d8 (patch) | |
| tree | 9c5ca3dab0cd257bd3b5dce697f7b11f3b9caff2 /waybar/config.jsonc | |
| parent | 19ab9b28d743fcef5c14f895463df895cea2a80b (diff) | |
add: external monitor brightness module
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" } } |
