Compare commits

...

4 Commits

Author SHA1 Message Date
0d7d559170 more tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-09-08 22:17:52 +03:00
125843361e more refs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-09-08 19:06:34 +03:00
8f487c00af refs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-09-08 19:03:54 +03:00
d074599245 added libinput-config
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-09-08 19:01:35 +03:00

View File

@ -427,6 +427,8 @@ function feature-vim(){
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# see:
# https://github.com/rvaiya/keyd
function feature-keyd(){ ( function feature-keyd(){ (
@ mkdir -p ~/work/EXTERNAL @ mkdir -p ~/work/EXTERNAL
@ cd ~/work/EXTERNAL @ cd ~/work/EXTERNAL
@ -444,6 +446,36 @@ function feature-keyd(){ (
) } ) }
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# see:
# https://gitlab.com/warningnonpotablewater/libinput-config
# https://www.reddit.com/r/Fedora/comments/qn0o9w/adjust_touchpad_scroll_speed_enable_mouse_wheel/
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
# for more info on options see:
# https://gitlab.com/warningnonpotablewater/libinput-config
scroll-factor=0.2
gesture-speed=1.5
EOF
) }
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function feature-bashctrl(){ ( function feature-bashctrl(){ (
@ mkdir -p ~/work/ @ mkdir -p ~/work/
@ -554,12 +586,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
} }
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -