# ================ # # Autorun settings # # ================ # # I'm using 'polkit-gnome' as a polkit client as it has no dependencies exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Make sure the systemd user session gets all envs exec_always "dbus-update-activation-environment --all --systemd" # Make sure primary display is correctly set for XWayland applications # WARNING: This actually doesn't set the primary display for xwayland. # Running it manually works, so i suspect this is executed too early. exec_always "xrandr --output DP-2 --primary" # set XDG desktop vars exec "export XDG_CURRENT_DESKTOP=sway" exec "export XDG_SESSION_DESKTOP=sway" # Autostart applets exec nm-applet --indicator # Autostart my daily use software #exec thunderbird #exec flatpak run org.gnome.Calendar #exec flatpak run eu.betterbird.Betterbird # Autostart stuff on specific workspaces exec swaymsg "workspace $ws2; exec firefox -P Multimedia --new-window" exec swaymsg "workspace $ws4; exec firefox --new-window"