Remove pidctl.sh program starter script

This commit is contained in:
Riyyi
2019-12-30 15:14:11 +01:00
parent 54dc72df20
commit 93e714a823
4 changed files with 30 additions and 99 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
start() {
[ -z "$1" ] && return 1
[ -z "$(pidof -x "$(echo "$@" | cut -d ' ' -f 1)")" ] && $@ &
}
start firefox
start urxvt
# Thunar client doesnt get a new pid when running in daemon mode
[ "$(xdo id -a Thunar | wc -l)" -lt 3 ] && thunar &