feat: remove xorg system config from xinitrc
This commit is contained in:
parent
c2926f8700
commit
f4b25fe6d5
13
.xinitrc
13
.xinitrc
@ -1,21 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# keyboard
|
# keyboard
|
||||||
setxkbmap us altgr-intl
|
|
||||||
numlockx
|
numlockx
|
||||||
|
|
||||||
# mouse
|
|
||||||
xinput set-prop 'pointer:Logitech G903' 'libinput Accel Profile Enabled' 0, 1
|
|
||||||
|
|
||||||
# touchpad
|
|
||||||
(
|
|
||||||
DEV='PNP0C50:0e 06CB:7E7E Touchpad'
|
|
||||||
|
|
||||||
xinput set-prop "$DEV" 'libinput Natural Scrolling Enabled' 1
|
|
||||||
xinput set-prop "$DEV" 'libinput Tapping Enabled' 1
|
|
||||||
xinput set-prop "$DEV" 'libinput Click Method Enabled' 0, 1
|
|
||||||
)
|
|
||||||
|
|
||||||
# display
|
# display
|
||||||
(
|
(
|
||||||
LAPTOP_SCREEN="$(xrandr --listmonitors | grep eDP | awk '{print $4}')"
|
LAPTOP_SCREEN="$(xrandr --listmonitors | grep eDP | awk '{print $4}')"
|
||||||
|
Loading…
Reference in New Issue
Block a user