aboutsummaryrefslogtreecommitdiff
path: root/river/init
diff options
context:
space:
mode:
Diffstat (limited to 'river/init')
-rwxr-xr-xriver/init3
1 files changed, 3 insertions, 0 deletions
diff --git a/river/init b/river/init
index a883d8d..91add4f 100755
--- a/river/init
+++ b/river/init
@@ -222,6 +222,9 @@ systemctl --user restart xdg-desktop-portal
# I hate calling this directly but the systemd unit is bugged on arch at
# least, running it by hand appears to work just fine
_gtk_portal=/usr/lib/xdg-desktop-portal-gtk
+if [ -x /usr/libexec/xdg-desktop-portal-gtk ] ; then
+ _gtk_portal=/usr/libexec/xdg-desktop-portal-gtk
+fi
if [ -x "$_gtk_portal" ] ; then
"$_gtk_portal" &
fi