################################## # STARTING CONFIGURATION ################################## # ALSA keybinding (won't work with some keyboards... scroll in polybar in that case) bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D hw:PCH -M sset Master 5%+ bindsym XF86AudioLowerVolume exec --no-startup-id aimxer -D hw:PCH -M sset Master 5%- bindsym XF86AudioMute exec --no-startup-id amixer -D hw:PCH -M sset 'Master' toggle # Luminosity on laptop bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%- bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5% bindsym XF86KbdBrightnessDown exec --no-startup-id brightnessctl -d asus::kbd_backlight set +5% bindsym XF86KbdBrightnessUp exec --no-startup-id brightnessctl -d asus::kbd_backlight set 5%- # Get chosen DPI from Xresources, default 120 set_from_resource $dpi i3wm.dpi 120 # Only dunst seems to care about this setting exec xrandr --dpi $dpi ################################## # PROGRAMS STARTED AUTOMATICALLY ################################## # set mouse acceleration for various types of devices so it works on multiple laptops exec --no-startup-id xinput set-prop 'FocalTechPS/2 FocalTech Touchpad' 'libinput Accel Speed' 0.8 exec --no-startup-id xinput set-prop 'Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)' 'libinput Accel Speed' 0.8 exec --no-startup-id xinput set-prop "Asus TouchPad" "libinput Accel Speed" 0.65 # That one supports tapping but is disabled by default! exec --no-startup-id xinput set-prop "Asus TouchPad" "libinput Tapping Enabled" 1 ################################## # BINDINGS FOR STARTING PROGRAMS ################################## ################################## # BINDINGS FOR STANDARD OPERATIONS ################################## ################################## # OPERATIONS FOR SPECIFIC WINDOWS ##################################