summaryrefslogtreecommitdiff
path: root/dep.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dep.sh')
-rwxr-xr-xdep.sh71
1 files changed, 50 insertions, 21 deletions
diff --git a/dep.sh b/dep.sh
index 865a5be..2e51e18 100755
--- a/dep.sh
+++ b/dep.sh
@@ -29,39 +29,68 @@ check() {
retval=0
+# Optional Dependencies, skip QEMU and lualatex check
+[ "${1}" = "--optional" ] && check \
+ cmus \
+ latex,pdflatex:"latex is missing" \
+ neomutt,mutt \
+ pamus \
+ pandoc \
+ shellcheck \
+ ssh \
+ trans:"translate shell is missing" \
+ abook \
+ acpi \
+ cmus \
+ dash \
+ docker \
+ ffmpeg \
+ less \
+ pass \
+ python3 \
+ rsync \
+ sudo \
+ tldr:"a tldr implementation is missing" \
+ unclutter:"unclutter-xfixes is missing" \
+ yt-dlp
+
# Programs
check \
- Xorg \
- dunst \
- fzf \
- git \
- lf \
- mpv \
- picom \
- qutebrowser \
- scrot \
- setxkbmap \
- startx:"xorg-xinit is missing" \
- sxiv,nsxiv \
- vim,nvim \
- zathura \
- zsh,bash || retval=1
+ Xorg \
+ dunst \
+ fzf \
+ git \
+ lf \
+ mpv \
+ notify-send:"libnotify is missing" \
+ nsxiv,sxiv \
+ nvim,vim \
+ picom \
+ qutebrowser \
+ scrot \
+ setxkbmap \
+ startx:"xorg-xinit is missing" \
+ xclip \
+ zathura \
+ zsh,bash
# Script dependencies
check \
brightnessctl \
- pactl:"pulseaudio is missing" \
+ pulseaudio \
xgamma \
xinput \
xset \
- xwallpaper || retval=1
+ xwallpaper
# Build dependencies
check \
- cc:"c compiler is missing" \
- curl \
- ld:"linker is missing" \
- make \
+ cc:"c compiler is missing" \
+ curl \
+ fc-cache:"fontconfig is missing" \
+ ld:"linker is missing" \
+ make \
+ tic:"ncurses is missing" \
tar || retval=1
# Libraries