bugfix
This commit is contained in:
parent
8199e9dff8
commit
38b2899704
|
@ -1,4 +1,4 @@
|
|||
# vim: set ft=sh:
|
||||
#!/bin/sh
|
||||
# shellcheck disable=SC2142
|
||||
# sudo not required for some system commands
|
||||
for command in mount umount xbps-install xbps-remove updatedb su shutdown poweroff reboot; do
|
||||
|
|
|
@ -26,7 +26,7 @@ else
|
|||
fi
|
||||
|
||||
# shellcheck disable=2086
|
||||
round $newbrightness | tee /sys/class/backlight/*/brightness
|
||||
round $newbrightness | sudo tee /sys/class/backlight/*/brightness
|
||||
|
||||
notify-send -a "changeBrightness" -i "$icon" -u low "Brightness: ${newpercent}%" \
|
||||
-h "string:x-dunst-stack-tag:$msgTag" \
|
||||
|
|
Loading…
Reference in New Issue