dotfiles/.config/i3/config.d/laptop

45 lines
2.0 KiB
Plaintext
Raw Normal View History

##################################
# 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
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%
bindsym XF86KbdBrightnessDown exec --no-startup-id brightnessctl -d asus::kbd_backlight set +10%
bindsym XF86KbdBrightnessUp exec --no-startup-id brightnessctl -d asus::kbd_backlight set 10%-
# Only dunst seems to care about this setting
2023-10-29 14:55:36 +01:00
exec xrandr --dpi 120
##################################
# 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.5
# 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
##################################
# Larger Thunderbird floating window
2022-09-12 12:10:30 +02:00
for_window [class="thunderbird" window_type="normal"] resize set 2500 1500
for_window [class="Signal"] resize set 2500 1500
for_window [class="Telegram"] resize set 2500 1500