Update brightness control on waybar.
This commit is contained in:
@@ -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%"
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user