fish: functions: Open dot graphs by default in xdot
This commit is contained in:
parent
be9e8449a0
commit
a827d25ac4
3 changed files with 3 additions and 0 deletions
|
@ -4,4 +4,5 @@ function dotP --description 'Generate Pipewire dot graph for all nodes'
|
|||
if test "$argv[1]" = -c
|
||||
dot -Tsvg $output.dot >$output.svg
|
||||
end
|
||||
xdot $output.dot &
|
||||
end
|
||||
|
|
|
@ -10,5 +10,6 @@ function dotg --description 'Generate gstreamer dot graph for selected file'
|
|||
if test -n "$result"
|
||||
dot -Tsvg "$result" -O
|
||||
mv "$result".svg ~/Pictures/gstreamer
|
||||
xdot $result &
|
||||
end
|
||||
end
|
||||
|
|
|
@ -4,4 +4,5 @@ function dotp --description 'Generate Pipewire dot graph for linked nodes'
|
|||
if test "$argv[1]" = -c
|
||||
dot -Tsvg $output.dot >$output.svg
|
||||
end
|
||||
xdot $output.dot &
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue