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?"