# Notifications
exec mako

exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK

exec dbus-update-activation-environment 2>/dev/null && \
        dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway

# Autostart
#exec dex -a -s /etc/xdg/autostart/:~/.config/autostart/

exec_always /usr/libexec/xdg-desktop-portal
exec_always systemctl --user start xdg-desktop-portal-wlr.service

exec --no-startup-id ~/.config/sway/scripts/start_keyring

exec_always pipewire

# Wob
exec mkfifo $SWAYSOCK.wob
exec tail -f $SWAYSOCK.wob | wob

# Network Manager Applet
exec nm-applet --indicator

exec_always swayrd

exec_always ~/.config/sway/scripts/statusbar

# Keyboard backlight on
exec_always light -As "sysfs/leds/tpacpi::kbd_backlight" 100

# Swaylock
exec swayidle timeout 300 'swaylock' before-sleep 'swaylock' after-resume 'light -As "sysfs/leds/tpacpi::kbd_backlight" 100'