diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2024-11-12 17:31:19 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2024-11-12 17:31:19 +0100 |
commit | b40bff967c0c71f05b52cee0b84f9239a9f7173b (patch) | |
tree | 332fb2c7f255ef6eec1f893119ec4371ea9a3829 | |
parent | 01ab8d90f1cf9af753d438a95fe19cdc0717bc0a (diff) | |
download | dotfiles-master.tar.gz |
-rw-r--r-- | bash/99-wm.profile | 4 | ||||
-rw-r--r-- | doc/sway.md | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/bash/99-wm.profile b/bash/99-wm.profile index 72ecc02..bb5cd2a 100644 --- a/bash/99-wm.profile +++ b/bash/99-wm.profile @@ -1,5 +1,7 @@ # vi: ft=sh if [ "$WM_AUTO_START" = "yes" ] && [ -z $DISPLAY ] && [ "$(tty)" = "$WM_TTY" ]; then - exec "$WM_WM" + systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP + dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway + exec "$WM_WM" fi diff --git a/doc/sway.md b/doc/sway.md index b06b6fd..27f6382 100644 --- a/doc/sway.md +++ b/doc/sway.md @@ -6,6 +6,12 @@ Packages: For screencast: `xdg-desktop-portal-wlr` +and +```sh +systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway +``` + Notification: `swaync` (AUR0 ## Pipewire |