From 6c55bb8fdc859390561e3a3c421f598d694cef87 Mon Sep 17 00:00:00 2001 From: Jake Koroman Date: Fri, 19 Jun 2026 21:34:50 -0400 Subject: add sway-portals.conf to setup all the proper wayland portal things. xdg-desktop-portals are super annoying. --- MANIFEST | 1 + sway/config | 2 ++ xdg-desktop-portal/sway-portals.conf | 3 +++ 3 files changed, 6 insertions(+) create mode 100644 xdg-desktop-portal/sway-portals.conf diff --git a/MANIFEST b/MANIFEST index 3032087..30bfd78 100644 --- a/MANIFEST +++ b/MANIFEST @@ -22,3 +22,4 @@ foot|.config sway|.config fuzzel|.config .mailcap| +xdg-desktop-portal|.config diff --git a/sway/config b/sway/config index 3f15f0d..fcb495d 100644 --- a/sway/config +++ b/sway/config @@ -13,6 +13,8 @@ exec pipewire exec mpd exec_always import-gsettings +exec dbus-update-activation-environment WAYLAND_DISPLAY + font pango:Iosevka 10 floating_modifier $mod diff --git a/xdg-desktop-portal/sway-portals.conf b/xdg-desktop-portal/sway-portals.conf new file mode 100644 index 0000000..0934b0c --- /dev/null +++ b/xdg-desktop-portal/sway-portals.conf @@ -0,0 +1,3 @@ +[preferred] +default=gtk +org.freedesktop.impl.portal.ScreenCast=wlr -- cgit v1.2.3