summaryrefslogtreecommitdiff
path: root/bin/.local
diff options
context:
space:
mode:
Diffstat (limited to 'bin/.local')
-rwxr-xr-xbin/.local/bin/workspace4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/.local/bin/workspace b/bin/.local/bin/workspace
index 36f09d4..2ac5690 100755
--- a/bin/.local/bin/workspace
+++ b/bin/.local/bin/workspace
@@ -1,13 +1,13 @@
#!/usr/bin/env bash
-# List of workspaces: ( number, name, focused)
+# List of workspaces: ( number, name, focused, display)
workspaces=$(i3-msg -t get_workspaces | awk 'BEGIN {
RS="(},{)|(\\[{)|(}\\])";
FPAT="([^,:\"]+)|([^,\"]+:[^,\"]+)|([^,]+{[^}]+})"
}
$0 !~ "^\\s*$" {
gsub(/"/, "", $4)
- print $4, $6, $10
+ print $4, $6, $10, $13
}' | sort)
act_on_container() {