dotfiles/fish/.config/fish/functions/dotp.fish

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
249 B
Fish
Raw Permalink Normal View History

function dotp --description 'Generate Pipewire dot graph for linked nodes'
set -l output ~/Pictures/pipewire/pw-dot-(date +%T)
pw-dot -d -L -s -o $output.dot
if test "$argv[1]" = -c
dot -Tsvg $output.dot >$output.svg
end
end