Compare commits

..

2 Commits

Author SHA1 Message Date
874102875d Add ~/.config/xdg-desktop-portal 2025-09-05 20:52:36 +03:00
ad1b9544fd Add ~/.config/xdg-desktop-portal-wlr 2025-09-05 20:48:45 +03:00
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# 2021-05-24: See https://github.com/emersion/xdg-desktop-portal-wlr/issues/124
[screencast]
chooser_cmd = fuzzel --dmenu --lines=3 --no-icons --prompt='Select the monitor to share:'
chooser_type = dmenu

View File

@@ -0,0 +1,14 @@
# 2025-04-02: copied from /usr/share/xdg-desktop-portal/sway-portals.conf
[preferred]
default=gtk
org.freedesktop.impl.portal.ScreenCast=wlr
org.freedesktop.impl.portal.Screenshot=wlr
# xdg-desktop-portal-gtk's implementation uses org.gnome.SessionManager and
# org.freedesktop.ScreenSaver, neither of which is implemented by Sway. This
# will cause some programs (e.g. Firefox) to use Wayland's idle-inhibit
# protocol instead, which sway does implement.
org.freedesktop.impl.portal.Inhibit=none
# 2025-04-02: needed for GTK applications?
# See: https://gitlab.com/WhyNotHugo/darkman/-/issues/65
org.freedesktop.impl.portal.Settings=darkman