winit.sh/xinit.sh: added pkill superd before starting WM.

This patch superseeds the following:

https://lists.sr.ht/~mil/sxmo-devel/patches/39336

This should prevent situations where superd still lives and causes issues on start.

Signed-off-by: hazardchem <pthom44@live.com.au>
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
This commit is contained in:
hazardchem
2023-03-03 14:09:02 +10:00
committed by Willow Barraco
parent 5f0516bed7
commit 7f78a92b18
2 changed files with 4 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ cleanup() {
sxmo_daemons.sh stop all
pkill bemenu
pkill wvkbd
pkill superd
}
init() {
@@ -54,6 +55,7 @@ init() {
# shellcheck disable=SC1090,SC1091
. "$XDG_CONFIG_HOME/sxmo/profile"
cleanup
start
cleanup
sxmo_hook_stop.sh

View File

@@ -63,6 +63,7 @@ cleanup() {
sxmo_daemons.sh stop all
pkill svkbd
pkill dmenu
pkill superd
}
init() {
@@ -79,6 +80,7 @@ init() {
# shellcheck disable=SC1090,SC1091
. "$XDG_CONFIG_HOME/sxmo/profile"
cleanup
start
cleanup
sxmo_hook_stop.sh