#!/bin/sh set -e if [ "$(id -u)" -ne 0 ] ; then echo "Run as root" exit 1; fi # Todo add in sipcalc, it's in the AUR now... pkgs=" alsa-utils ansible arandr base base-devel bind bluez bluez-tools bluez-utils btrfs-progs buildah chromium cmake colordiff ctags dosfstools dunst ed efibootmgr ethtool evince evolution exfat-utils feh firefox fuse fuzzel gdb gdisk gimp git git-lfs hdparm htop inkscape iotop iperf3 kdenlive libconfig # dmenu-pinentry libfido2 libvirt # If you want libxcb libxkbcommon lightdm lightdm-gtk-greeter linux linux-firmware linux-zen lvm2 lxappearance man-pages mandoc minisign mpd multipath-tools # kpartx ncdu ncmpc ncspot neovim net-tools networkmanager nload nm-connection-editor noto-fonts-emoji nsd # for drill a dig replacement ntfs-3g openbsd-netcat openssh oxygen oxygen-icons oxygen-icons-svg pass pass-otp pavucontrol picard # musicbrainz picom pixz podman pulseaudio pulseaudio-bluetooth pv pwgen python-pip python-pyscard # for pip3 install --user ykman qemu qt5ct # https://wiki.archlinux.org/title/qt#Appearance rclone redshift rsync scrot seahorse shellcheck shellcheck smartmontools speedtest-cli swig # ykman tmux usbutils v4l2loopback-dkms vim virt-manager vlc wayland-protocols whois wireguard-tools wireless_tools wl-clipboard wlroots0.17 wlroots0.18 wlroots0.19 xclip xdotool xfce4 xfce4-goodies xfsprogs xorg-apps xorg-server xorg-xwayland xournalpp zathura zathura-djvu zathura-pdf-mupdf zathura-ps zstd " #shellcheck disable=SC2046 pacman -S --needed $(echo "$pkgs" | awk '{print $1}' | tr '\n' ' ') grep -q '^KillUserProcesses=yes' /etc/systemd/logind.conf || \ echo "You may want to set KillUserProcesses=yes in /etc/systemd/logind.conf" grep -q '^HandleLidSwitch=ignore' /etc/systemd/logind.conf || \ echo "You may want to set HandleLidSwitch=ignore in /etc/systemd/logind.conf" cat > /etc/udev/rules.d/99-removable.rules < /etc/modprobe.d/v4l2loopback.conf < /etc/modules-load.d/v4l2loopback.conf <