summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-06-30 23:55:03 -0500
committerzachir <zachir@librem.one>2023-06-30 23:55:03 -0500
commit2b5ca4404c3df37267d51d1d004a36eae9f9a0f4 (patch)
tree578dd04464d9c4b3ab7740ce5e2cc8a8d7db1f6e
parent6ba97a85a6e1a117eb64d9f6020a970aef151d2c (diff)
Fix timing for better reliability
-rwxr-xr-xspblue2
-rwxr-xr-xsphtop2
-rwxr-xr-xspirss2
-rwxr-xr-xspmutt2
-rwxr-xr-xspncmp2
-rwxr-xr-xsppmxr2
-rwxr-xr-xspprof2
-rwxr-xr-xspqpwg2
-rwxr-xr-xspterm2
-rwxr-xr-xsptodo2
-rwxr-xr-xsptrmc2
11 files changed, 11 insertions, 11 deletions
diff --git a/spblue b/spblue
index f3fea15..45685ed 100755
--- a/spblue
+++ b/spblue
@@ -6,7 +6,7 @@ echo "$COUNT"
if [ "${COUNT:-0}" -lt "3" ]; then
hyprctl dispatch exec "[workspace special:spblue;float;noanim] foot -a \"$(basename $0)\" -w '960x540' bluetoothctl"
hyprctl dispatch togglespecialworkspace spblue
- sleep 0.03
+ sleep 0.1
fi
hyprctl dispatch togglespecialworkspace spblue
diff --git a/sphtop b/sphtop
index 3d77a3f..ff543d2 100755
--- a/sphtop
+++ b/sphtop
@@ -5,7 +5,7 @@ COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"
if [ "${COUNT:-0}" -lt "3" ]; then
hyprctl dispatch exec "[workspace special:sphtop;float;noanim] foot -a \"$(basename $0)\" -w '960x540' htop"
hyprctl dispatch togglespecialworkspace sphtop
- sleep 0.03
+ sleep 0.1
fi
hyprctl dispatch togglespecialworkspace sphtop
diff --git a/spirss b/spirss
index 8f1c31f..693b00b 100755
--- a/spirss
+++ b/spirss
@@ -5,7 +5,7 @@ COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"
if [ "${COUNT:-0}" -lt "3" ]; then
hyprctl dispatch exec "[workspace special:spirss;float;noanim] foot -a \"$(basename $0)\" -w '960x540' irssi"
hyprctl dispatch togglespecialworkspace spirss
- sleep 0.03
+ sleep 0.1
fi
hyprctl dispatch togglespecialworkspace spirss
diff --git a/spmutt b/spmutt
index fbae957..a9ca2df 100755
--- a/spmutt
+++ b/spmutt
@@ -5,7 +5,7 @@ COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"
if [ "${COUNT:-0}" -lt "3" ]; then
hyprctl dispatch exec "[workspace special:spmutt;float;noanim] foot -a \"$(basename $0)\" -w '960x540' neomutt"
hyprctl dispatch togglespecialworkspace spmutt
- sleep 0.03
+ sleep 0.1
fi
hyprctl dispatch togglespecialworkspace spmutt
diff --git a/spncmp b/spncmp
index 8fefd83..ce8e374 100755
--- a/spncmp
+++ b/spncmp
@@ -5,7 +5,7 @@ COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"
if [ "${COUNT:-0}" -lt "3" ]; then
hyprctl dispatch exec "[workspace special:spncmp;float;noanim] foot -a \"$(basename $0)\" -w '960x540' ncmpcpp"
hyprctl dispatch togglespecialworkspace spncmp
- sleep 0.03
+ sleep 0.1
fi
hyprctl dispatch togglespecialworkspace spncmp
diff --git a/sppmxr b/sppmxr
index b3c8f99..f1d1dba 100755
--- a/sppmxr
+++ b/sppmxr
@@ -5,7 +5,7 @@ COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"
if [ "${COUNT:-0}" -lt "3" ]; then
hyprctl dispatch exec "[workspace special:sppmxr;float;noanim] foot -a \"$(basename $0)\" -w '960x540' pulsemixer"
hyprctl dispatch togglespecialworkspace sppmxr
- sleep 0.03
+ sleep 0.1
fi
hyprctl dispatch togglespecialworkspace sppmxr
diff --git a/spprof b/spprof
index 030ca16..62e8340 100755
--- a/spprof
+++ b/spprof
@@ -5,7 +5,7 @@ COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"
if [ "${COUNT:-0}" -lt "3" ]; then
hyprctl dispatch exec "[workspace special:spprof;float;noanim] foot -a \"$(basename $0)\" -w '960x540' profanity"
hyprctl dispatch togglespecialworkspace spprof
- sleep 0.03
+ sleep 0.1
fi
hyprctl dispatch togglespecialworkspace spprof
diff --git a/spqpwg b/spqpwg
index 4d83b36..6c74ca5 100755
--- a/spqpwg
+++ b/spqpwg
@@ -6,7 +6,7 @@ echo "$COUNT"
if [ "${COUNT:-0}" -eq "0" ]; then
hyprctl dispatch exec "[workspace special:spqpwg;float;noanim] qpwgraph"
hyprctl dispatch togglespecialworkspace spqpwg
- sleep 0.03
+ sleep 0.1
fi
hyprctl dispatch togglespecialworkspace spqpwg
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
diff --git a/sptodo b/sptodo
index 46826be..50ce690 100755
--- a/sptodo
+++ b/sptodo
@@ -5,7 +5,7 @@ COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"
if [ "${COUNT:-0}" -lt "3" ]; then
hyprctl dispatch exec "[workspace special:sptodo;float;noanim] foot -a \"$(basename $0)\" -w '960x540' todo"
hyprctl dispatch togglespecialworkspace sptodo
- sleep 0.03
+ sleep 0.1
fi
hyprctl dispatch togglespecialworkspace sptodo
diff --git a/sptrmc b/sptrmc
index 28eef72..9fe151f 100755
--- a/sptrmc
+++ b/sptrmc
@@ -5,7 +5,7 @@ COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"
if [ "${COUNT:-0}" -lt "3" ]; then
hyprctl dispatch exec "[workspace special:sptrmc;float;noanim] foot -a \"$(basename $0)\" -w '960x540' tremc"
hyprctl dispatch togglespecialworkspace sptrmc
- sleep 0.03
+ sleep 0.1
fi
hyprctl dispatch togglespecialworkspace sptrmc