Doing silly things with window management
This commit is contained in:
17
xinitrc
17
xinitrc
@@ -1,2 +1,19 @@
|
||||
# vim:filetype=bash:expandtab:ts=2:sts=2
|
||||
setxkbmap dvorak
|
||||
|
||||
function _xinit_setup_xinput() {
|
||||
if ! xinput list &>/dev/null; then
|
||||
return
|
||||
fi
|
||||
|
||||
if ! xinput list-props 'Elan Touchpad' &>/dev/null; then
|
||||
return
|
||||
fi
|
||||
|
||||
xinput set-prop 'Elan Touchpad' \
|
||||
'libinput Natural Scrolling Enabled' 1
|
||||
}
|
||||
|
||||
_xinit_setup_xinput
|
||||
|
||||
exec leftwm
|
||||
|
Reference in New Issue
Block a user