22 lines
558 B
Plaintext
22 lines
558 B
Plaintext
# vi: ft=swayconfig
|
|
|
|
# Start background services
|
|
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 '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
|