Browse Source

Merge pull request #313 from jmsapt/main

fix: improvement to brightness script
pull/309/head^2
Ja.KooLit 2 years ago committed by GitHub
parent
commit
cfdd7e9f56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      config/hypr/scripts/Brightness.sh

4
config/hypr/scripts/Brightness.sh

@ -33,7 +33,7 @@ notify_user() {
# Change brightness
change_backlight() {
brightnessctl set "$1" && get_icon && notify_user
brightnessctl set "$1" -n && get_icon && notify_user
}
# Execute accordingly
@ -50,4 +50,4 @@ case "$1" in
*)
get_backlight
;;
esac
esac

Loading…
Cancel
Save