From d49143eb3b402c20a9f6deb2e400d5f62a27f7a6 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Mon, 2 Jun 2025 22:54:50 +0400 Subject: sorted alphabetically --- dep.sh | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/dep.sh b/dep.sh index bb886e5..137f43f 100755 --- a/dep.sh +++ b/dep.sh @@ -4,7 +4,7 @@ # `alternative_program` and `message` are optional check() { retval=0 - [ "$1" = "-l" ] && { ISLIB=1; shift;} || ISLIB=0 + [ "${1}" = "-l" ] && { ISLIB=1; shift;} || ISLIB=0 for entry in "${@}"; do fail=0 program_part=${entry%%:*} @@ -28,44 +28,44 @@ check() { # Programs check \ - git \ - lf \ - fzf \ - mpv \ - picom \ - qutebrowser \ - zathura \ - vim,nvim \ - sxiv,nsxiv \ - zsh,bash \ - dunst \ - scrot \ - startx:"xorg-xinit is missing" + dunst \ + fzf \ + git \ + lf \ + mpv \ + picom \ + qutebrowser \ + scrot \ + startx:"xorg-xinit is missing" \ + sxiv,nsxiv \ + vim,nvim \ + zathura \ + zsh,bash \ # TODO: check for xorg-server # Script dependencies check \ brightnessctl \ pactl:"pulseaudio is missing" \ + xgamma \ xinput \ xset \ - xwallpaper \ - xgamma + xwallpaper # Build dependencies check \ + cc:"c compiler is missing" \ curl \ - tar \ + ld:"linker is missing" \ make \ - cc:"c compiler is missing" \ - ld:"linker is missing" + tar # Libraries if check pkg-config; then check -l \ - xinerama \ + x11 \ xft \ - x11 + xinerama else echo "Warning: Skipping library check since 'pkg-config' is missing" >&2 fi -- cgit v1.2.3