New functions/bin structure

This commit is contained in:
2021-08-02 05:18:07 -06:00
parent 2500a49c1e
commit e726ba61ae
54 changed files with 313 additions and 665 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env sh
function pavolume {
pacmd list-sinks |
awk '/^\s+name: /{indefault = $2 == "<'"$(pasink)"'>"}
/^\s+volume: / && indefault {print $5; exit}' | grep -Eo "[0-9]*"
}
pavolume