add more scripts

This commit is contained in:
2026-08-16 17:11:26 +02:00
parent 4b0e320c8b
commit 1fb50e80ea
4 changed files with 64 additions and 56 deletions
+3 -3
View File
@@ -4,6 +4,7 @@
musicDirectory = "/home/user/Music";
playlistDirectory = "/home/user/Music/Playlists";
dbFile = "/home/user/.config/mpd/database";
network.listenAddress = "/tmp/mpd_socket";
# log_file = "~/.config/mpd/log";
extraConfig = ''
save_absolute_paths_in_playlists "yes"
@@ -22,7 +23,6 @@
max_playlist_length "131072"
max_output_buffer_size "32768"
'';
network.listenAddress = "/home/user/.config/mpd/socket";
};
services.mpdscribble = {
@@ -41,7 +41,7 @@
#![enable(unwrap_newtypes)]
#![enable(unwrap_variant_newtypes)]
(
address: "/home/user/.config/mpd/socket",
address: "/tmp/mpd_socket",
password: None,
theme: Some("default"),
cache_dir: Some("/home/user/Music/rmpc"),
@@ -97,7 +97,7 @@
"O": ShowOutputs,
"P": ShowDecoders,
"R": AddRandom,
"<C-p>": ExternalCommand(command: ["/home/user/.scripts/check-playlist.sh"], description: "Check if selected song is already in a playlist"),
"<C-p>": ExternalCommand(command: ["check-playlist"], description: "Check if selected song is already in a playlist"),
},
navigation: {
"k": Up,