Hardcoded workspace ID
This commit is contained in:
parent
b1b6f5cffe
commit
382fe1bf48
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ MATCH ANY" | rofi -i -dmenu -p "How to identify windows? (xprop style)")
|
|||
# get the i3-tree for all workspaces for the current monitor
|
||||
node - > "$ALL_WS_FILE" 2>&1 <<HERE
|
||||
const capture=[$(i3-save-tree --output "$CURRENT_MONITOR" | sed -e 's/^}/},/g')];
|
||||
console.log(JSON.stringify(capture[1], null, 4));
|
||||
console.log(JSON.stringify(capture[$WORKSPACE_ID - 1], null, 4));
|
||||
HERE
|
||||
|
||||
# get the i3-tree for the current workspace
|
||||
|
|
Loading…
Add table
Reference in a new issue