From fb886c0df69a313417ebde13241b5f9ec64177b9 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 3 Dec 2023 11:37:58 -0600 Subject: sorted and separated supplemental software installs + removals no need for: - topgrade - plexamp also - swapped gnome-calculator for qalculate-gtk - grouped language installs by language - set grub timeout to 0 --- archsetup | 169 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 87 insertions(+), 82 deletions(-) diff --git a/archsetup b/archsetup index 9c8ced2..6419020 100755 --- a/archsetup +++ b/archsetup @@ -114,8 +114,7 @@ pacman_install() { (pacman --noconfirm --needed -S "$1" >> "$logfile" 2>&1) || error "error" "$action" "$?" fi - fi - + fi } # Git Install @@ -574,7 +573,7 @@ desktop_environment() { action="Desktop Environment Utilities" && display "subtitle" "$action" for software in brightnessctl xautolock network-manager-applet xclip bc \ - conky nitrogen; do + conky nitrogen qalculate-gtk; do pacman_install $software done; @@ -582,8 +581,6 @@ desktop_environment() { aur_install caffeine-ng aur_install alarm-clock-applet aur_install colorpicker - aur_install gnome-calculator - # Theme and Cursor @@ -622,34 +619,42 @@ developer_workstation () { action="Developer Workstation" && display "title" "$action" - action="Programming Languages and Utilities" && display "subtitle" "$action" + action="Programming Languages and Utilities" && display "subtitle" "$action" + # C pacman_install clang # C/C++ compiler pacman_install cmake # make system pacman_install gdb # the gnu debugger pacman_install splint # C programming static analysis pacman_install valgrind # memory management utility + # Lisp pacman_install sbcl # Steel Bank Common Lisp - aur_install mit-scheme # MIT Scheme (SICP) pacman_install guile # GNU Scheme + aur_install mit-scheme # MIT Scheme (SICP) + # Rust pacman_install rust # Rust programming language + # Python pacman_install pyright # Python language server + # Shell pacman_install shellcheck # Shell script linter pacman_install shfmt # Shell script formatter + # Go pacman_install go-tools # Go language utilities pacman_install gopls # Go language server pacman_install delve # Go programming language debugger pacman_install staticcheck # Go programming language linter + # Typescript pacman_install typescript # Typescript programming language pacman_install npm # Node-js package manager aur_install nvm # Node-js version manager pacman_install jq # JSON processor + # General Utilities pacman_install meld # Visual diff pacman_install ripgrep # Fast grep utility @@ -661,24 +666,24 @@ developer_workstation () { pacman_install emacs # supporting utilities used by my emacs configuration - pacman_install aspell # spell check system - pacman_install aspell-en # spell check english files - aur_install multimarkdown # markdown conversion - pacman_install sdcv # stardict dictionary system - pacman_install fd # a faster find for dired/dirvish - pacman_install imagemagick # image previews for dired/dirvish - pacman_install mediainfo # generating media info in dired/dirvish - pacman_install ffmpegthumbnailer # video previews in dired/dirvish - aur_install mu # email indexer and utilities - aur_install isync # email sync - pacman_install yt-dlp # video download - pacman_install mpv # video viewer - aur_install proselint # grammar checker aur_install exercism-bin # command line tool for exercism.io - pacman_install python-lsp-server # python language support - pacman_install rlwrap # adds readline support to programs (SBCL-related) + aur_install isync # email sync + aur_install mu # email indexer and utilities + aur_install multimarkdown # markdown conversion + aur_install proselint # grammar checker + pacman_install mpv # video viewer pacman_install msmtp # mail transport for Mu4e pacman_install msmtp-mta # mail transport for Mu4e + pacman_install python-lsp-server # python language support + pacman_install rlwrap # adds readline support to programs (SBCL-related) + pacman_install yt-dlp # video download + pacman_install aspell # spell check system + pacman_install aspell-en # spell check english files + pacman_install fd # a faster find for dired/dirvish + pacman_install ffmpegthumbnailer # video previews in dired/dirvish + pacman_install imagemagick # image previews for dired/dirvish + pacman_install mediainfo # generating media info in dired/dirvish + pacman_install sdcv # stardict dictionary system action="setting up emacs configuration files" && display "task" "$action" (sudo -u "$username" git clone --recurse-submodules $dotemacs_repo /home/$username/.emacs.d >> \ @@ -712,19 +717,20 @@ supplemental_software() { display "title" "Supplemental Software" - # pacman installs - pacman_install arandr # xrandr gui for monitor settings - pacman_install arch-install-scripts # for making arch installers - pacman_install archinstall # the archinstall python program + # pacman installs + pacman_install arandr # xrandr gui for monitor settings + pacman_install arch-install-scripts # for making arch installers + pacman_install archinstall # the archinstall python program pacman_install aria2 # fast downloader + pacman_install calibre # ebook manager/viewer pacman_install dash # posix compliant /bin/sh + pacman_install dfc # better display of available space on mounted filesystems pacman_install docx2txt # recovers text from docx files pacman_install entr # run arbitrary commands when files change pacman_install faac # open source mpeg 3 and aac encoder pacman_install faad2 # processes an aac stream - pacman_install filezilla # ftp gui pacman_install figlet # words into ascii art - aur_install figlet-fonts # fonts for figlet + pacman_install filezilla # ftp gui pacman_install gparted # disk partition utility pacman_install gst-plugin-pipewire # gstreamer audio plugin for pipewire pacman_install gst-plugins-base # gstreamer base audio plugins @@ -733,73 +739,72 @@ supplemental_software() { pacman_install gucharmap # gui display of character maps pacman_install gzip # compression tool pacman_install handbrake # video transcoder - pacman_install ledger # CLI accounting software + pacman_install ledger # CLI accounting software pacman_install libconfig # library for processing structured config files - pacman_install libmad # mpeg audio decoder - pacman_install libmpeg2 # library for decoding mpeg video streams - pacman_install maim # screenshot utility - pacman_install mediainfo # technical and tag information about media files - pacman_install mosh # alt SSH terminal with roaming and responsiveness support - pacman_install mpc # command line interface to mpd - pacman_install mpd # the music player daemon - pacman_install ncmpcpp # and mpd client to play music - pacman_install neofetch # cli system information tool - pacman_install odt2txt # converts from open document to text - pacman_install p7zip # p7zip compression tool - pacman_install pandoc # universal document converter - 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 libmad # mpeg audio decoder + pacman_install libmpeg2 # library for decoding mpeg video streams + pacman_install maim # screenshot utility + pacman_install mediainfo # technical and tag information about media files + pacman_install mosh # alt SSH terminal with roaming and responsiveness support + pacman_install mpc # command line interface to mpd + pacman_install mpd # the music player daemon + pacman_install ncmpcpp # and mpd client to play music + pacman_install neofetch # cli system information tool + pacman_install odt2txt # converts from open document to text + pacman_install p7zip # p7zip compression tool + pacman_install pandoc # universal document converter + pacman_install perl-image-exiftool # reads/writes exif info for raw photo files + pacman_install poppler-glib # poppler-glib document viewer library + pacman_install pv # monitor progress of data through pipeline + pacman_install ranger # terminal file manager + pacman_install rclone # syncs files from gdrive, s3, dropbox, etc. pacman_install smartmontools # monitors hard drives pacman_install texlive-meta # latex - pacman_install thunderbird # email, calendar, rss feeds - pacman_install transmission-cli # bittorrent client - pacman_install transmission-remote-gtk # bittorrent client - pacman_install unclutter # hides mouse cursor when not being used - pacman_install w3m # text based browser - pacman_install wavpack # audio compression format - pacman_install webkit2gtk # web content engine for GTK - pacman_install xdotool # command line xorg automation tool - pacman_install xz # general purpose data compression tool - pacman_install zathura # document viewer - pacman_install zathura-cb # zathura plugin for comics - pacman_install zathura-djvu # zathura plugin for djvu books - pacman_install zathura-pdf-mupdf # zathura plugin for pdf - pacman_install poppler-glib # poppler-glib document viewer library - pacman_install zlib # compression library - aur_install authy # two-factor authenticator + pacman_install thunderbird # email, calendar, rss feeds + pacman_install transmission-cli # bittorrent client + pacman_install transmission-remote-gtk # bittorrent client + pacman_install unclutter # hides mouse cursor when not being used + pacman_install w3m # text based browser + pacman_install wavpack # audio compression format + pacman_install webkit2gtk # web content engine for GTK + pacman_install xcb-util-cursor # calibre dependency (calibre installed manually) + pacman_install xdotool # command line xorg automation tool + pacman_install xz # general purpose data compression tool + pacman_install zathura # document viewer + pacman_install zathura-cb # zathura plugin for comics + pacman_install zathura-djvu # zathura plugin for djvu books + pacman_install zathura-pdf-mupdf # zathura plugin for pdf + pacman_install zlib # compression library + + # aur installs + aur_install authy # two-factor authenticator aur_install dtrx # extraction tool - aur_install hfsprogs # file system tools for Mac OS - aur_install mcomix # image viewer for comic books - aur_install nsxiv # image viewer - aur_install picom-jonaburg-git # xorg compositor with enhancements - aur_install plexamp-appimage # music player - aur_install topgrade # invokes upgrade procedures of various package maangers - aur_install tremc # curses interface for transmission + aur_install figlet-fonts # fonts for figlet + aur_install hfsprogs # file system tools for Mac OS + aur_install mcomix # image viewer for comic books + aur_install nsxiv # image viewer + aur_install picom-jonaburg-git # xorg compositor with enhancements aur_install tageditor # metadata editor for mkv, webm and related video files - aur_install zsh-fast-syntax-highlighting-git # Optimized and extended zsh-syntax-highlighting - git_install https://github.com/clamiax/snore.git # sleep with feedback - 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 + aur_install tremc # curses interface for transmission + aur_install zsh-fast-syntax-highlighting-git # Optimized and extended zsh-syntax-highlighting + + # git installs + git_install https://github.com/clamiax/snore.git # sleep with feedback # some nice fonts - pacman_install ttf-crimson-pro - pacman_install ttf-crimson-pro-variable - pacman_install ttf-sourcecodepro-nerd + aur_install ttf-lato + pacman_install ttf-crimson-pro + pacman_install ttf-crimson-pro-variable pacman_install ttf-go-nerd - pacman_install ttf-jetbrains-mono-nerd - pacman_install ttf-meslo-nerd - aur_install ttf-lato + pacman_install ttf-jetbrains-mono-nerd + pacman_install ttf-meslo-nerd + pacman_install ttf-sourcecodepro-nerd } ### Boot-Related - - silent_boot() { action="Silent Boot" && display "title" "$action" @@ -845,7 +850,7 @@ silent_boot() { # if grub, reset timeouts and adjust log levels if [ -f /etc/default/grub ]; then action="resetting timeouts and adjusting log levels on grub boot" && display "task" "$action" - sed -i "s/.*GRUB_TIMEOUT=.*/GRUB_TIMEOUT=2/g" /etc/default/grub + sed -i "s/.*GRUB_TIMEOUT=.*/GRUB_TIMEOUT=0/g" /etc/default/grub sed -i "s/.*GRUB_DEFAULT=.*/GRUB_DEFAULT=0/g" /etc/default/grub sed -i "s/.*GRUB_RECORDFAIL_TIMEOUT=.*/GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT/g" /etc/default/grub sed -i "s/.*GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT=\"rw quiet loglevel=2 rd.systemd.show_status=auto rd.udev.log_level=2 nvme.noacpi=1 mem_sleep_default=deep nowatchdog\"/g" /etc/default/grub -- cgit v1.2.3