fix: update unfuck script

This commit is contained in:
Ahwx 2026-07-01 12:39:09 +02:00
parent 287f3d2a7c
commit 2052982525
No known key found for this signature in database
GPG key ID: 16AFF89E482AFA53

View file

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