summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile10
-rw-r--r--mpdconf5
-rw-r--r--mpdscribble/mpdscribble.conf7
-rwxr-xr-xservices/mpd/log/run3
-rwxr-xr-xservices/mpd/run3
-rwxr-xr-xservices/mpdscribble/log/run3
-rwxr-xr-xservices/mpdscribble/run3
7 files changed, 33 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d73f0f1..f8c898c 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,7 @@ INSTALL = aliases \
logout \
mailcap \
minicpanrc \
+ mpdconf \
msmtprc \
muttrc \
nethackrc \
@@ -47,6 +48,7 @@ INSTALL = aliases \
i3 \
interhack \
fortune \
+ mpdscribble \
ncmpc \
procmail \
offlineimap \
@@ -67,7 +69,13 @@ BUILD = bin/nethack/timettyrec \
vim/bundle/vimproc/autoload/vimproc_unix.so \
vim/spell/en.utf-8.add.spl
-EMPTYDIRS = $(patsubst services/%,.log/%,$(wildcard services/*)) Maildir .vim/data/undo .cache/mutt/headers .cache/mutt/bodies
+EMPTYDIRS = $(patsubst services/%,.log/%,$(wildcard services/*)) \
+ Maildir \
+ .vim/data/undo \
+ .cache/mutt/headers \
+ .cache/mutt/bodies \
+ .cache/mpd \
+ .config/mpd/playlists
ECHO = @echo
LN = @ln -sf
diff --git a/mpdconf b/mpdconf
new file mode 100644
index 0000000..e30c2fc
--- /dev/null
+++ b/mpdconf
@@ -0,0 +1,5 @@
+db_file "~/.cache/mpd/mpd.db"
+state_file "~/.cache/mpd/mpd.state"
+playlist_directory "~/.config/mpd/playlists"
+music_directory "~/media/audio/copy"
+bind_to_address "localhost"
diff --git a/mpdscribble/mpdscribble.conf b/mpdscribble/mpdscribble.conf
new file mode 100644
index 0000000..c216dfc
--- /dev/null
+++ b/mpdscribble/mpdscribble.conf
@@ -0,0 +1,7 @@
+username = doyster
+password =
+verbose = 5
+log = -
+cache = ~/.cache/mpd/mpdscribble.cache
+musicdir = ~/media/audio/copy
+host = localhost
diff --git a/services/mpd/log/run b/services/mpd/log/run
new file mode 100755
index 0000000..103c191
--- /dev/null
+++ b/services/mpd/log/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+multilog t s16777215 $HOME/.log/mpd
diff --git a/services/mpd/run b/services/mpd/run
new file mode 100755
index 0000000..186baef
--- /dev/null
+++ b/services/mpd/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec mpd --no-daemon 2>&1
diff --git a/services/mpdscribble/log/run b/services/mpdscribble/log/run
new file mode 100755
index 0000000..7fc4c3a
--- /dev/null
+++ b/services/mpdscribble/log/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+multilog t s16777215 $HOME/.log/mpdscribble
diff --git a/services/mpdscribble/run b/services/mpdscribble/run
new file mode 100755
index 0000000..95d4511
--- /dev/null
+++ b/services/mpdscribble/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec mpdscribble --no-daemon 2>&1