Skip to content

Commit

Permalink
add swayidle script
Browse files Browse the repository at this point in the history
  • Loading branch information
wizzdom committed Jan 22, 2024
1 parent 6ca50a7 commit 16e7ca6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions swayidle.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

swayidle -w timeout 300 '$HOME/scripts/swaylock' \
timeout 600 'systemctl suspend' \
before-sleep '$HOME/scripts/swaylock' &

0 comments on commit 16e7ca6

Please sign in to comment.