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

18 lines
612 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/policykit-1-gnome/polkit-gnome-authentication-agent-1
exec gammastep
exec nm-applet --indicator