Compare commits
No commits in common. "e7fb72af67aa146994b23a8bfbabbbd56675cccb" and "3c191ef7a69a01d378e000c43823007325385e80" have entirely different histories.
e7fb72af67
...
3c191ef7a6
2 changed files with 3 additions and 10 deletions
|
@ -1,13 +1,7 @@
|
|||
#!/usr/bin/env sh
|
||||
print_sound_status() {
|
||||
printf '{"output-volume":%s,"input-volume":%s,"output-muted":%s,"sink-name":%s}\n' \
|
||||
pactl subscribe | grep --line-buffered "'change'" | while read -r _unused; do
|
||||
printf '{"output-volume":%s,"input-volume":%s,"output-muted":%s}\n' \
|
||||
"$(pamixer --get-volume)" \
|
||||
"$(pamixer --get-volume --default-source)" \
|
||||
"$(pamixer --get-mute)" \
|
||||
"$(pactl --format json list sinks | jq '.[] | select(.name == "'"$(pactl get-default-sink)"'") | .description')"
|
||||
}
|
||||
|
||||
print_sound_status
|
||||
pactl subscribe | grep --line-buffered "'change'" | while read -r _unused; do
|
||||
print_sound_status
|
||||
"$(pamixer --get-mute)"
|
||||
done
|
||||
|
|
|
@ -19,6 +19,5 @@
|
|||
m = merge
|
||||
r = rebase
|
||||
graph = log --graph --oneline
|
||||
ds = diff --staged
|
||||
[push]
|
||||
autoSetupRemote = true
|
||||
|
|
Loading…
Reference in a new issue