]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | replaces_id=0 | |
3 | mpc idleloop player | while read -r x; do | |
4 | #notify-send -u low -t 3000 -a mpc "`mpc current`" | |
5 | replaces_id=$(expr "$(gdbus call --session --dest org.freedesktop.Notifications --object-path /org/freedesktop/Notifications --method org.freedesktop.Notifications.Notify mpc $replaces_id 'audio-volume-high' "`mpc current`" '' '[]' '{"urgency": <byte 0>}' 3000)" : '(uint32 \([0-9]*\),)') | |
6 | done |