2021-12-10 11:09:44 +01:00
|
|
|
function dotP --description 'Generate Pipewire dot graph for all nodes'
|
2022-10-10 10:30:18 +02:00
|
|
|
set -l output ~/Pictures/pipewire/pw-dot-(date +%T)
|
|
|
|
pw-dot -d -L -a -o $output.dot
|
|
|
|
if test "$argv[1]" = -c
|
|
|
|
dot -Tsvg $output.dot >$output.svg
|
|
|
|
end
|
2021-12-10 11:09:44 +01:00
|
|
|
end
|