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
| #!/usr/bin/env bash | |
| # Author: rukh-debug | |
| # Date: 2025 Feb 16 | |
| # https://github.com/orhun/rustypaste <3 | |
| # This script is a very minimal UI for rustyPaste server - built for poweruser. | |
| # demo: https://i.postimg.cc/MHXFPdCq/image.png |
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)}')" | |
OlderNewer