wmstartup: Add tasks frameworking
Because one-off services are kind of hacky
This commit is contained in:
14
.config/dtfscripts/common_task.sh
Executable file
14
.config/dtfscripts/common_task.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#! /usr/bin/env bash
|
||||
#
|
||||
# wmstartup service common functions
|
||||
# Copyright (C) 2018 salt <salt@lap-th-e560-0>
|
||||
#
|
||||
# Distributed under terms of the MIT license.
|
||||
#
|
||||
|
||||
# Basic logging service. Do not override unless necessary
|
||||
function tsk_log() {
|
||||
if [ -z ${1+x} ]; then return 1; fi
|
||||
dtf_log "$task: $1"
|
||||
}
|
||||
|
Reference in New Issue
Block a user