23 lines
605 B
Plaintext
23 lines
605 B
Plaintext
# vi: ft=swayconfig
|
|
|
|
# Start background services
|
|
exec doas ivpn-service
|
|
exec mako
|
|
exec pipewire
|
|
exec pipewire-pulse
|
|
exec wireplumber
|
|
|
|
# Make xdg-desktop-portal-wlr work properly
|
|
exec dbus-update-activation-environment WAYLAND_DISPLAY
|
|
|
|
# Idle configuration
|
|
exec swayidle -w \
|
|
timeout 600 'swaylock' \
|
|
timeout 1200 'swaymsg "output * dpms off"' \
|
|
resume 'swaymsg "output * dpms on"' \
|
|
before-sleep 'swaylock'
|
|
|
|
# Custom script for VPN connection before XDG autostart applications
|
|
# Also fixes tray icons not showing when app is started before Waybar is ready
|
|
exec ~/.config/sway/autostart.sh
|