installcheck 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ##### My (demuredemeanor) bashrc sub source install check script
  2. # Uses tabstop=4; shiftwidth=4 tabs; foldmarker={{{}}};
  3. # https://notabug.org/demure/dotfiles/
  4. # legacy repo http://github.com/demure/dotfiles
  5. # vim:set syntax=sh:
  6. ## NOTE: not using ',' as I want to be able to:
  7. # $(sudo aptitude install $MISSING_PROGRAMS)
  8. # or more reasonably:
  9. # $(for i in $MISSING_PROGRAMS; do sudo aptitude install $i; done)
  10. MISSING_CLI=""
  11. MISSING_GUI=""
  12. ### CLI ### {{{
  13. CLI_LIST=(docker pinfo qmv vim w3m neomutt tmux ncdu pass stow notmuch msmtp \
  14. mbsync urlview htop aircrack-ng mosh nmap fusermount exfatfsck fzf qemu-io \
  15. cacaview scanmem hexcurse lsof pidof tomb xset pinentry-curses pinentry-tty \
  16. ranger rfkill sshfs tree unar wget iotop parted caff fail2ban-client rsync \
  17. weechat diff file find gpg gpg2 nc lnav cheat dfc newsboat task redshift git \
  18. xdotool clamscan iftop syncthing wireshark hwmon bc entr gpm tlp sfill vit \
  19. curl lshw parallel minicom khal scdaemon grep less cmus mpv tmuxinator iw \
  20. dmidecode gawk bvi pandoc djmount openvpn resolvconf borg iptraf-ng make jq \
  21. acpi termdown cgdb ttyd trash-put udiskie mtr tsp fwupdmgr exiv2 z.sh unzip \
  22. pdfunite rubber epy tuir urlscan rlwrap)
  23. for i in "${CLI_LIST[@]}"; do
  24. if [[ ! $(command -v ${i}) ]]; then
  25. MISSING_CLI+="${i} "
  26. fi
  27. done
  28. ### End CLI ### }}}
  29. ### GUI ### {{{
  30. GUI_LIST=(rofi mcomix zathura feh scrot calibre i3lock xbacklight xfd \
  31. libreoffice chromium gparted xss-lock urxvt zeal i3 font-manager gimp \
  32. baobab gvim nitrogen touchegg unclutter autorandr srandrd neato compton xrdb \
  33. notify-send qtpass youtube-dl screenkey inkscape qutebrowser clipster xcalib \
  34. pinentry-gtk2 sgt-signpost polybar kitty conky firefox rofi-pass speedcrunch \
  35. setxkbmap)
  36. for i in "${GUI_LIST[@]}"; do
  37. if [[ ! $(command -v ${i}) ]]; then
  38. MISSING_GUI+="${i} "
  39. fi
  40. done
  41. ### End GUI ### }}}
  42. ### Font ### {{{
  43. ### End Font ### }}}