aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-08-28 19:42:18 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-08-28 19:42:18 +0100
commit29ad00fc8ac1c0ead0dba5e26f521d4258750f63 (patch)
tree9e87bcc042dfbb418303f6e1a60cb30528ec5b48 /.config
parent107841fea1ba00f6823fd7a2d6cf56e6b1d15e1e (diff)
Start cowclock on each output
Diffstat (limited to '.config')
-rwxr-xr-x.config/cow/scripts/after-start.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/cow/scripts/after-start.sh b/.config/cow/scripts/after-start.sh
index 1c2ab1a..b9baa3b 100755
--- a/.config/cow/scripts/after-start.sh
+++ b/.config/cow/scripts/after-start.sh
@@ -38,6 +38,7 @@ sh "$HOME/.config/waybar/scripts/swayidle-update.sh"
# kill any running instances if they exist
pkill -9 cowpager
pkill -9 cowbuttons
+pkill -9 cowclock
sleep 0.1
# start cowpager and cowbuttons for each monitor
@@ -51,6 +52,7 @@ while [ "$i" -ge 1 ]; do
sleep 0.1
cowpager -m "$output" &
cowbuttons &
+ cowclock &
# Focus the lowest active tag (desk nr)
num=$(moocow show desk | jq -r '.data.desks | map(select(.active == true)) | sort_by(.nr) | .[0].nr')
moocow desk -t "$output" -d "$num"