Remove alsa module due to external sound card

master
Quentin Duchemin 2024-02-01 18:12:10 +01:00
parent f126572738
commit 81d0d523b7
Signed by: Chosto
GPG Key ID: 96AB8AE7DFEA3D74
3 changed files with 4 additions and 12 deletions

View File

@ -13,10 +13,7 @@ workspace 7 output DVI-I-1
workspace 8 output DVI-I-1
workspace 9 output DVI-I-1
# ALSA key binding (media keys do not even have keycode...)
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 2%+
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 2%-
bindsym XF86AudioMute exec --no-startup-id amixer -D hw:PCH -M sset Master toggle
# ALSA key binding
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
bindsym XF86AudioNext exec --no-startup-id playerctl next
@ -39,10 +36,6 @@ exec --no-startup-id jack-matchmaker -p ~/.config/jack-matchmaker/patterns
# Start ALSA/Jack bridge for RODE mic
exec_always --no-startup-id zita-a2j -d hw:Mini -j Rode -c 1
# Set front and headphones to 100%, let master alone change with bindsyms
exec --no-startup-id amixer -D hw:PCH -M sset Front 100%
exec --no-startup-id amixer -D hw:PCH -M sset Headphone 100%
##################################
# BINDINGS FOR STARTING PROGRAMS
##################################
@ -62,9 +55,7 @@ bindsym Pause exec --no-startup-id bluetooth-autoconnect
##################################
# Scratchpad
for_window [class="Non-Mixer"] mark "mixer", move scratchpad
for_window [class="Catia*"] mark "jack", move scratchpad
bindsym $mod+Shift+j [con_mark="jack"] scratchpad show, move position center
bindsym $mod+Shift+v [con_mark="mixer"] scratchpad show, move position center
for_window [class="Pianoteq STAGE"] floating enable, move position center
assign [class="Pianoteq STAGE"] → number 6

View File

@ -4,7 +4,7 @@ height = 30
top_left = powermenu system-uptime-pretty
top_center = player-mpris
;top_center = xwindow
top_right = system-usb-udev alsa date
top_right = system-usb-udev date
bottom_left = i3
bottom_center = updates-arch-combined wired-network
bottom_right = temperature cpu memory filesystem-custom

View File

@ -210,6 +210,7 @@ if [ ! -z "${WM_RESTART}" ]; then
i3-msg restart
# Restart picom due to this bug https://github.com/yshui/picom/issues/166
killall picom; picom &>/dev/null &
killall picom
picom &>/dev/null &
fi