Files
Z-Dot/.config/hypr/scripts/zoomOut.sh
T

6 lines
183 B
Bash
Executable File

#!/usr/bin/env zsh
zoom=$(hyprctl getoption cursor:zoom_factor -j | jq '(.float * 0.7) | if . < 1 then 1 else . end')
hyprctl eval "hl.config({ cursor = { zoom_factor = $zoom } })"