mirror of
https://github.com/flynx/post-install.git
synced 2025-12-24 20:31:57 +00:00
Compare commits
4 Commits
6e919f072d
...
0d7d559170
| Author | SHA1 | Date | |
|---|---|---|---|
| 0d7d559170 | |||
| 125843361e | |||
| 8f487c00af | |||
| d074599245 |
34
post-install
34
post-install
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user