dotfiles/.config/sway/config.d/30-startup.conf
2022-08-17 09:58:31 +02:00

23 lines
857 B
Plaintext

# fix slow startup time
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
# Turn off screen after $screen_timeout
# Lock after $screen_timeout + 10s
# Lock if screen off
exec swayidle -w \
timeout $(($screen_timeout + 10)) "$lock" \
timeout $screen_timeout 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep "$lock"
bar swaybar_command waybar
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
#exec swayidle -w \
# timeout $(($screen_timeout + 10)) $lock \
# timeout $screen_timeout 'swaymsg "output * dpms off"' \
# resume 'swaymsg "output * dpms on"' \
# before-sleep $lock
exec gammastep
exec nm-applet --indicator