aboutsummaryrefslogtreecommitdiff
path: root/laptop/.config/hypr/scripts/zoom.sh
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-06-10 02:24:31 +0200
committerMosder <xmosder12@gmail.com>2026-06-10 02:24:31 +0200
commit1f2824b912b22a687fb0f1c56f82198128bef1ca (patch)
treea22c4425c43fcd111c441531b21e275b1fd97f3f /laptop/.config/hypr/scripts/zoom.sh
parenta7fab53f802c8bacfce66fb3455145835e231460 (diff)
added and updated a lot of configs + refactored it to be more accessible
Diffstat (limited to 'laptop/.config/hypr/scripts/zoom.sh')
-rwxr-xr-xlaptop/.config/hypr/scripts/zoom.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/laptop/.config/hypr/scripts/zoom.sh b/laptop/.config/hypr/scripts/zoom.sh
deleted file mode 100755
index 433f899..0000000
--- a/laptop/.config/hypr/scripts/zoom.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-ZOOM=$(hyprctl getoption cursor:zoom_factor | grep float | awk -F" " '{print $2}')
-ZOOM=$(echo "scale=0; ($ZOOM+1)/1" | bc)
-if [[ $ZOOM -gt $MAX_ZOOM ]]; then
- ZOOM=1
-fi
-
-hyprctl -q keyword cursor:zoom_factor $ZOOM