diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-08-17 17:18:48 +0100 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-08-17 17:18:48 +0100 |
| commit | 3811ac8454a2da74f4aa6468364e7708c6386749 (patch) | |
| tree | e6fa19a90241e847359a8731b41080947d684fc3 /.config | |
| parent | 251c49b6e48b7a12e07dfa29128f614a8ed02679 (diff) | |
Changed sleep values from 0.1 to 0.2 to allow cowpager and cowbuttons to settle.
Diffstat (limited to '.config')
| -rwxr-xr-x | .config/cow/after-start.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
