aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/sway
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/sway')
-rw-r--r--dot_config/sway/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/dot_config/sway/config b/dot_config/sway/config
index c1d897f..808e82d 100644
--- a/dot_config/sway/config
+++ b/dot_config/sway/config
@@ -201,8 +201,8 @@ bindsym $mod+t exec ~/.config/sway/tb-toggle.sh
# Managed by waybar.service (pulled in via sway-session.target).
# ── Autostart ─────────────────────────────────────────────────────────────────
-exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
-exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
+exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP XDG_SESSION_TYPE XDG_SESSION_DESKTOP
+exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP XDG_SESSION_TYPE XDG_SESSION_DESKTOP
exec "sleep 2 && ~/.config/sway/display-toggle.sh init"
exec systemctl --user start sway-session.target
exec ~/.config/sway/tb-autostart.sh