Lodes: Cleanup

Moved test scripts into the root folder
Renamed mpc scripts to have more agnostic names
Removed the layouts folder entirely, since xfdesktop handles monitor layouts now
This commit is contained in:
2018-08-04 22:57:55 -05:00
parent 3bdc167c24
commit a15c185e93
7 changed files with 0 additions and 2 deletions

17
mpc/mpc-playlists Executable file
View File

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