From eef68b4fe92edc9b63697a00b06fc2a1fc4ee4a0 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Fri, 21 Feb 2025 08:43:20 +0000 Subject: [PATCH] Update bootstrap --- .config/yadm/bootstrap.d/09-node | 4 +-- .config/yadm/bootstrap.d/10-xorg | 2 ++ .config/yadm/bootstrap.d/2q | 1 - .config/yadm/files/40-libinput.conf | 54 +++++++++++++++++++++++++++++ .config/yadm/files/packages.txt | 1 + 5 files changed, 59 insertions(+), 3 deletions(-) create mode 100755 .config/yadm/bootstrap.d/10-xorg delete mode 100644 .config/yadm/bootstrap.d/2q create mode 100644 .config/yadm/files/40-libinput.conf diff --git a/.config/yadm/bootstrap.d/09-node b/.config/yadm/bootstrap.d/09-node index 1291307..304b394 100755 --- a/.config/yadm/bootstrap.d/09-node +++ b/.config/yadm/bootstrap.d/09-node @@ -1,6 +1,6 @@ #!/bin/bash if command -v nvm >/dev/null 2>&1; then - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash -else exit 0 +else + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash fi diff --git a/.config/yadm/bootstrap.d/10-xorg b/.config/yadm/bootstrap.d/10-xorg new file mode 100755 index 0000000..d432df4 --- /dev/null +++ b/.config/yadm/bootstrap.d/10-xorg @@ -0,0 +1,2 @@ +#!/bin/bash +sudo cp $HOME/.config/yadm/files/40-libinput.conf /usr/share/X11/xorg.conf.d/ diff --git a/.config/yadm/bootstrap.d/2q b/.config/yadm/bootstrap.d/2q deleted file mode 100644 index a9bf588..0000000 --- a/.config/yadm/bootstrap.d/2q +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash diff --git a/.config/yadm/files/40-libinput.conf b/.config/yadm/files/40-libinput.conf new file mode 100644 index 0000000..831699a --- /dev/null +++ b/.config/yadm/files/40-libinput.conf @@ -0,0 +1,54 @@ +# Match on all types of devices but joysticks +# +# If you want to configure your devices, do not copy this file. +# Instead, use a config snippet that contains something like this: +# +# Section "InputClass" +# Identifier "something or other" +# MatchDriver "libinput" +# +# MatchIsTouchpad "on" +# ... other Match directives ... +# Option "someoption" "value" +# EndSection +# +# This applies the option any libinput device also matched by the other +# directives. See the xorg.conf(5) man page for more info on +# matching devices. + +Section "InputClass" + Identifier "libinput pointer catchall" + MatchIsPointer "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput keyboard catchall" + MatchIsKeyboard "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput touchpad catchall" + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" + Option "NaturalScrolling" "True" + Option "TappingButtonMap" "lrm" +EndSection + +Section "InputClass" + Identifier "libinput touchscreen catchall" + MatchIsTouchscreen "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection + +Section "InputClass" + Identifier "libinput tablet catchall" + MatchIsTablet "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" +EndSection diff --git a/.config/yadm/files/packages.txt b/.config/yadm/files/packages.txt index e27787d..506e528 100644 --- a/.config/yadm/files/packages.txt +++ b/.config/yadm/files/packages.txt @@ -11,6 +11,7 @@ i3-wm i3lock keepassxc keepmenu +neovim nextcloud-client nitrogen noto-fonts-emoji