wmstartup: Add more services, move service logic out of common.bash
This commit is contained in:
@@ -10,10 +10,7 @@ source $DTF_SERVICES_DIR/common.bash
|
||||
service_name="sxhkd"
|
||||
service_process="sxhkd"
|
||||
|
||||
function prestart() {
|
||||
if ! which $service_process > /dev/null 2>&1; then
|
||||
svc_log "Could not find process"
|
||||
fi
|
||||
function prestart-extra() {
|
||||
if ! pgrep bspwm > /dev/null 2>&1; then
|
||||
svc_log "Not under bspwm"
|
||||
return 1
|
||||
|
Reference in New Issue
Block a user