installcheck 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 mutt tmux ncdu pass stow notmuch msmtp \
  14. offlineimap urlview htop aircrack-ng mosh nmap sshuttle fusermount exfatfsck \
  15. qemu-io pianobar cacaview conky scanmem hexcurse lsof pidof apt-listbugs \
  16. pinentry-curses pinentry-tty ranger rfkill sshfs tree unar wget iotop parted \
  17. caff fail2ban-client wicd-curses rsync weechat diff file find gpg gpg2 mc \
  18. lnav cheat dfc lemonbar newsboat task redshift xdotool git clamscan iftop \
  19. wireshark aptitude hwmon bc entr gpm tlp sfill vit curl lshw parallel minicom \
  20. khal scdaemon grep less cmus mpv tmuxinator iw goobook dmidecode gawk bvi \
  21. pandoc djmount terminal_velocity openvpn resolvconf borg iptraf-ng make acpi \
  22. termdown cgdb jq)
  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 xnest xpra xbacklight \
  31. spacefm libreoffice chromium gparted xss-lock urxvt zeal i3 font-manager gimp \
  32. baobab gvim nitrogen touchegg unclutter autorandr srandrd neato compton \
  33. notify-send qtpass youtube-dl screenkey inkscape qutebrowser clipster xcalib \
  34. pinentry-gtk2 sgt-signpost)
  35. for i in "${GUI_LIST[@]}"; do
  36. if [[ ! $(command -v ${i}) ]]; then
  37. MISSING_GUI+="${i} "
  38. fi
  39. done
  40. ### End GUI ### }}}
  41. ### Font ### {{{
  42. ### End Font ### }}}