dotfiles/fish/.config/fish/functions/dotP.fish
Sanchayan Maity 7e4193fc82
Revert "fish: functions: Open dot graphs by default in xdot"
This reverts commit a827d25ac4.

xdot has been giving us problem with GStreamer dot graphs. May be
it is a bug with GStreamer but let us just use vimiv henceforth.
2022-12-30 13:26:21 +05:30

8 lines
246 B
Fish

function dotP --description 'Generate Pipewire dot graph for all nodes'
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
end