#!/bin/sh set -e if [ "$(id -u)" -ne 0 ] ; then echo "Run as root" exit 1; fi pkgs=" base linux linux-zen linux-firmware vim lvm2 xfsprogs gdisk dosfstools btrfs-progs networkmanager wireless_tools xorg-server lightdm lightdm-gtk-greeter base-devel libconfig # dmenu-pinentry neovim git picom chromium firefox openssh feh qt5ct # https://wiki.archlinux.org/title/qt#Appearance oxygen oxygen-icons oxygen-icons-svg pass pass-otp xclip redshift pulseaudio pavucontrol xorg-apps alsa-utils usbutils tmux vlc xdotool podman gimp rlwrap # used for clj lxappearance gdb mandoc man-pages libfido2 scrot rsync shellcheck fuse net-tools efibootmgr evolution arandr seahorse mpd ncmpc noto-fonts-emoji the_silver_searcher pwgen openbsd-netcat bluez-utils bluez pulseaudio-bluetooth bluez-tools python-pip python-pyscard # for pip3 install --user ykman swig # ykman dunst buildah sipcalc docker ansible jdk11-openjdk jdk8-openjdk libvirt # If you want virt-manager qemu nsd # for drill a dig replacement rclone git-lfs avr-gcc avr-libc multipath-tools # kpartx ctags smartmontools gpa xfce4 xfce4-goodies picard # musicbrainz inkscape ncdu nm-connection-editor speedtest-cli iperf3 ntfs-3g pv exfat-utils zstd bind evince nload iotop hdparm wlroots fuzzel wl-clipboard pixz minisign ncspot avaihd colordiff ethtool kdenlive zathura zathura-pdf zathura-mupdf zathura-pdf-mupdf zathura-ps zathura-djvu neofetch wireguard wireguard-tools cmake dia ed htop whois shellcheck xournalpp libxcb xorg-xwayland libxkbcommon wayland-protocols" # pacman -S "$(echo "$pkgs" | awk '{print $1}' | tr '\n' ' ')" fn="/etc/systemd/logind.conf" bak="$fn.$(date +%s)" cp "$fn" "$bak" ed "$fn" </dev/null ; then rm "$bak" fi cat > /etc/udev/rules.d/99-removable.rules < /etc/pacman.d/hooks/95-bootbackup.hook <