mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-04 18:00:20 +00:00
Added password to mpd
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
6d2e7dc0c9
commit
71b5e28521
@ -157,6 +157,9 @@ dotfiles:
|
||||
f_flashfocus.yml:
|
||||
src: .config/flashfocus/flashfocus.yml
|
||||
dst: ~/.config/flashfocus/flashfocus.yml
|
||||
f_config:
|
||||
src: .config/ncmpcpp/config
|
||||
dst: ~/.config/ncmpcpp/config
|
||||
profiles:
|
||||
Media:
|
||||
dotfiles:
|
||||
@ -196,6 +199,7 @@ profiles:
|
||||
- f_efm-langserver.yaml
|
||||
- f_fonts.conf
|
||||
- f_flashfocus.yml
|
||||
- f_config
|
||||
include:
|
||||
- Terminal
|
||||
- Media
|
||||
|
@ -5,16 +5,21 @@ log_file "~/.mpd/log"
|
||||
pid_file "~/.mpd/pid"
|
||||
state_file "~/.mpd/state"
|
||||
sticker_file "~/.mpd/sticker.sql"
|
||||
input {
|
||||
plugin "curl"
|
||||
}
|
||||
|
||||
replaygain "track"
|
||||
|
||||
default_permissions "read"
|
||||
password "{{@@ env['PASS_MPD'] @@}}@read,add,control"
|
||||
password "{{@@ env['PASS_MPD_ADMIN'] @@}}@read,add,control,admin"
|
||||
|
||||
audio_output {
|
||||
type "fifo"
|
||||
name "my_fifo"
|
||||
name "Visualizer"
|
||||
path "/tmp/mpd.fifo"
|
||||
format "44100:16:2"
|
||||
}
|
||||
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "pulse audio"
|
||||
name "MPD PulseAudio"
|
||||
}
|
||||
|
1
home/.config/ncmpcpp/config
Normal file
1
home/.config/ncmpcpp/config
Normal file
@ -0,0 +1 @@
|
||||
mpd_host = {{@@ env['PASS_MPD'] @@}}@localhost
|
@ -5,6 +5,7 @@ export PASS_LISTENBRAINZ="$(pass entertainment/musicbrainz.org | rg 'listenbrain
|
||||
export PASS_MUSPY="$(pass entertainment/muspy.com | head -n 1)"
|
||||
export PASS_ARIA2="$(pass linux/aria2 | head -n 1)"
|
||||
export PASS_MPD="$(pass linux/mpd | head -n 1)"
|
||||
export PASS_MPD_ADMIN="$(pass linux/mpd-admin | head -n 1)"
|
||||
|
||||
export ME_FULLNAME="$(pass me | head -n 1)"
|
||||
export ME_ADDRESS="$(pass me | rg 'address' | cut -d' ' -f2-)"
|
||||
|
@ -9,6 +9,7 @@ export PASS_LISTENBRAINZ="$PASS_LISTENBRAINZ"
|
||||
export PASS_MUSPY="$PASS_MUSPY"
|
||||
export PASS_ARIA2="$PASS_ARIA2"
|
||||
export PASS_MPD="$PASS_MPD"
|
||||
export PASS_MPD_ADMIN="$PASS_MPD_ADMIN"
|
||||
|
||||
export ME_FULLNAME="$ME_FULLNAME"
|
||||
export ME_ADDRESS="$ME_ADDRESS"
|
||||
|
Loading…
Reference in New Issue
Block a user