| tiomenu-mixerctl - iomenu - interactive terminal-based selection menu | |||
| git clone git://bitreich.org/iomenu git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/iomenu (git://bitreich.org) | |||
| Log | |||
| Files | |||
| Refs | |||
| Tags | |||
| README | |||
| LICENSE | |||
| --- | |||
| tiomenu-mixerctl (202B) | |||
| --- | |||
| 1 #!/bin/sh -e | |||
| 2 # set a mixerctl key to chosen value | |||
| 3 | |||
| 4 ctl=$(mixerctl -a | iomenu | sed 's/=.*//') | |||
| 5 test -n "$ctl" | |||
| 6 | |||
| 7 printf 'Set value of %s to: ' "$ctl" >&2 | |||
| 8 read -r value | |||
| 9 | |||
| 10 set -x | |||
| 11 exec mixerctl "$ctl=$value" |
Response: application/gopher-menu
| Original URL | gopher://bitreich.org/1/scm/iomenu/file/bin/iomenu-mixerctl.gph |
|---|---|
| Content-Type | application/gopher-menu; charset=utf-8 |