Update hyprlock.sh

This commit is contained in:
Mohammed Goder 2024-03-14 19:48:40 -05:00
parent a78010085a
commit a7ba8d5e79

View File

@ -2,7 +2,7 @@
# Use "hyprctl -j monitors" to determine the parameters for the lock and unlock positions. # Use "hyprctl -j monitors" to determine the parameters for the lock and unlock positions.
unlockedMonitorYPositions=(0 0 0) unlockedMonitorYPositions=(0 0 0)
lockedMonitorYPositions=(1080 1080 1080) lockedMonitorYPositions=(1152 1152 1152)
monitors=$(hyprctl -j monitors) monitors=$(hyprctl -j monitors)
tailMonitorIndex=$(($(echo "$monitors" | jq length)-1)) tailMonitorIndex=$(($(echo "$monitors" | jq length)-1))