From 311f88ebdf800a24a04d2cf3f4e167b3d29f6f32 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 5 Jan 2022 13:53:16 -0500 Subject: ncmcpp host depends on hostname --- dot_config/ncmpcpp/config | 3 --- dot_config/ncmpcpp/config.tmpl | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 dot_config/ncmpcpp/config create mode 100644 dot_config/ncmpcpp/config.tmpl 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 }} -- cgit v1.2.3