diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-07-15 23:45:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-15 23:45:52 +0900 |
| commit | 7a3bd4f9fe48aad02ef8b13d3677b3bd8358252c (patch) | |
| tree | 7c5a11060b70249b4517bb48e54491bd13616432 /config/hypr/scripts/Brightness.sh | |
| parent | 22193a572b2672f982fde74e8544c8881caccb6d (diff) | |
Update Brightness.sh
fixes upper case as it does not work
Diffstat (limited to 'config/hypr/scripts/Brightness.sh')
| -rwxr-xr-x | config/hypr/scripts/Brightness.sh | 6 |
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 |
