diff options
-rwxr-xr-x | clerk | 12 | ||||
-rw-r--r-- | config.clerk | 9 |
2 files changed, 19 insertions, 2 deletions
@@ -19,6 +19,18 @@ if [[ -f $HOME/.config/clerk/config ]]; then source $HOME/.config/clerk/config fi +if [[ -n $mpd_host ]]; then + if [[ -n $mpd_password ]]; then + MPD_HOST="${mpd_password}@${mpd_host}" + else + MPD_HOST="${mpd_host}" + fi +fi + +if [[ -n $mpd_port ]]; then + MPD_PORT="${mpd_port}" +fi + # check for scrobbler if [[ $scrobbler == mpdas ]]; then export scrobbler="mpdas -d" diff --git a/config.clerk b/config.clerk index 63f9e21..5c3daa1 100644 --- a/config.clerk +++ b/config.clerk @@ -2,6 +2,11 @@ # but you can override settings here. rofiopts="-i -no-levenshtein-sort" +# custom mpd host +mpd_host= +mpd_port= +mpd_password= + # If you don't have physical access to your music_dir # set this to no. This setting will make sure that ratings files # will be copied to their associated album @@ -55,5 +60,5 @@ save="Alt+s" clear="Alt+c" suspend="Alt+9" resume="Alt+0" -rss="Alt+8" -load="Alt+l" +movedown="Alt+Down" +moveup="Alt+Up" |