From d074599245d4922d7a622979a64986e9f7a218e8 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 8 Sep 2023 19:01:35 +0300 Subject: [PATCH] added libinput-config Signed-off-by: Alex A. Naanou --- post-install | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/post-install b/post-install index 841daed..10a0f19 100755 --- a/post-install +++ b/post-install @@ -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 } # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -