fix shell escaping issue in man page example.
The "\t" wasn't escaped for the man page formatting, so it was coming out as an empty string. I tried fixing it with "\\t". That technically worked but resulted inconsistent spacing depending on how many digits were in the IDs. Switching to a space here resolves the issue and provides visually consistent formatting.
This commit is contained in:
parent
6fd3af1f4e
commit
15d48b377d
@ -90,7 +90,7 @@ The following script can be used to do window switching:
|
|||||||
|
|
||||||
swaymsg \-t get_tree |
|
swaymsg \-t get_tree |
|
||||||
.br
|
.br
|
||||||
jq \-r '.nodes[].nodes[] | if .nodes then [recurse(.nodes[])] else [] end + .floating_nodes | .[] | select(.nodes==[]) | ((.id | tostring) + "\t" + .name)' |
|
jq \-r '.nodes[].nodes[] | if .nodes then [recurse(.nodes[])] else [] end + .floating_nodes | .[] | select(.nodes==[]) | ((.id | tostring) + " " + .name)' |
|
||||||
.br
|
.br
|
||||||
wofi \-\-show dmenu | {
|
wofi \-\-show dmenu | {
|
||||||
.br
|
.br
|
||||||
|
Loading…
Reference in New Issue
Block a user