Configure MPC bindings with an i3 mode and notifications.
This commit is contained in:
6
.bin/mpc/mpc-i3-repeat
Executable file
6
.bin/mpc/mpc-i3-repeat
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
if [[ "$(mpc repeat)" == *"repeat: on"* ]]; then
|
||||
notify-send -a "Mopidy" -u low -t 1 "Repeat On" "The playlist will be repeated after it is completed"
|
||||
else
|
||||
notify-send -a "Mopidy" -u low -t 1 "Repeat Off" "Playback will stop at the end of the playlist"
|
||||
fi
|
6
.bin/mpc/mpc-i3-shuffle
Executable file
6
.bin/mpc/mpc-i3-shuffle
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
if [[ "$(mpc random)" == *"random: on"* ]]; then
|
||||
notify-send -a "Mopidy" -u low -t 1 "Shuffle On" "Songs will be played in random order"
|
||||
else
|
||||
notify-send -a "Mopidy" -u low -t 1 "Shuffle Off" "Songs will be played sequentially"
|
||||
fi
|
Reference in New Issue
Block a user