This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tools.record: add audio source tab completion via usage.kdl complete directive

Uses self-contained pactl/ffmpeg commands so completions work without
record being in PATH (e.g. when completing through `s record <TAB>`).

+2
+2
tools/record/usage.kdl
··· 5 5 flag "-h --help" help="Show help message" 6 6 7 7 arg "[source]" help="Audio source to record from (interactive selection if omitted)" 8 + 9 + complete "source" run="if [ \"$(uname)\" = Darwin ]; then echo system; ffmpeg -f avfoundation -list_devices true -i '' 2>&1 | sed -n '/AVFoundation audio devices:/,/^[^[]/p' | grep -oE '\\[[0-9]+\\]' | tr -d '[]'; else pactl list sources short 2>/dev/null | awk '{print $2}'; fi"