nixos/config/awesome/autostart.sh

11 lines
166 B
Bash
Executable file

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