sway: fix slow startup of GTK+ apps
This commit is contained in:
parent
e967e31b97
commit
77640845bb
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Import the WAYLAND_DISPLAY env var from sway into the systemd user session.
|
# 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 DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway
|
||||||
|
|
||||||
# Stop any services that are running, so that they receive the new env var when they restart.
|
# Stop any services that are running, so that they receive the new env var when they restart.
|
||||||
systemctl --user stop pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
|
systemctl --user stop pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
|
||||||
|
|
Loading…
Reference in a new issue