From 64a5b09320fdd3a844f1e8b19bd936b0d294b8c6 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Tue, 4 Jan 2022 16:31:19 +0100 Subject: [PATCH] Update install scripts Signed-off-by: Severin Kaderli --- .install/etc.sh | 2 ++ .install/symlinks.sh | 13 +++++++++++-- install | 2 -- system/etc/logid.cfg | 21 +++++++++++++++++++++ 4 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 system/etc/logid.cfg diff --git a/.install/etc.sh b/.install/etc.sh index 2b38ebb..d561f9d 100644 --- a/.install/etc.sh +++ b/.install/etc.sh @@ -24,6 +24,7 @@ CONFIG_ETC_FILES=( ["/etc/vconsole.conf"]="644" ["/etc/X11/nvidia-xorg.conf.d/00-keyboard.conf"]="644" ["/etc/X11/nvidia-xorg.conf.d/20-displaylink.conf"]="644" + ["/etc/X11/nvidia-xorg.conf.d/30-Dual-Sense.conf"]="644" ["/etc/X11/xorg.conf.d/00-keyboard.conf"]="644" ["/etc/X11/xorg.conf.d/20-displaylink.conf"]="644" ["/etc/zsh/zshenv"]="644" @@ -31,6 +32,7 @@ CONFIG_ETC_FILES=( ["/etc/systemd/system.conf.d/00-limits.conf"]="644" ["/etc/locale.gen"]="755" ["/etc/locale.conf"]="655" + ["/etc/logid.cfg"]="655" ["/etc/sysctl.d/99-sysctl.conf"]="644" ["/etc/bluetooth/main.conf"]="644" ["/etc/modprobe.d/hid_apple.conf"]="644" diff --git a/.install/symlinks.sh b/.install/symlinks.sh index b9d6042..47c471a 100644 --- a/.install/symlinks.sh +++ b/.install/symlinks.sh @@ -20,6 +20,10 @@ CONFIG_LINKED_FILES_HOME=( ".config/chromium-flags.conf" ".config/dconf" ".config/dunst" + ".config/electron12-flags.conf" + ".config/electron13-flags.conf" + ".config/electron-flags.conf" + ".config/environment.d" ".config/espanso" ".config/fontconfig" ".config/git" @@ -27,6 +31,7 @@ CONFIG_LINKED_FILES_HOME=( ".config/gtk-3.0" ".config/httpie" ".config/i3" + ".config/kanshi" ".config/maven" ".config/mopidy" ".config/mpd" @@ -45,13 +50,16 @@ CONFIG_LINKED_FILES_HOME=( ".config/starship" ".config/streamlink" ".config/ssh" + ".config/sway" ".config/sxhkd" ".config/topgrade.toml" + ".config/Thunar" ".config/Trolltech.conf" ".config/user-dirs.dirs" ".config/user-dirs.locale" ".config/vim" ".config/vue" + ".config/waybar" ".config/wget" ".config/X11" ".config/yay" @@ -59,7 +67,8 @@ CONFIG_LINKED_FILES_HOME=( ".config/zsh" ".config/kitty" ".local/bin" - ".local/share/gnupg/gpg-agent.conf" + ".local/share/gnupg/gpg.conf" + ".local/share/gnupg/dirmngr.conf" ) declare -A CONFIG_LINKED_FILES @@ -81,4 +90,4 @@ for file in "${!CONFIG_LINKED_FILES[@]}"; do rm -rf "${file}" |& output::debug ln -fs "${CONFIG_LINKED_FILES[${file}]}" "${file}" |& output::debug done -output::success "Successfully created symlinks" \ No newline at end of file +output::success "Successfully created symlinks" diff --git a/install b/install index fe177f1..e450a49 100755 --- a/install +++ b/install @@ -49,7 +49,6 @@ source "${INSTALL_DIR}/prerequisites.sh" source "${INSTALL_DIR}/arch.sh" source "${INSTALL_DIR}/rust.sh" source "${INSTALL_DIR}/aur.sh" -source "${INSTALL_DIR}/npm.sh" source "${INSTALL_DIR}/composer.sh" source "${INSTALL_DIR}/ruby.sh" source "${INSTALL_DIR}/directories.sh" @@ -69,4 +68,3 @@ echo "${BOLD}Make sure you do the following after this installation:" echo " • Download settings for Visual Studio Code" echo " • Start espanso" echo " • Reboot the system" - diff --git a/system/etc/logid.cfg b/system/etc/logid.cfg new file mode 100644 index 0000000..438fb5a --- /dev/null +++ b/system/etc/logid.cfg @@ -0,0 +1,21 @@ +devices: ( +{ + name: "Wireless Mobile Mouse MX Anywhere 2S"; + hiresscroll: + { + hires: false; + invert: false; + target: false; + }; + buttons: ( + { + cid: 0x53; + action = + { + type: "Keypress"; + keys: ["KEY_LEFTSHIFT"]; + }; + }, + ); +} +);