sway-config/check-pkg

5 lines
121 B
Bash

#!/usr/bin/env bash
while read -r pkg; do
pacman -Qi "$pkg" >/dev/null 2>&1 || printf '%s\n' "$pkg"
done < packages