Browse Source

audio: Tweaks ALSA config and adds ncmpcpp album cover art

main
creton32 1 week ago
parent
commit
9e27603da3
  1. 43
      audio/.config/alsa/asoundrc
  2. 4
      audio/.config/ncmpcpp/config

43
audio/.config/alsa/asoundrc

@ -1,24 +1,24 @@
#pcm.!default {
# type plug
# slave.pcm {
# @func getenv
# vars [ ALSA_DEFAULT_PCM ]
# default pulse
# }
#}
pcm.!default {
type plug
slave.pcm {
@func getenv
vars [ ALSA_DEFAULT_PCM ]
default pulse
}
}
# Control device to process audio data (for alsamixer and amixer)
#ctl.!default {
# @func refer
# name { @func concat
# strings [ "ctl."
# { @func getenv
# vars [ ALSA_DEFAULT_CTL ]
# default pulse
# }
# ]
# }
#}
ctl.!default {
@func refer
name { @func concat
strings [ "ctl."
{ @func getenv
vars [ ALSA_DEFAULT_CTL ]
default pulse
}
]
}
}
# PulseAudio integration
pcm.pulse {
@ -59,8 +59,7 @@ ctl.bluetooth {
# Bluetooth headset
pcm.bluetooth {
# Combination of playback and capture PCM streams
# Slave PCMs can be defined asymmetrically for
# both directions
# Slave PCMs can be defined asymmetrically
type asym
playback.pcm {
type bluealsa
@ -79,7 +78,7 @@ pcm.sndio {
type sndio
}
# Set default device for current PCM (0 is speaker/headset, 7 is HDMI2)
# Set default device for current PCM
defaults.pcm.!device {
@func getenv
vars [ ALSA_DEVICE ]

4
audio/.config/ncmpcpp/config

@ -29,7 +29,7 @@ statusbar_color = default
statusbar_time_color = blue
song_list_format = {%a - }{%t}|{%f}$R{(%l)}
song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f}
song_columns_list_format = (50)[8]{ar} (50)[]{t|f: Title})
song_columns_list_format = (25)[8]{a} (30)[]{t|f: Title} (5)[8]{l}
song_library_format = $/b{%n - }{%t}|{%f}
user_interface = classic
@ -80,7 +80,7 @@ lines_scrolled = 2
allow_for_physical_item_deletion = yes
screen_switcher_mode = playlist, browser
execute_on_song_change = "~/.config/ncmpcpp/art"
execute_on_song_change = "~/.config/ncmpcpp/ncmpcpp-ueberzug/ncmpcpp_cover_art.sh && ~/.config/ncmpcpp/art"
; connected_message_on_startup = no
empty_tag_color = blue

Loading…
Cancel
Save