aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2026-08-22 21:03:41 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2026-08-22 21:03:41 +0200
commit21f32ce419993818444736f9e6780278acee375e (patch)
treef0282fa9f44670496871d87876a68fbeea149bf9
parenta304f8bf4751dc2f081d358dbae8d20a3ab9442c (diff)
more tweaks
-rw-r--r--home/dot_config/mpd/mpd.conf.tmpl10
-rw-r--r--home/dot_config/nvim/coc-settings.json4
-rw-r--r--home/dot_local/.chezmoiexternal.yaml.tmpl (renamed from home/dot_local/.chezmoiexternal.yaml)2
-rw-r--r--readme.md4
4 files changed, 19 insertions, 1 deletions
diff --git a/home/dot_config/mpd/mpd.conf.tmpl b/home/dot_config/mpd/mpd.conf.tmpl
index 1d17db6..bf0cf3d 100644
--- a/home/dot_config/mpd/mpd.conf.tmpl
+++ b/home/dot_config/mpd/mpd.conf.tmpl
@@ -5,9 +5,17 @@
{{- if $host -}}
{{- $music_directory = printf "%s/music" $base_dir -}}
{{- end -}}
+{{- with (dig "mpd" "music_dir" nil .) -}}
+{{- $music_directory = . -}}
+{{- end -}}
+
+{{- $playlist_directory := "{{ $base_dir }}/playlists" }}
+{{- with (dig "mpd" "playlist_dir" nil .) -}}
+{{- $playlist_directory = . -}}
+{{- end -}}
music_directory "{{ $music_directory }}"
-playlist_directory "{{ $base_dir }}/playlists"
+playlist_directory "{{ $playlist_directory }}"
pid_file "{{ $base_dir }}/mpd.pid"
state_file "{{ $base_dir }}/mpdstate"
diff --git a/home/dot_config/nvim/coc-settings.json b/home/dot_config/nvim/coc-settings.json
index fc11396..e80234c 100644
--- a/home/dot_config/nvim/coc-settings.json
+++ b/home/dot_config/nvim/coc-settings.json
@@ -38,6 +38,10 @@
"glsl": {
"command": "glsl_analyzer",
"filetypes": ["glsl", "vert", "tesc", "tese", "frag", "geom", "comp"]
+ },
+ "sourcekit": {
+ "command": "sourcekit-lsp",
+ "filetypes": ["swift"]
}
},
"java.import.gradle.java.home": "/usr/lib/jvm/java-17-openjdk"
diff --git a/home/dot_local/.chezmoiexternal.yaml b/home/dot_local/.chezmoiexternal.yaml.tmpl
index 77df802..6c931ea 100644
--- a/home/dot_local/.chezmoiexternal.yaml
+++ b/home/dot_local/.chezmoiexternal.yaml.tmpl
@@ -1,4 +1,6 @@
+{{- if eq .chezmoi.os "linux" }}
st:
type: git-repo
url: https://git.pipeframe.xyz/fork/st
refreshPeriod: 168h
+{{- end }}
diff --git a/readme.md b/readme.md
index a1827b6..ab8eddb 100644
--- a/readme.md
+++ b/readme.md
@@ -17,6 +17,10 @@ data:
host: <bool>
# base directory to use for playlists/pid/db files
base_dir: <path>
+ # override music_directory (default is satellite address or <base_dir>/music for hosts)
+ music_dir: <path>
+ # override playlist_directory (default is <base_dir>/playlists)
+ playlist_dir: <path>
git:
# git commit email
email: <string>