#!/bin/sh ## run (only once) processes which spawn with the same name function run { if (command -v $1 && ! pgrep $1); then $@& fi } run picom run nm-applet run blueman-applet run keepassxc run flameshot run discord