2021-11-06 11:29:18 +01:00
|
|
|
# ================ #
|
|
|
|
# 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
|
|
|
|
|
2022-01-17 13:01:56 +01:00
|
|
|
# Make sure the systemd user session gets all envs
|
2022-09-06 08:58:12 +02:00
|
|
|
exec_always "dbus-update-activation-environment --all --systemd"
|
2022-01-17 13:01:56 +01:00
|
|
|
|
2024-03-15 17:45:12 +01:00
|
|
|
# Make sure primary display is correctly set for XWayland applications
|
2024-04-02 16:19:47 +02:00
|
|
|
# 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"
|
2024-03-15 17:45:12 +01:00
|
|
|
|
2024-04-05 12:42:27 +02:00
|
|
|
# set XDG desktop vars
|
|
|
|
exec "export XDG_CURRENT_DESKTOP=sway"
|
|
|
|
exec "export XDG_SESSION_DESKTOP=sway"
|
|
|
|
|
2022-01-02 16:42:12 +01:00
|
|
|
# Autostart applets
|
|
|
|
exec nm-applet --indicator
|
|
|
|
|
2021-12-25 22:04:03 +01:00
|
|
|
# Autostart my daily use software
|
2023-12-24 11:28:14 +01:00
|
|
|
#exec thunderbird
|
2024-04-02 16:19:47 +02:00
|
|
|
#exec flatpak run org.gnome.Calendar
|
|
|
|
#exec flatpak run eu.betterbird.Betterbird
|
2023-08-20 14:18:15 +02:00
|
|
|
|
|
|
|
# Autostart stuff on specific workspaces
|
|
|
|
exec swaymsg "workspace $ws2; exec firefox -P Multimedia --new-window"
|
|
|
|
exec swaymsg "workspace $ws4; exec firefox --new-window"
|