23 lines
640 B
Plaintext
23 lines
640 B
Plaintext
# vi: ft=swayconfig
|
|
|
|
# Start background services
|
|
exec mako
|
|
exec pipewire
|
|
exec pipewire-pulse
|
|
exec wireplumber
|
|
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
|
|
# Make xdg-desktop-portal-wlr work properly
|
|
exec dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY
|
|
|
|
# Idle configuration
|
|
exec swayidle -w \
|
|
timeout 600 'swaylock' \
|
|
timeout 1200 'swaymsg "output * dpms off"' \
|
|
resume 'swaymsg "output * dpms on"' \
|
|
before-sleep 'playerctl pause' \
|
|
before-sleep 'swaylock'
|
|
|
|
# Fix tray icons not showing when app is started before Waybar is ready
|
|
exec sleep 2 && sway-launcher-desktop autostart
|