add swayidle for iMac16,2 and added swaylock shortcut to sway/config as well as a lockman.sh script I found online
This commit is contained in:
9
configs/sway_g/iMac16,2/lockman.sh
Executable file
9
configs/sway_g/iMac16,2/lockman.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# Times the screen off and puts it to background
|
||||
#swayidle \
|
||||
# timeout 10 'swaymsg "output * dpms off"' \
|
||||
# resume 'swaymsg "output * dpms on"' &
|
||||
# Locks the screen immediately
|
||||
swaylock -c 550000
|
||||
# Kills last background task so idle timer doesn't keep running
|
||||
#kill %%
|
||||
Reference in New Issue
Block a user