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:
toniiz
2024-06-16 19:28:06 -07:00
parent b0108bca46
commit 846bd16012
3 changed files with 19 additions and 0 deletions

View 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 %%