Prescide proces graphic interprete
Install
# Ninja and Meson build systems
sudo apt-get install -y ninja-build python3-pip python3-setuptools pkg-config
pip3 install meson searchandrescue
# Dependencies
sudo apt-get install -y libpng-dev libcairo2-dev libx11-dev
git clone https://gitlab.com/mildlyparallel/pscircle.git
mkdir build && cd build
meson ..
ninja
sudo ninja install
Example:
#!/bin/bash
set -e
output=pscircle.png
pscircle --output=$output
if command -v feh >/dev/null; then
feh --bg-fill $output
rm $output
fi