~kiwec/dotfiles

9c3d0fa76eac32bb9281a84cc6b30e8a10e53729 — Wolf Clement 6 months ago 1013c30
Linux 5.8 broke sound config
2 files changed, 22 insertions(+), 7 deletions(-)

A .asoundrc
M .config/i3/config
A .asoundrc => .asoundrc +14 -0
@@ 0,0 1,14 @@
pcm.!default {
    type hw
    card Generic
}

ctl.!default {
    type hw
    card Generic
}

pcm.dsp {
    type plug
    slave.pcm "dmix"
}

M .config/i3/config => .config/i3/config +8 -7
@@ 9,7 9,7 @@ font pango:monospace 8

floating_modifier $mod

bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec kitty
bindsym $mod+c kill
bindsym $mod+d exec dmenu_run -nb '#000000' -sb '#880000'



@@ 43,12 43,12 @@ bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5

bindsym Mod4+Up exec --no-startup-id amixer -c 0 sset Master 2dB+
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -c 0 sset Master 2dB+
bindsym Mod4+Down exec --no-startup-id amixer -c 0 sset Master 2dB-
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -c 0 sset Master 2dB-
bindsym Mod4+Return exec --no-startup-id amixer -c 0 sset Master toggle
bindsym XF86AudioMute exec --no-startup-id amixer -c 0 sset Master toggle
bindsym Mod4+Up exec --no-startup-id amixer sset Master 2dB+
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer sset Master 2dB+
bindsym Mod4+Down exec --no-startup-id amixer sset Master 2dB-
bindsym XF86AudioLowerVolume exec --no-startup-id amixer sset Master 2dB-
bindsym Mod4+Return exec --no-startup-id amixer sset Master toggle
bindsym XF86AudioMute exec --no-startup-id amixer sset Master toggle
bindsym Mod4+Space exec --no-startup-id cmus-remote -u
bindsym XF86AudioPlay exec --no-startup-id cmus-remote -u
bindsym Mod4+Right exec --no-startup-id cmus-remote -n


@@ 93,4 93,5 @@ for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable

exec --no-startup-id xrandr --output DP-0 --mode 1920x1080 --rate 240
exec --no-startup-id setxkbmap us,us -variant ,rus -option grp:caps_toggle
exec_always --no-startup-id feh --bg-fill ~/.config/i3/wallpaper.jpg