spotifyd.conf.tmpl (623B)
1 [global] 2 username = "{{ .spotifyd.username }}" 3 password = "{{ (bitwarden "item" "spotify").login.password }}" 4 5 device_name = "spotifyd" 6 device_type = "computer" 7 8 cache_path = "{{ .chezmoi.homeDir }}/.config/spotifyd/cache" 9 no_audio_cache = false 10 {{ if ne .chezmoi.os "darwin" }} 11 use_mpris = false 12 device = "default" 13 control = "default" 14 {{ end }} 15 bitrate = 320 16 initial_volume = "90" 17 volume_normalisation = true 18 normalisation_pregain = -10 19 20 {{ if eq .chezmoi.os "darwin" -}} 21 backend = "rodio" 22 volume_controller = "softvol" 23 {{- else -}} 24 backend = "alsa" 25 volume_controller = "alsa" 26 {{ end }} 27 mixer = "PCM" 28 zeroconf_port = 1234