From 2149d1ebb7c5aad18dfd272afd21bf9502675255 Mon Sep 17 00:00:00 2001 From: Daja177 <59206235+Daja177@users.noreply.github.com> Date: Mon, 20 Jan 2020 13:35:00 +0100 Subject: move alsa config and add env variable --- .asoundrc | 21 --------------------- .config/alsa/asoundrc | 21 +++++++++++++++++++++ .profile | 1 + 3 files changed, 22 insertions(+), 21 deletions(-) delete mode 100644 .asoundrc create mode 100644 .config/alsa/asoundrc diff --git a/.asoundrc b/.asoundrc deleted file mode 100644 index 38722f0..0000000 --- a/.asoundrc +++ /dev/null @@ -1,21 +0,0 @@ -# Find and use input "Microphone" for input -pcm.usb -{ - type hw - card Microphone -} -pcm.!default -{ - type asym - playback.pcm - { - # Use the dmix plug to allow multiple outputs. - type plug - slave.pcm "dmix" - } - capture.pcm - { - type plug - slave.pcm "usb" - } -} diff --git a/.config/alsa/asoundrc b/.config/alsa/asoundrc new file mode 100644 index 0000000..38722f0 --- /dev/null +++ b/.config/alsa/asoundrc @@ -0,0 +1,21 @@ +# Find and use input "Microphone" for input +pcm.usb +{ + type hw + card Microphone +} +pcm.!default +{ + type asym + playback.pcm + { + # Use the dmix plug to allow multiple outputs. + type plug + slave.pcm "dmix" + } + capture.pcm + { + type plug + slave.pcm "usb" + } +} diff --git a/.profile b/.profile index e3543d9..09f8366 100644 --- a/.profile +++ b/.profile @@ -22,6 +22,7 @@ export LESSHISTFILE="-" export INPUTRC="$HOME/.config/inputrc" export ZDOTDIR="$HOME/.config/zsh" export PASSWORD_STORE_DIR="$HOME/.local/share/password-store" +export ALSA_CONFIG_PATH="$HOME/.config/alsa/asoundrc" # Other program settings: export DICS="/usr/share/stardict/dic/" -- cgit v1.3.1