dotfiles

my shiny new dotfiles
git clone git://git.jakekoroman.com/dotfiles
Log | Files | Refs | README

swayidle.sh (265B)


      1 #!/bin/sh
      2 
      3 exec swayidle -w \
      4          timeout 600 'swaylock -f -c 000000' \
      5          timeout 900 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
      6          before-sleep 'swaylock -f -c 000000; gpg-connect-agent --no-autostart reloadagent /bye'