3 lines
134 B
Bash
Executable file
3 lines
134 B
Bash
Executable file
#!/bin/sh -e
|
|
# TODO completion: tree, outputs, inputs, ...
|
|
unbuffer swaymsg -t get_$1 | (test "$1" = tree && jq -C || cat) | less -RF
|