mirror of https://github.com/bvn13/dotfiles.git
6 lines
353 B
Bash
6 lines
353 B
Bash
#!/bin/bash
|
|
|
|
#swayidle -w timeout 300 'sh /usr/local/bin/lock' timeout 360 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'sh /usr/local/bin/lock'
|
|
|
|
swayidle -w timeout 300 'sh ~/.scripts/sway/lock.sh' timeout 360 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'sh ~/.scripts/sway/lock.sh'
|