diff options
Diffstat (limited to 'bin/workspace')
-rwxr-xr-x | bin/workspace | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/workspace b/bin/workspace new file mode 100755 index 0000000..9082f39 --- /dev/null +++ b/bin/workspace @@ -0,0 +1,5 @@ +#!/bin/zsh + +workspaces=$(i3-msg -t get_workspaces | grep -Po '"name":.*?[^\\]"' | sed 's/"name":"\([0-9a-zA-Z]\+\)"/\1/g') +target=$(echo $workspaces | dmenu -i -p "Go to workspace:") +exec i3-msg workspace $target |