2019-11-14 15:35:59 +01:00
|
|
|
##################################
|
|
|
|
# STARTING CONFIGURATION
|
|
|
|
##################################
|
|
|
|
|
2023-10-29 00:26:31 +02:00
|
|
|
# ALSA keybinding (won't work with some keyboards... scroll in polybar in that case)
|
2019-11-14 15:35:59 +01:00
|
|
|
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
|
2019-11-19 16:31:30 +01:00
|
|
|
|
2023-10-29 00:26:31 +02:00
|
|
|
# Luminosity on laptop
|
2023-10-29 14:55:36 +01:00
|
|
|
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 10%-
|
|
|
|
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +10%
|
2023-11-01 19:15:08 +01:00
|
|
|
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%-
|
2019-11-19 16:31:30 +01:00
|
|
|
|
2023-10-29 16:09:32 +01:00
|
|
|
# Get chosen DPI from Xresources, default 120
|
|
|
|
set_from_resource $dpi i3wm.dpi 120
|
2023-10-28 23:52:40 +02:00
|
|
|
# Only dunst seems to care about this setting
|
2023-10-29 16:09:32 +01:00
|
|
|
exec xrandr --dpi $dpi
|
2019-11-14 15:35:59 +01:00
|
|
|
|
|
|
|
##################################
|
|
|
|
# PROGRAMS STARTED AUTOMATICALLY
|
|
|
|
##################################
|
|
|
|
|
2023-10-29 00:26:31 +02:00
|
|
|
# set mouse acceleration for various types of devices so it works on multiple laptops
|
2019-11-14 15:35:59 +01:00
|
|
|
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
|
2023-10-29 00:26:31 +02:00
|
|
|
exec --no-startup-id xinput set-prop "Asus TouchPad" "libinput Accel Speed" 0.5
|
|
|
|
# That one supports tapping but is disabled by default!
|
|
|
|
exec --no-startup-id xinput set-prop "Asus TouchPad" "libinput Tapping Enabled" 1
|
2019-11-14 15:35:59 +01:00
|
|
|
##################################
|
|
|
|
# BINDINGS FOR STARTING PROGRAMS
|
|
|
|
##################################
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# BINDINGS FOR STANDARD OPERATIONS
|
|
|
|
##################################
|
|
|
|
|
|
|
|
##################################
|
|
|
|
# OPERATIONS FOR SPECIFIC WINDOWS
|
2023-11-01 19:15:08 +01:00
|
|
|
##################################
|