installcheck 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  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. MISSING_CLI=""
  9. MISSING_GUI=""
  10. ### CLI ### {{{
  11. CLI_LIST=(docker pinfo qmv vim w3m mutt mpv tmux ncdu pass stow notmuch msmtp offlineimap urlview htop aircrack-ng mosh nmap sshuttle fusermount exfatfsck qemu-io pianobar cacaview conky encfs scanmem hexcurse lsof pidof pinentry-curses pinentry-tty ranger rfkill sshfs tree unar wget iotop parted caff fail2ban-client wicd-curses rsync weechat diff file find gpg gpg2 mc lnav cheat dfc lemonbar newsbeuter task redshift xdotool git clamscan iftop wireshark aptitude hwmon)
  12. for i in "${CLI_LIST[@]}"; do
  13. if [[ ! $(command -v ${i}) ]]; then
  14. MISSING_CLI+="${i} "
  15. fi
  16. done
  17. ### End CLI ### }}}
  18. ### GUI ### {{{
  19. GUI_LIST=(rofi mcomix zathura xombrero terminator feh scrot volumeicon calibre redshift-gtk stalonetray i3lock xclip xnest xpra xbacklight spacefm spectrwm libreoffice clipit nm-applet chromium icedove cryptkeeper gparted xss-lock nvpy uzbl urxvt zeal i3 font-manager gimp baobab gvim)
  20. for i in "${GUI_LIST[@]}"; do
  21. if [[ ! $(command -v ${i}) ]]; then
  22. MISSING_GUI+="${i} "
  23. fi
  24. done
  25. ### End GUI ### }}}
  26. ### Font ### {{{
  27. ### End Font ### }}}