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
|
|
|
|
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%-
|
2019-11-19 16:31:30 +01:00
|
|
|
|
2023-10-28 23:52:40 +02:00
|
|
|
# Only dunst seems to care about this setting
|
|
|
|
exec xrandr --dpi 90
|
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
|
|
|
|
##################################
|
2019-11-19 17:12:10 +01:00
|
|
|
|
|
|
|
# Larger Thunderbird floating window
|
2022-09-12 12:10:30 +02:00
|
|
|
for_window [class="thunderbird" window_type="normal"] resize set 2500 1500
|
2019-11-19 17:12:10 +01:00
|
|
|
for_window [class="Signal"] resize set 2500 1500
|
2020-05-14 15:29:26 +02:00
|
|
|
for_window [class="Telegram"] resize set 2500 1500
|