modify brightness settings
This commit is contained in:
parent
4a8d27d666
commit
3f37c38a08
3 changed files with 8 additions and 4 deletions
|
@ -140,8 +140,10 @@
|
||||||
"backlight": {
|
"backlight": {
|
||||||
// "device": "acpi_video1",
|
// "device": "acpi_video1",
|
||||||
"format": "{percent}% {icon}",
|
"format": "{percent}% {icon}",
|
||||||
"on-scroll-up": "~/.config/waybar/brightness-up.sh",
|
"on-scroll-up": "~/.config/waybar/brightness-up.sh 1",
|
||||||
"on-scroll-down": "~/.config/waybar/brightness-down.sh",
|
"on-scroll-down": "~/.config/waybar/brightness-down.sh 1",
|
||||||
|
"on-click": "~/.config/waybar/brightness-up.sh 5",
|
||||||
|
"on-click-right": "~/.config/waybar/brightness-down.sh 5",
|
||||||
"format-icons": [
|
"format-icons": [
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
brightnessctl set 1%- | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > /tmp/wob
|
WERT=$1
|
||||||
|
brightnessctl set ${WERT}%- | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > /tmp/wob
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
brightnessctl set +1% | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > /tmp/wob
|
WERT=$1
|
||||||
|
brightnessctl set +${WERT}% | sed -En 's/.*\(([0-9]+)%\).*/\1/p' > /tmp/wob
|
||||||
|
|
Loading…
Reference in a new issue