Added mopidy mode keybind for consume

This commit is contained in:
2017-07-31 03:20:01 -05:00
parent a67e661a31
commit facce89700
2 changed files with 8 additions and 1 deletions

6
.bin/mpc/mpc-i3-consume Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
if [[ "$(mpc consume)" == *"consume: on"* ]]; then
notify-send -a "Mopidy" -u low -t 1 "Consume On" "Songs will be removed from the playlist after completion"
else
notify-send -a "Mopidy" -u low -t 1 "Consume Off" "Songs will remain in the playlist after completion"
fi