/
xinitrc.sc2
39 lines (28 loc) · 1.56 KB
/
xinitrc.sc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
export GDK_SCALE=2 # 4k GTK3
export QT_AUTO_SCREEN_SCALE_FACTOR=0 # QT5 no auto scale
export QT_SCALE_FACTOR=2 # QT5 manual x2
# Kill X with C-A-BS
setxkbmap -option terminate:ctrl_alt_bksp
xrdb $HOME/.Xresources # load Xresources
xsetroot -solid black # black background
xset s 600 600 # set monitor to sleep
xset s off # disable screensaver
xset -b # Disable system bell
# sh $HOME/.fehbg &
# pgrep redshift &> /dev/null || redshift -r &> /dev/null &
# xautolock -time 10 -locker "~/.scripts/lock" &
# START $HOME/.scripts/input-xps15
setxkbmap -keycodes evdev us -variant colemak
xmodmap ~/dotfiles/xmodmap/xps15.sc2
xset r rate 250 40
# touchpad
xinput --set-prop 'DLL07BE:01 06CB:7A13 Touchpad' 'libinput Tapping Enabled' 1
xinput --set-prop 'DLL07BE:01 06CB:7A13 Touchpad' 'libinput Middle Emulation Enabled' 1
xinput --set-prop 'DLL07BE:01 06CB:7A13 Touchpad' 'libinput Accel Speed' 0.9
# xinput --set-prop 'pointer:Razer Razer DeathAdder 2013' 'libinput Accel Profile Enabled' 0 1
# xinput --set-prop 'pointer:Razer Razer DeathAdder 2013' 'Coordinate Transformation Matrix' 2.000000, 0.000000, 0.000000, 0.000000, 2.000000, 0.000000, 0.000000, 0.000000, 1.000000
xinput --set-prop 20 'libinput Accel Profile Enabled' 0 1
xinput --set-prop 20 'Coordinate Transformation Matrix' 1.500000, 0.000000, 0.000000, 0.000000, 1.500000, 0.000000, 0.000000, 0.000000, 1.000000
# END $HOME/.scripts/input-xps15
i3 -c ~/dotfiles/i3/config.sc2