#!/bin/sh PROGRAMS=' aerc bemenu-run brightnessctl dunst foot gammastep grim htop khard lf mpv nvim pactl rifle slurp swappy sway swaylock vdirsyncer ' check_programs() { echo "$PROGRAMS" | while read -r program do if [ "$program" = '' ] then continue fi if ! command -v "$program" > /dev/null 2>&1 then echo "Program is missing: '$program'" fi done }