Update brightness control on waybar.

This commit is contained in:
OdiousImp2604
2021-06-18 16:03:22 +00:00
committed by GitHub
parent 33705510f1
commit f6b8d7b371

View File

@@ -16,7 +16,7 @@
], ],
"modules-right": [ "modules-right": [
"network", "network",
"idle_inhibitor", "idle_inhibitor",
"memory", "memory",
"cpu", "cpu",
@@ -24,12 +24,12 @@
"pulseaudio", "pulseaudio",
"custom/keyboard-layout", "custom/keyboard-layout",
"battery", "battery",
//"custom/PBPbattery", //"custom/PBPbattery",
"backlight#icon", "backlight#icon",
"backlight#value", "backlight#value",
"clock", "clock",
"tray", "tray",
"custom/weather", "custom/weather",
"custom/power", "custom/power",
], ],
@@ -186,7 +186,7 @@
"backlight#value" :{ "backlight#value" :{
"format": "{percent}%", "format": "{percent}%",
"on-scroll-down": "brightnessctl -c backlight set 5%", "on-scroll-down": "brightnessctl -c backlight set 5%",
"on-scroll-up": "brightnessctl -c backlight set +5%" "on-scroll-up": "brightnessctl -c backlight set +5%"
}, },