🐛 fix(waybar): use swayosd on the backlight module instead of brightnessctl

This commit is contained in:
Sergio Laín 2024-08-29 19:26:28 +02:00
parent 75882e99fa
commit 9888625eca
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

View file

@ -1,8 +1,8 @@
{ {
"backlight": { "backlight": {
"format": "{percent}% {icon}", "format": "{percent}% {icon}",
"format-icons": ["", ""], "format-icons": [" ", " "],
"on-scroll-up": "brightnessctl -c backlight set +1%", "on-scroll-up": "swayosd-client --brightness +10",
"on-scroll-down": "brightnessctl -c backlight set 1%-", "on-scroll-down": "swayosd-client --brightness -10",
}, },
} }