From 86c3a2253e8761846e79bbf4164766a73bdfd732 Mon Sep 17 00:00:00 2001 From: Mehdi Sadeghi Date: Sat, 12 Mar 2022 13:47:10 +0100 Subject: Adjust KB layout. Add xdg desktop portal config. - Swap right meta and control. - Add xdg-portal-desktop-wlroot - Set term to foot (foot-extra was a mistake) - Remove Plan9 from generic path --- .config/sway/xdpw | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 .config/sway/xdpw (limited to '.config/sway/xdpw') diff --git a/.config/sway/xdpw b/.config/sway/xdpw new file mode 100755 index 0000000..81fc8ca --- /dev/null +++ b/.config/sway/xdpw @@ -0,0 +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 + +# 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 start pipewire-media-session -- cgit v1.2.3