home/.config/dtfscripts/services/compton.dtf

20 lines
326 B
Bash
Executable File

#! /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="Compton"
service_process="compton"
function prestart-extra() {
if [[ "$HOST" == "vm-*" ]]; then
svc_log "Will not start: in a VM" 2
return 1
fi
return 0
}