wmstartup: Add tasks frameworking
Because one-off services are kind of hacky
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user