summaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2023-02-14 08:55:20 +0100
committerMehdi Sadeghi <mehdi@mehdix.org>2023-02-24 11:20:08 +0100
commit92b878d5585dd00d18afafac191b12453718321f (patch)
tree0d1965ae979744546e977bcf2f104939db21df45 /.config/sway
parentd9875a5f7820a4040d7658d348e5e8a4d1b10d31 (diff)
Update i3status formatting and xinitrc
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/xdpw3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/sway/xdpw b/.config/sway/xdpw
index fe3fb96..05ce594 100644
--- a/.config/sway/xdpw
+++ b/.config/sway/xdpw
@@ -1,6 +1,7 @@
#!/bin/sh
# Import the WAYLAND_DISPLAY env var from sway into the systemd user session.
-dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
+dbus-update-activation-environment --systemd \
+ XDG_SESSION_TYPE=wayland DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
# Stop any services that are running, so that they receive the new env var when they restart.
systemctl --user stop pipewire wireplumber xdg-desktop-portal xdg-desktop-portal-wlr