mpc: Remove mpc keybind things

Eugh
This commit is contained in:
Salt 2019-09-26 03:01:56 -05:00
parent aa1cc36264
commit 2d62cfabbf
4 changed files with 0 additions and 35 deletions

View File

@ -1,6 +0,0 @@
#!/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

View File

@ -1,17 +0,0 @@
#!/bin/bash
MESSAGE='-mesg Append:'
if [ "$1" = "--clear" ]; then
MESSAGE='-mesg Replace:'
fi
PLAYLIST="$(mpc lsplaylists | rofi -lines 10 -dmenu -p 'Play MPD Playlist: ' $MESSAGE)"
if [ "$PLAYLIST" = "" ]; then
exit
fi
if [ "$1" = "--clear" ]; then
mpc clear
fi
mpc load $PLAYLIST
if [[ "$(mpc)" != *"playing"* ]]; then
mpc play
fi
notify-send -u low -t 5 -a 'Mopidy' "$PLAYLIST" "Beginning playback of playlist $PLAYLIST"

View File

@ -1,6 +0,0 @@
#!/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

View File

@ -1,6 +0,0 @@
#!/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