summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Koroman <jake@jakekoroman.com>2026-06-19 21:34:50 -0400
committerJake Koroman <jake@jakekoroman.com>2026-06-19 21:34:50 -0400
commit6c55bb8fdc859390561e3a3c421f598d694cef87 (patch)
tree195adedaeab73ac788cc78d89e4b003b149f5a60
parent1aacf9c7990595ccd392ea89aaa1778444c0a3e7 (diff)
add sway-portals.conf to setup all the proper wayland portal things.
xdg-desktop-portals are super annoying.
-rw-r--r--MANIFEST1
-rw-r--r--sway/config2
-rw-r--r--xdg-desktop-portal/sway-portals.conf3
3 files changed, 6 insertions, 0 deletions
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