# sway # autostart apps # system & user autostart exec --no-startup-id "dex -e sway -a -s /etc/xdg/autostart/:~/.config/autostart/" # authentification exec --no-startup-id "/usr/libexec/polkit-mate-authentication-agent-1" # exec on sway start exec --no-startup-id "xrdb -load ~/.Xresources" exec --no-startup-id "foot --server" exec --no-startup-id "sleep 20s; $HOME/.config/sway/scripts/screentemp toggle; pkill -RTMIN+5 waybar" # apps on start exec "sleep 5 && $browser" #exec "sleep 10 && $mailer" #exec "sleep 15 && $p2p" # launch idle configuration : man swayidle ~ man swaylock #exec swayidle -w \ # timeout 300 'nakedquit lock' \ # timeout 360 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ # timeout 420 'acpi -b | grep Discharging && systemctl suspend' \ # before-sleep 'nakedquit lock'