summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-08-09 06:21:28 -0500
committerZachIR <zachir@librem.one>2025-08-09 06:21:28 -0500
commitd5dc0514b30ea5237642ba4970f85e61c193edbc (patch)
tree250ab4f07eb3aa9bf29fb4c967037252204d4b5a
parent5ae2d7c455adc599d16e38852313aa772626d919 (diff)
Use localhost for mpd
The other systemd services wouldn't accept a unix socket.
-rw-r--r--mpd/mpd.conf2
-rw-r--r--sh/profile2
2 files changed, 2 insertions, 2 deletions
diff --git a/mpd/mpd.conf b/mpd/mpd.conf
index 755f1c8..6fdf1b0 100644
--- a/mpd/mpd.conf
+++ b/mpd/mpd.conf
@@ -79,7 +79,7 @@ sticker_file "~/.config/mpd/sticker.sql"
# systemd socket activiation is in use.
#
# For network
-# bind_to_address "127.0.0.1"
+bind_to_address "127.0.0.1"
#
# And for Unix Socket
bind_to_address "~/.config/mpd/socket"
diff --git a/sh/profile b/sh/profile
index e4659a5..068b6f1 100644
--- a/sh/profile
+++ b/sh/profile
@@ -49,7 +49,7 @@ export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
export WINEROOT="$XDG_DATA_HOME"/wineprefixes
export WINEPREFIX="$WINEROOT"/default
-export MPD_HOST="$XDG_CONFIG_HOME/mpd/socket"
+export MPD_HOST="127.0.0.1"
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export RENPY_PATH_TO_SAVES="$XDG_DATA_HOME"
export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc