diff options
author | Matt Singleton <matt@xcolour.net> | 2024-08-09 09:32:13 -0500 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2024-11-06 16:03:27 -0600 |
commit | f6f6fa2d6ddf22a2e27bab6c39956599f24b18fa (patch) | |
tree | b5f8402871a39db8e1a80ed575fe6f0fbfc9dbf8 | |
parent | bd9538a24a9207b4bd88f71956a817b5b042874b (diff) |
script to run a command on a specific workspace
-rwxr-xr-x | stow/sway/.local/bin/sws | 6 |
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" +"$@" & |