15 lines
235 B
Bash
Executable file
15 lines
235 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 picom
|
|
run nm-applet
|
|
run blueman-applet
|
|
run keepassxc
|
|
run flameshot
|
|
run discord
|