From f74271b7b06f6243cb8af9a0aecb5308f491ba96 Mon Sep 17 00:00:00 2001 From: Atmois <130537361+Atmois@users.noreply.github.com> Date: Sat, 2 Nov 2024 22:18:36 +0000 Subject: [PATCH] Add conf file to fix portals for SwayFX (#2457) * Add conf file to fix portals for SwayFX * Bump release version --- anda/desktops/swayfx/sway-portals.conf | 9 +++++++++ anda/desktops/swayfx/swayfx.spec | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 anda/desktops/swayfx/sway-portals.conf diff --git a/anda/desktops/swayfx/sway-portals.conf b/anda/desktops/swayfx/sway-portals.conf new file mode 100644 index 0000000000..fd97083c06 --- /dev/null +++ b/anda/desktops/swayfx/sway-portals.conf @@ -0,0 +1,9 @@ +[preferred] +# Use xdg-desktop-portal-gtk for every portal interface... +default=gtk +# ... except for the ScreenCast, Screenshot and Secret +org.freedesktop.impl.portal.ScreenCast=wlr +org.freedesktop.impl.portal.Screenshot=wlr +org.freedesktop.impl.portal.Secret=gnome-keyring +# https://github.com/flatpak/xdg-desktop-portal-gtk/issues/465 +org.freedesktop.impl.portal.Inhibit=none \ No newline at end of file diff --git a/anda/desktops/swayfx/swayfx.spec b/anda/desktops/swayfx/swayfx.spec index 72740b9fec..933234d262 100644 --- a/anda/desktops/swayfx/swayfx.spec +++ b/anda/desktops/swayfx/swayfx.spec @@ -2,14 +2,14 @@ Name: swayfx Version: 0.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: SwayFX: Sway, but with eye candy! URL: https://github.com/WillPower3309/swayfx License: MIT Source0: %{url}/archive/refs/tags/%{version}.tar.gz -Source101: https://github.com/wlrfx/packages/raw/fe1355c4844078f49761e9d73a376179d3007646/COPR/swayfx/sway-portals.conf +Source101: sway-portals.conf BuildRequires: gcc-c++