Added default programs, cleanup

This commit is contained in:
Joachim Nielandt 2021-10-29 08:39:50 +02:00
parent 18ed1ad83e
commit dd925d6891

View File

@ -175,15 +175,18 @@ bindsym $mod+F11 mode "$mode_audio"
set $mode_launch  adefault start-up bnoise-fix cdual dhorizontal etearing
mode "$mode_launch" {
# These are all the default programs launching at startup.
bindsym a exec hamsket, exec thunderbird, mode "default"
# This fixes audio noise
bindsym b exec sudo hda-verb /dev/snd/hwC*D0 0x1d SET_PIN_WIDGET_CONTROL 0x0, mode "default"
bindsym a exec slack, exec thunderbird, exec teams, exec signal-desktop, mode "default"
# This fixes audio noise (lenovo)
# bindsym b exec sudo hda-verb /dev/snd/hwC*D0 0x1d SET_PIN_WIDGET_CONTROL 0x0, mode "default"
# This bypasses weird xrandr bug, resets to single display, then goes back to triple monitor setup (use autorandr profile here, needs to be set up in advance)
#bindsym c exec xrandr --output eDP1 --mode 2560x1440, exec autorandr triple, mode "default"
bindsym c exec autorandr dual2k, mode "default"
# execute default horizontal layout of monitors
bindsym d exec autorandr horizontal, mode "default"
bindsym e exec nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
# this fixes tearing on nvidia
# bindsym e exec nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
# back to normal: Enter or Escape
bindsym Return mode "default"