aboutsummaryrefslogtreecommitdiff
path: root/stow/sway/.local/bin/sws
diff options
context:
space:
mode:
authorMatt Singleton <matt@xcolour.net>2024-08-09 09:32:13 -0500
committerMatt Singleton <matt@xcolour.net>2024-11-06 16:03:27 -0600
commitf6f6fa2d6ddf22a2e27bab6c39956599f24b18fa (patch)
treeb5f8402871a39db8e1a80ed575fe6f0fbfc9dbf8 /stow/sway/.local/bin/sws
parentbd9538a24a9207b4bd88f71956a817b5b042874b (diff)
script to run a command on a specific workspace
Diffstat (limited to 'stow/sway/.local/bin/sws')
-rwxr-xr-xstow/sway/.local/bin/sws6
1 files changed, 6 insertions, 0 deletions
diff --git a/stow/sway/.local/bin/sws b/stow/sway/.local/bin/sws
new file mode 100755
index 0000000..9b83375
--- /dev/null
+++ b/stow/sway/.local/bin/sws
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+workspace="$1"
+shift
+swaymsg workspace "$workspace"
+"$@" &