nixos-configs/eww/scripts/pfp.sh
2023-05-28 18:05:51 -04:00

12 lines
233 B
Bash
Executable file

#!/usr/bin/env bash
declare -a profiles_photos=("$HOME/.face.jpg" "$HOME/.face.png")
for pfp in ${profiles_photos[@]}; do
if test -f $pfp; then
echo $pfp
exit 0
fi
done
echo $HOME/.config/dk/eww/assets/default-pfp.png