wmstartup: Add tasks frameworking

Because one-off services are kind of hacky
This commit is contained in:
2018-08-27 20:28:58 -05:00
parent 8d17082a6c
commit e96a76e29a
8 changed files with 98 additions and 59 deletions

View File

@@ -1,15 +0,0 @@
#! /usr/bin/env bash
#
# Simple wmstartup service
# Copyright (C) 2018 salt <salt@lap-th-e560-0>
#
# Distributed under terms of the MIT license.
#
service_name="Krunner"
service_process="krunner"
function start() {
return 0
}

View File

@@ -1,22 +0,0 @@
#! /usr/bin/env bash
#
# Simple wmstartup service
# Copyright (C) 2018 salt <salt@lap-th-e560-0>
#
# Distributed under terms of the MIT license.
#
service_name="Xresources"
service_process="xrdbupdate"
service_kill_on_reload="false"
function start() {
svc_log "Updating"
$service_process $service_flags > /dev/null 2>&1 &
return 0
}
function stop() {
return 1
}