diff --git a/desktopenvs/hyprland/scripts/screenrec.sh b/desktopenvs/hyprland/scripts/screenrec.sh index 80ae028..9f63495 100755 --- a/desktopenvs/hyprland/scripts/screenrec.sh +++ b/desktopenvs/hyprland/scripts/screenrec.sh @@ -21,9 +21,5 @@ if [ "$statecon" == '' ]; then else endrec fi -goto endplace -:endrecplace -endrec - -:endplace +pidof wf-recorder && endrec