aboutsummaryrefslogtreecommitdiff
path: root/dot_config/ncmpcpp
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2022-01-05 13:53:16 -0500
committerRyan Kavanagh <rak@rak.ac>2022-01-12 15:41:07 -0500
commit311f88ebdf800a24a04d2cf3f4e167b3d29f6f32 (patch)
tree0ca403a509eccb8f77d67a254b5d9ebe00140365 /dot_config/ncmpcpp
parentxset +fp on spleen (diff)
ncmcpp host depends on hostname
Diffstat (limited to '')
-rw-r--r--dot_config/ncmpcpp/config3
-rw-r--r--dot_config/ncmpcpp/config.tmpl3
2 files changed, 3 insertions, 3 deletions
diff --git a/dot_config/ncmpcpp/config b/dot_config/ncmpcpp/config
deleted file mode 100644
index 6e08135..0000000
--- a/dot_config/ncmpcpp/config
+++ /dev/null
@@ -1,3 +0,0 @@
-autocenter_mode = yes
-media_library_primary_tag = album_artist
-mpd_host = asteria.home.arpa
diff --git a/dot_config/ncmpcpp/config.tmpl b/dot_config/ncmpcpp/config.tmpl
new file mode 100644
index 0000000..c9cae80
--- /dev/null
+++ b/dot_config/ncmpcpp/config.tmpl
@@ -0,0 +1,3 @@
+autocenter_mode = yes
+media_library_primary_tag = album_artist
+mpd_host = {{ if (eq .chezmoi.hostname "asteria") }}127.0.0.1{{ else }}asteria.home.arpa{{ end }}