migrate dotfiles to this repository

This commit is contained in:
2025-06-16 21:16:49 +02:00
parent b5cb78b445
commit 06ec517e20
42 changed files with 1539 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
# This will lock the screen after 300 seconds of inactivity.
timeout 300 "swaylock -f"
# Turn off all displays after another 300 seconds.
# and turn them back on when resumed.
timeout 600 "swaymsg 'output * dpms off'" resume "swaymsg 'output * dpms on'"
# Lock the screen before the computer goes to sleep.
before-sleep "playerctl pause"
before-sleep "swaylock -f"