added libinput-config

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-09-08 19:01:35 +03:00
parent 6e919f072d
commit d074599245

View File

@ -444,6 +444,30 @@ function feature-keyd(){ (
) }
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-libinput-config(){ (
@ sudo dnf install libinput libinput-devel systemd-devel
@ mkdir -p ~/work/EXTERNAL
@ cd ~/work/EXTERNAL
if ! [ -d libinput-config ] ; then
@ git clone https://gitlab.com/warningnonpotablewater/libinput-config.git
fi
@ cd libinput-config
@ meson build
@ cd build
@ ninja
@ sudo ninja install
# config...
cat <<-EOF | sudo tee -a /etc/libinput.conf > /dev/null
scroll-factor=0.2
EOF
) }
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-bashctrl(){ (
@ mkdir -p ~/work/
@ -554,12 +578,14 @@ EOF
# - hibernate works on the second try only...
function feature-s1yoga-syspend(){
# XXX did not figure this one out yet...
true
}
function feature-s1yoga-hibernate(){
# XXX did not figure this one out yet...
# XXX HACK (will this work?)
# if hibernate fails retry once
# if second try fails beep
true
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -