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