home/.config/concession/services/10_sxhkd.dtf

20 lines
348 B
Plaintext
Raw Normal View History

2018-10-21 02:33:31 -05:00
#! /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="Simple X Hotkey Daemon"
service_process="sxhkd"
function prestart-extra() {
if ! pgrep -U "$UID" bspwm > /dev/null 2>&1; then
svc_log "Not under bspwm" 2
return 1
fi
return 0
}