]> git.sev.monster Git - dotfiles.git/blame_incremental - bin/mpc-notify
wscons fix
[dotfiles.git] / bin / mpc-notify
... / ...
CommitLineData
1#!/bin/sh
2replaces_id=0
3mpc 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]*\),)')
6done
This page took 0.0290820000000001 seconds and 4 git commands to generate.