summaryrefslogtreecommitdiffstats
path: root/.local/bin/b-ws-util
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-02-25 14:02:36 -0500
committerAmin Bandali <bandali@kelar.org>2024-02-25 14:02:36 -0500
commit89840581fbcc9228f99ca6c448a29d1cd5da2627 (patch)
tree09dacf9a8c751489b7a1f59439daca788839c6a5 /.local/bin/b-ws-util
parentc53945415cc97aa6753e4ad46589147c76f6a3dd (diff)
downloadconfigs-89840581fbcc9228f99ca6c448a29d1cd5da2627.tar.gz
configs-89840581fbcc9228f99ca6c448a29d1cd5da2627.tar.xz
configs-89840581fbcc9228f99ca6c448a29d1cd5da2627.zip
Port my i3 config to sway
Diffstat (limited to '.local/bin/b-ws-util')
-rwxr-xr-x.local/bin/b-ws-util6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/b-ws-util b/.local/bin/b-ws-util
index df921f7..6ca5fe9 100755
--- a/.local/bin/b-ws-util
+++ b/.local/bin/b-ws-util
@@ -31,10 +31,10 @@ else
fi
if [ "$op" = "switch" ]; then
- i3 workspace "$dest_ws"
+ "$1" workspace number "$dest_ws"
elif [ "$op" = "move" ]; then
- i3 move container to workspace "$dest_ws"
+ "$1" move container to workspace number "$dest_ws"
if [ "$4" = "follow" ]; then
- i3 workspace "$dest_ws"
+ "$1" workspace number "$dest_ws"
fi
fi