From de999408376fa3a6701334ba7de05b6d460ae4f1 Mon Sep 17 00:00:00 2001 From: AngeD Date: Thu, 5 Jan 2023 00:34:18 +0100 Subject: [PATCH] feat: hardcoded xorg devices --- .xinitrc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.xinitrc b/.xinitrc index 7a889d4..29b4c1b 100644 --- a/.xinitrc +++ b/.xinitrc @@ -5,16 +5,11 @@ setxkbmap us altgr-intl numlockx # mouse -( - DEV="$(xinput | grep Mouse | grep -Po 'id=\d+' | grep -Po '\d+')" - PROP='libinput Accel Profile Enabled' - - xinput set-prop "$DEV" 'libinput Accel Profile Enabled' 0, 1 -) +xinput set-prop 'pointer:Logitech G903' 'libinput Accel Profile Enabled' 0, 1 # touchpad ( - DEV="$(xinput | grep Touchpad | grep -Po 'id=\d+' | grep -Po '\d+')" + DEV='PNP0C50:0e 06CB:7E7E Touchpad' xinput set-prop "$DEV" 'libinput Natural Scrolling Enabled' 1 xinput set-prop "$DEV" 'libinput Tapping Enabled' 1