Created
August 2, 2025 18:33
-
-
Save rukh-debug/ea4af894a4241c3b1af96f8513b93e59 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Magnifier shortcut for hyprland | |
| # Ctrl + Mod + minust key (-) = zoom out | |
| # Ctrl + Mod + equals key (=) = zoom in | |
| "Ctrl + $Mod, code:21, exec, hyprctl keyword cursor:zoom_factor $(awk -v z=$(hyprctl getoption cursor:zoom_factor | grep 'float:' | awk '{print $2}') 'BEGIN {print z + 0.5}')" | |
| "Ctrl + $Mod, code:20, exec, hyprctl keyword cursor:zoom_factor $(awk -v z=$(hyprctl getoption cursor:zoom_factor | grep 'float:' | awk '{print $2}') 'BEGIN {print (z > 1 ? z - 0.5 : 1)}')" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment