From f6f6fa2d6ddf22a2e27bab6c39956599f24b18fa Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Fri, 9 Aug 2024 09:32:13 -0500 Subject: script to run a command on a specific workspace --- stow/sway/.local/bin/sws | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 stow/sway/.local/bin/sws (limited to 'stow/sway') 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" +"$@" & -- cgit v1.2.3