migrate dotfiles to this repository
This commit is contained in:
parent
b5cb78b445
commit
06ec517e20
42 changed files with 1539 additions and 1 deletions
10
home/.config/swayidle/config
Normal file
10
home/.config/swayidle/config
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue