mirror of
https://github.com/flynx/post-install.git
synced 2025-11-03 21:10:09 +00:00
added libinput-config
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6e919f072d
commit
d074599245
26
post-install
26
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(){ (
|
function feature-bashctrl(){ (
|
||||||
@ mkdir -p ~/work/
|
@ mkdir -p ~/work/
|
||||||
@ -554,12 +578,14 @@ EOF
|
|||||||
# - hibernate works on the second try only...
|
# - hibernate works on the second try only...
|
||||||
function feature-s1yoga-syspend(){
|
function feature-s1yoga-syspend(){
|
||||||
# XXX did not figure this one out yet...
|
# XXX did not figure this one out yet...
|
||||||
|
true
|
||||||
}
|
}
|
||||||
function feature-s1yoga-hibernate(){
|
function feature-s1yoga-hibernate(){
|
||||||
# XXX did not figure this one out yet...
|
# XXX did not figure this one out yet...
|
||||||
# XXX HACK (will this work?)
|
# XXX HACK (will this work?)
|
||||||
# if hibernate fails retry once
|
# if hibernate fails retry once
|
||||||
# if second try fails beep
|
# if second try fails beep
|
||||||
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user