summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchsetup58
1 files changed, 32 insertions, 26 deletions
diff --git a/archsetup b/archsetup
index 1457282..2a586fe 100755
--- a/archsetup
+++ b/archsetup
@@ -3,20 +3,17 @@
# License: GNU GPLv3
# Commentary
-: '
-
-Notes:
-
-There are two levels of errors:
-* CRASH: Issues that will halt forward progress, aborting this script.
-* ERROR: Issues not serious enough to halt the script.
-Both are printed on screen and in the $logfile.
-Stderr is also printed to the $logfile for all relevant info.
-
-This script creates a tmpfs RAM disk for all compilation. This speeds up
-building and installing, and all source code no longer exists after reboot.
-'
-# Code
+#
+# There are two levels of errors:
+# * CRASH: Issues that will halt forward progress, aborting this script.
+# * ERROR: Issues not serious enough to halt the script.
+# Both are printed on screen and in the $logfile.
+# Stderr is also printed to the $logfile for all relevant info.
+#
+# This script creates a tmpfs RAM disk for all compilation. This speeds up
+# building and installing, and all source code no longer exists after reboot.
+#
+# # Code
# uncomment to stop on any error
# set -e
@@ -181,7 +178,7 @@ prerequisites() {
display "subtitle" "Bootstrapping"
action="ensuring current Arch Linux keyring" && display "task" "$action"
- (pacman -S --noconfirm archlinux-keyring) >> $logfile 2>&1 || \
+ (pacman -S --noconfirm archlinux-keyring) >> "$logfile" 2>&1 || \
error "crash" "$action" "$?"
display "task" "verifying Arch Linux keys"
@@ -541,7 +538,7 @@ desktop_environment() {
pacman_install $software
done
action="enabling bluetooth to launch at boot" && display "task" "$action"
- systemctl enable bluetooth.service >> "$logfile" 2>&1 ||e || error "error" "$action" "$?"
+ systemctl enable bluetooth.service >> "$logfile" 2>&1 || error "error" "$action" "$?"
# Command Line Utilities
@@ -565,11 +562,19 @@ desktop_environment() {
aur_install cht.sh-git
pacman_install tealdeer
+ # Sync Services
+
+ action="Sync Services" && display "subtitle" "$action"
+
+ pacman_install syncthing
+ systemctl enable syncthing@$username.service >> "$logfile" 2>&1 || error "error" "$action" "$?"
+
# Desktop Environment Utilities
action="Desktop Environment Utilities" && display "subtitle" "$action"
- for software in brightnessctl xautolock network-manager-applet xclip bc nitrogen; do
+ for software in brightnessctl xautolock network-manager-applet xclip bc \
+ conky nitrogen; do
pacman_install $software
done;
@@ -579,12 +584,12 @@ desktop_environment() {
aur_install colorpicker
aur_install gnome-calculator
+
# Theme and Cursor
action="UI Theme" && display "subtitle" "$action"
- for software in lxappearance gnome-themes-extra gtk-engine-murrine \
- adwaita-qt5 adwaita-qt6; do
+ for software in lxappearance gnome-themes-extra gtk-engine-murrine; do
pacman_install $software
done;
@@ -593,17 +598,17 @@ desktop_environment() {
aur_install $software
done;
-
# Browsers
action="Browsers" && display "subtitle" "$action"
pacman_install firefox
aur_install librewolf-bin
- aur_install tor-browser
+ aur_install tor-browser
+ aur_install google-chrome-stable
- # Install Printing
+ # Install Printing
- action="Print System" && display "subtitle" "$action"
+ action="Print System" && display "subtitle" "$action"
for software in cups cups-pdf foomatic-db-engine foomatic-db-ppds foomatic-db-nonfree-ppds \
gutenprint foomatic-db-gutenprint-ppds nss-mdns; do
pacman_install "$software"
@@ -743,8 +748,7 @@ supplemental_software() {
pacman_install perl-image-exiftool # reads/writes exif info for raw photo files
pacman_install pv # monitor progress of data through pipeline
pacman_install rclone # syncs files from gdrive, s3, dropbox, etc.
- pacman_install smartmontools # monitors hard drives
- pacman_install syncthing # sync utility
+ pacman_install smartmontools # monitors hard drives
pacman_install texlive-meta # latex
pacman_install thunderbird # email, calendar, rss feeds
pacman_install transmission-cli # bittorrent client
@@ -775,6 +779,8 @@ supplemental_software() {
pacman_install ranger # terminal file manager
pacman_install dfc # better display of available space on mounted filesystems
aur_install tidal-dl # tidal-dl:tidal as yt-dlp:youtube
+ pacman_install xcb-util-cursor # calibre dependency (calibre installed manually)
+ pacman_install calibre # ebook manager/viewer
# some nice fonts
pacman_install ttf-crimson-pro
@@ -850,7 +856,7 @@ outro() {
action="Cleanup" && display "title" "$action"
action="forcing user password change on first login" && display "task" "$action"
- chage -d 0 "$username" >> $logfile 2>&1 || error "error" "$action" "$?"
+ chage -d 0 "$username" >> "$logfile" 2>&1 || error "error" "$action" "$?"
display "subtitle" "Statistics"
action="identifying newly installed packages" && display "task" "$action"