From 3811ac8454a2da74f4aa6468364e7708c6386749 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Mon, 17 Aug 2026 17:18:48 +0100 Subject: Changed sleep values from 0.1 to 0.2 to allow cowpager and cowbuttons to settle. --- .config/cow/after-start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.config/cow') diff --git a/.config/cow/after-start.sh b/.config/cow/after-start.sh index aa39254..6c08dc1 100755 --- a/.config/cow/after-start.sh +++ b/.config/cow/after-start.sh @@ -38,7 +38,7 @@ sh "$HOME/.config/waybar/scripts/swayidle-update.sh" # kill any running instances if they exist pkill -9 cowpager pkill -9 cowbuttons -sleep 0.1 +sleep 0.2 # start cowpager and cowbuttons for each monitor monitors=$(moocow show output | jq -r '.data[] | .name' | wc -l | xargs) @@ -48,7 +48,7 @@ while [ "$i" -ge 1 ]; do output=$(moocow show output | jq -r '.data[] | .name' | awk 'FNR == '$i' {print}') moocow focus -o "$output" # Slow script down as it causes problems with the positioning rules in cow.conf - sleep 0.1 + sleep 0.2 cowpager -m "$output" & cowbuttons & # Focus the lowest active tag (desk nr) -- cgit v1.3