home/.config/dtfscripts/common_task.sh
Salt e96a76e29a wmstartup: Add tasks frameworking
Because one-off services are kind of hacky
2018-08-27 20:28:58 -05:00

15 lines
298 B
Bash
Executable File

#! /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"
}