Update hyprlock.sh
This commit is contained in:
parent
a78010085a
commit
a7ba8d5e79
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user