installcheck 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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=(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. ### X GUI ### {{{
  30. X_GUI_LIST=(rofi mcomix zathura feh scrot calibre i3lock xbacklight xfd \
  31. libreoffice 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 playerctl)
  36. for i in "${X_GUI_LIST[@]}"; do
  37. if [[ ! $(command -v ${i}) ]]; then
  38. MISSING_GUI_X+="${i} "
  39. fi
  40. done
  41. ### End X GUI ### }}}
  42. ### W GUI ### {{{
  43. W_GUI_LIST=(mcomix zathura calibre libreoffice gparted zeal font-manager \
  44. gimp baobab gvim touchegg neato notify-send qtpass youtube-dl yt-dlp \
  45. inkscape qutebrowser pinentry-gtk2 sgt-signpost kitty firefox speedcrunch \
  46. playerctl sway swaylock wofi wofi-pass wev wshowkeys grim grimshot swayimg \
  47. nwg-displays shikane wpaperd wvkbd-mobintl cliphist pqiv)
  48. for i in "${W_GUI_LIST[@]}"; do
  49. if [[ ! $(command -v ${i}) ]]; then
  50. MISSING_GUI_W+="${i} "
  51. fi
  52. done
  53. ### End GUI ### }}}
  54. ### Font ### {{{
  55. ### End Font ### }}}