aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/cow/cow.conf2
-rwxr-xr-x.config/cow/scripts/after-start.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/.config/cow/cow.conf b/.config/cow/cow.conf
index 949f887..d1aa29a 100644
--- a/.config/cow/cow.conf
+++ b/.config/cow/cow.conf
@@ -576,7 +576,7 @@ bind LCS+Tab window-container -P
# These bindings are only useful when desktop_size is greater than 1x1. The
# `scroll` command pans the desk viewport by whole pages (with -d / -n / -P)
# or by arbitrary sub-page offsets (a bare "H V" percentage, "-p H V" pixels,
-# or an interactive "-r" drag bound to a mouse button). See `list-commands`
+# or an interactive "-r" drag bound to a mouse button). See `show -a command`
# for the full command surface.
#
# Super+Ctrl+Right/Left/Down/Up: jump one page in that direction
diff --git a/.config/cow/scripts/after-start.sh b/.config/cow/scripts/after-start.sh
index 6c8684c..a350fcd 100755
--- a/.config/cow/scripts/after-start.sh
+++ b/.config/cow/scripts/after-start.sh
@@ -43,11 +43,11 @@ pkill -9 cowiconman
sleep 0.1
# start cowpager and cowbuttons for each monitor
-monitors=$(moocow show output | jq -r '.data[] | .name' | wc -l | xargs)
+monitors=$(moocow show -a output | jq -r '.data[] | .name' | wc -l | xargs)
i=$monitors
while [ "$i" -ge 1 ]; do
- output=$(moocow show output | jq -r '.data[] | .name' | awk 'FNR == '$i' {print}')
+ output=$(moocow show -a 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
@@ -56,7 +56,7 @@ while [ "$i" -ge 1 ]; do
cowclock &
cowiconman &
# Focus the lowest active tag (desk nr)
- num=$(moocow show desk | jq -r '.data.desks | map(select(.active == true)) | sort_by(.nr) | .[0].nr')
+ num=$(moocow show -a desk | jq -r '.data.desks | map(select(.active == true)) | sort_by(.nr) | .[0].nr')
moocow desk -t "$output" -d "$num"
sleep 0.1
i=$((i-1))