From f980fa7e01fbf68a53d11d266b2fb0a5e8dca0c1 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Tue, 4 Feb 2025 12:33:28 +0100 Subject: [PATCH] enable screenshots (not yet working) --- hyprland.conf | 1 + xdg_portal.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100755 xdg_portal.sh diff --git a/hyprland.conf b/hyprland.conf index 1efb721..3fb31e9 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -28,6 +28,7 @@ exec-once = blueman-applet exec-once = sleep 1 && schildichat-desktop exec-once = sleep 1 && evolution -c mail exec-once = sleep 2 && nextcloud +exec-once = ~/.config/hypr/xdg_portal.sh # General general { diff --git a/xdg_portal.sh b/xdg_portal.sh new file mode 100755 index 0000000..762c3f9 --- /dev/null +++ b/xdg_portal.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +sleep 1 +killall -e xdg-desktop-portal-hyprland +killall xdg-desktop-portal +/usr/lib/xdg-desktop-portal-hyprland & +sleep 2 +/usr/lib/xdg-desktop-portal &