From 20529825250a82e89c12f7da34394adfc6540103 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Wed, 1 Jul 2026 12:39:09 +0200 Subject: [PATCH] fix: update unfuck script --- modules/home/scripts/scripts/unfuck.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/home/scripts/scripts/unfuck.sh b/modules/home/scripts/scripts/unfuck.sh index f804f14..44801e7 100644 --- a/modules/home/scripts/scripts/unfuck.sh +++ b/modules/home/scripts/scripts/unfuck.sh @@ -8,6 +8,7 @@ unfuckable=( "spotify" "audio" "screenlock" + "hyprland_portal" ) usage() { @@ -84,6 +85,15 @@ unfuck_screenlock() { hyprctl --instance 0 'dispatch exec hyprlock' } +unfuck_hyprland_portal() { + sleep 4 + killall -e xdg-desktop-portal-hyprland + killall xdg-desktop-portal + /usr/lib/xdg-desktop-portal-hyprland & + sleep 4 + /usr/lib/xdg-desktop-portal & +} + case $1 in "") echo "what is fucked?"