From 9e6b9aebae3865823e5f354fddad8e07ef4b01d8 Mon Sep 17 00:00:00 2001 From: zachir Date: Wed, 5 Jul 2023 09:45:26 -0500 Subject: Increase delay because alacritty is slower than foot --- spblue | 2 +- sphtop | 2 +- spirss | 2 +- spmutt | 2 +- spncmp | 2 +- sppmxr | 2 +- spprof | 2 +- spqpwg | 2 +- spterm | 2 +- sptodo | 2 +- sptrmc | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/spblue b/spblue index e883520..7415327 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] alacritty --class \"$(basename $0)\" -o \"window.position: {\'960,540\'}\" -e bluetoothctl" hyprctl dispatch togglespecialworkspace spblue - sleep 0.1 + sleep 0.2 fi hyprctl dispatch togglespecialworkspace spblue diff --git a/sphtop b/sphtop index bfd9333..bc2bf15 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] alacritty --class \"$(basename $0)\" -o \"window.position: {\'960,540\'}\" -e htop" hyprctl dispatch togglespecialworkspace sphtop - sleep 0.1 + sleep 0.2 fi hyprctl dispatch togglespecialworkspace sphtop diff --git a/spirss b/spirss index df5e61c..fbc6300 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] alacritty --class \"$(basename $0)\" -o \"window.position: {\'960,540\'}\" -e irssi" hyprctl dispatch togglespecialworkspace spirss - sleep 0.1 + sleep 0.2 fi hyprctl dispatch togglespecialworkspace spirss diff --git a/spmutt b/spmutt index 1ba432c..c26ec27 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] alacritty --class \"$(basename $0)\" -o \"window.position: {\'960,540\'}\" -e neomutt" hyprctl dispatch togglespecialworkspace spmutt - sleep 0.1 + sleep 0.2 fi hyprctl dispatch togglespecialworkspace spmutt diff --git a/spncmp b/spncmp index 7885773..6e76130 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] alacritty --class \"$(basename $0)\" -o \"window.position: {\'960,540\'}\" -e ncmpcpp" hyprctl dispatch togglespecialworkspace spncmp - sleep 0.1 + sleep 0.2 fi hyprctl dispatch togglespecialworkspace spncmp diff --git a/sppmxr b/sppmxr index ccbe573..7174911 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] alacritty --class \"$(basename $0)\" -o \"window.position: {\'960,540\'}\" -e pulsemixer" hyprctl dispatch togglespecialworkspace sppmxr - sleep 0.1 + sleep 0.2 fi hyprctl dispatch togglespecialworkspace sppmxr diff --git a/spprof b/spprof index 90b2462..e55d6f8 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] alacritty --class \"$(basename $0)\" -o \"window.position: {\'960,540\'}\" -e profanity" hyprctl dispatch togglespecialworkspace spprof - sleep 0.1 + sleep 0.2 fi hyprctl dispatch togglespecialworkspace spprof diff --git a/spqpwg b/spqpwg index 6c74ca5..db48f15 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.1 + sleep 0.2 fi hyprctl dispatch togglespecialworkspace spqpwg diff --git a/spterm b/spterm index c6ed6a4..80c03db 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] alacritty --class \"$(basename $0)\" -o \"window.position: {\'960,540\'}\" -e" hyprctl dispatch togglespecialworkspace spterm - sleep 0.1 + sleep 0.2 fi hyprctl dispatch togglespecialworkspace spterm diff --git a/sptodo b/sptodo index cf82a0e..1782182 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] alacritty --class \"$(basename $0)\" -o \"window.position: {\'960,540\'}\" -e todo" hyprctl dispatch togglespecialworkspace sptodo - sleep 0.1 + sleep 0.2 fi hyprctl dispatch togglespecialworkspace sptodo diff --git a/sptrmc b/sptrmc index 6ff4549..3a30e37 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] alacritty --class \"$(basename $0)\" -o \"window.position: {\'960,540\'}\" -e tremc" hyprctl dispatch togglespecialworkspace sptrmc - sleep 0.1 + sleep 0.2 fi hyprctl dispatch togglespecialworkspace sptrmc -- cgit v1.2.3