aboutsummaryrefslogtreecommitdiff
path: root/alternative
diff options
context:
space:
mode:
authorJay <[email protected]>2020-06-19 18:34:00 +0100
committerJay <[email protected]>2020-06-19 18:34:00 +0100
commitae05c843992b9a41cb9019d00b313cb2cc10d51d (patch)
treeb66dba07b4cdec0cbf21f0130e98f351f1a8246b /alternative
parentdf3ede50510f222aa5ef0c066f2946ca487baf4d (diff)
fix swallow cmd
Diffstat (limited to 'alternative')
-rwxr-xr-xalternative/bspswallow4
1 files changed, 2 insertions, 2 deletions
diff --git a/alternative/bspswallow b/alternative/bspswallow
index a9c5e07..078ddd3 100755
--- a/alternative/bspswallow
+++ b/alternative/bspswallow
@@ -37,8 +37,8 @@ bspc subscribe node_add node_remove | while read -r event
do
case "$(echo "$event" | awk '{ print $1 }')" in
node_add)
- read -r node desktop < "$(echo "$event" | awk '{print $5 " " $3}')"
- swallow "$node" "$desktop"
+ # shellcheck disable=SC2046
+ swallow $(echo "$event" | awk '{print $5 " " $3}')
;;
node_remove)
spit "$(echo "$event" | awk '{print $4}')"