Concession: Update, polish up startup tasks a bit
This commit is contained in:
parent
84289484be
commit
b1d5d069dc
@ -1 +1 @@
|
|||||||
Subproject commit 20652520191813acdbd6f8afeb190b63bec02eb8
|
Subproject commit eb590f5f6a20c5e09f7c97c2dfafbb3a6586c718
|
@ -1,11 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
#
|
|
||||||
# 00_dbus-launch.sh
|
|
||||||
# Copyright (C) 2018 salt <salt@lap-th-e560-0>
|
|
||||||
#
|
|
||||||
# Distributed under terms of the MIT license.
|
|
||||||
#
|
|
||||||
|
|
||||||
tsk_log "Launching dbus"
|
|
||||||
export $(dbus-launch)
|
|
||||||
|
|
24
.config/concession/tasks/00_ksmserver.sh
Normal file
24
.config/concession/tasks/00_ksmserver.sh
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
#
|
||||||
|
# 01_ksmserver.sh
|
||||||
|
# Copyright (C) 2018 salt <salt@lap-th-e560-0>
|
||||||
|
#
|
||||||
|
# Distributed under terms of the MIT license.
|
||||||
|
#
|
||||||
|
|
||||||
|
main() {
|
||||||
|
if ! which ksmserver > /dev/null 2>&1; then
|
||||||
|
tsk_log "Could not find ksmserver" 2
|
||||||
|
return 50
|
||||||
|
fi
|
||||||
|
if pgrep -U "$UID" ksmserver > /dev/null 2>&1; then
|
||||||
|
tsk_log "ksmserver is already running" 2
|
||||||
|
return 51
|
||||||
|
fi
|
||||||
|
ksmserver -w "/bin/true" --no-lockscreen &
|
||||||
|
sleep 1
|
||||||
|
export $(dbus-launch)
|
||||||
|
}
|
||||||
|
|
||||||
|
main $@
|
||||||
|
|
Loading…
Reference in New Issue
Block a user