Initial Commit

This commit is contained in:
eneller
2024-03-21 12:35:55 +01:00
commit 62f344a83d
30 changed files with 2146 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# Times the screen off and puts it to background
swayidle \
timeout 5 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' &
# Locks the screen immediately
swaylock -C ~/.config/sway/swaylock/config
# Kills last background task so idle timer doesn't keep running
kill %%