aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/hypr/scripts/Brightness.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/hypr/scripts/Brightness.sh b/config/hypr/scripts/Brightness.sh
index 3e283c11..91ad5f05 100755
--- a/config/hypr/scripts/Brightness.sh
+++ b/config/hypr/scripts/Brightness.sh
@@ -18,7 +18,7 @@ get_icon_path() {
if (( level > 100 )); then
level=100
fi
- echo "$ICON_DIR/brightness-${level}.png"
+ echo "$iDIR/brightness-${level}.png"
}
# Send notification
@@ -58,10 +58,10 @@ case "$1" in
get_brightness
;;
"--inc")
- change_brightness "$STEP"
+ change_brightness "$step"
;;
"--dec")
- change_brightness "-$STEP"
+ change_brightness "-$step"
;;
*)
get_brightness
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage