Update install scripts

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2022-01-04 16:31:19 +01:00
parent f8c131b5f3
commit 64a5b09320
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
4 changed files with 34 additions and 4 deletions

View file

@ -24,6 +24,7 @@ CONFIG_ETC_FILES=(
["/etc/vconsole.conf"]="644" ["/etc/vconsole.conf"]="644"
["/etc/X11/nvidia-xorg.conf.d/00-keyboard.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/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/00-keyboard.conf"]="644"
["/etc/X11/xorg.conf.d/20-displaylink.conf"]="644" ["/etc/X11/xorg.conf.d/20-displaylink.conf"]="644"
["/etc/zsh/zshenv"]="644" ["/etc/zsh/zshenv"]="644"
@ -31,6 +32,7 @@ CONFIG_ETC_FILES=(
["/etc/systemd/system.conf.d/00-limits.conf"]="644" ["/etc/systemd/system.conf.d/00-limits.conf"]="644"
["/etc/locale.gen"]="755" ["/etc/locale.gen"]="755"
["/etc/locale.conf"]="655" ["/etc/locale.conf"]="655"
["/etc/logid.cfg"]="655"
["/etc/sysctl.d/99-sysctl.conf"]="644" ["/etc/sysctl.d/99-sysctl.conf"]="644"
["/etc/bluetooth/main.conf"]="644" ["/etc/bluetooth/main.conf"]="644"
["/etc/modprobe.d/hid_apple.conf"]="644" ["/etc/modprobe.d/hid_apple.conf"]="644"

View file

@ -20,6 +20,10 @@ CONFIG_LINKED_FILES_HOME=(
".config/chromium-flags.conf" ".config/chromium-flags.conf"
".config/dconf" ".config/dconf"
".config/dunst" ".config/dunst"
".config/electron12-flags.conf"
".config/electron13-flags.conf"
".config/electron-flags.conf"
".config/environment.d"
".config/espanso" ".config/espanso"
".config/fontconfig" ".config/fontconfig"
".config/git" ".config/git"
@ -27,6 +31,7 @@ CONFIG_LINKED_FILES_HOME=(
".config/gtk-3.0" ".config/gtk-3.0"
".config/httpie" ".config/httpie"
".config/i3" ".config/i3"
".config/kanshi"
".config/maven" ".config/maven"
".config/mopidy" ".config/mopidy"
".config/mpd" ".config/mpd"
@ -45,13 +50,16 @@ CONFIG_LINKED_FILES_HOME=(
".config/starship" ".config/starship"
".config/streamlink" ".config/streamlink"
".config/ssh" ".config/ssh"
".config/sway"
".config/sxhkd" ".config/sxhkd"
".config/topgrade.toml" ".config/topgrade.toml"
".config/Thunar"
".config/Trolltech.conf" ".config/Trolltech.conf"
".config/user-dirs.dirs" ".config/user-dirs.dirs"
".config/user-dirs.locale" ".config/user-dirs.locale"
".config/vim" ".config/vim"
".config/vue" ".config/vue"
".config/waybar"
".config/wget" ".config/wget"
".config/X11" ".config/X11"
".config/yay" ".config/yay"
@ -59,7 +67,8 @@ CONFIG_LINKED_FILES_HOME=(
".config/zsh" ".config/zsh"
".config/kitty" ".config/kitty"
".local/bin" ".local/bin"
".local/share/gnupg/gpg-agent.conf" ".local/share/gnupg/gpg.conf"
".local/share/gnupg/dirmngr.conf"
) )
declare -A CONFIG_LINKED_FILES declare -A CONFIG_LINKED_FILES
@ -81,4 +90,4 @@ for file in "${!CONFIG_LINKED_FILES[@]}"; do
rm -rf "${file}" |& output::debug rm -rf "${file}" |& output::debug
ln -fs "${CONFIG_LINKED_FILES[${file}]}" "${file}" |& output::debug ln -fs "${CONFIG_LINKED_FILES[${file}]}" "${file}" |& output::debug
done done
output::success "Successfully created symlinks" output::success "Successfully created symlinks"

View file

@ -49,7 +49,6 @@ source "${INSTALL_DIR}/prerequisites.sh"
source "${INSTALL_DIR}/arch.sh" source "${INSTALL_DIR}/arch.sh"
source "${INSTALL_DIR}/rust.sh" source "${INSTALL_DIR}/rust.sh"
source "${INSTALL_DIR}/aur.sh" source "${INSTALL_DIR}/aur.sh"
source "${INSTALL_DIR}/npm.sh"
source "${INSTALL_DIR}/composer.sh" source "${INSTALL_DIR}/composer.sh"
source "${INSTALL_DIR}/ruby.sh" source "${INSTALL_DIR}/ruby.sh"
source "${INSTALL_DIR}/directories.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 " • Download settings for Visual Studio Code"
echo " • Start espanso" echo " • Start espanso"
echo " • Reboot the system" echo " • Reboot the system"

21
system/etc/logid.cfg Normal file
View file

@ -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"];
};
},
);
}
);