From 2b5ca4404c3df37267d51d1d004a36eae9f9a0f4 Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 30 Jun 2023 23:55:03 -0500 Subject: Fix timing for better reliability --- spterm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spterm') diff --git a/spterm b/spterm index 4c17f30..daa9204 100755 --- a/spterm +++ b/spterm @@ -5,7 +5,7 @@ COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)" if [ "${COUNT:-0}" -lt "3" ]; then hyprctl dispatch exec "[workspace special:spterm;float;noanim] foot -a \"$(basename $0)\" -w '960x540'" hyprctl dispatch togglespecialworkspace spterm - sleep 0.03 + sleep 0.1 fi hyprctl dispatch togglespecialworkspace spterm -- cgit v1.2.3