Moved arch to its own subdirectory
This commit is contained in:
parent
7cefa8efec
commit
f47802351e
70 changed files with 0 additions and 0 deletions
19
arch/stow/_scripts/.scripts/idle.sh
Executable file
19
arch/stow/_scripts/.scripts/idle.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
# Configuration of swayidle
|
||||
# Just run the script
|
||||
|
||||
# Kill previous instances to avoid clashing
|
||||
pkill swayidle
|
||||
|
||||
swayidle -w \
|
||||
timeout 600 \
|
||||
'swaymsg "output * dpms off"' \
|
||||
resume 'swaymsg "output * dpms on"' \
|
||||
timeout 1200 \
|
||||
'systemctl suspend' \
|
||||
before-sleep 'swaymsg "output * dpms on"; swaylock'
|
||||
# Screen needs to be turned back on or you will get a black screen after waking up again.
|
||||
|
||||
# timeout 300 \
|
||||
# "~/.scripts/wander.sh" \
|
||||
# resume 'brightnessctl -r' \
|
Loading…
Add table
Add a link
Reference in a new issue