From 7f78a92b18a94732baf57ed921acf22f6c532f3d Mon Sep 17 00:00:00 2001 From: hazardchem Date: Fri, 3 Mar 2023 14:09:02 +1000 Subject: [PATCH] 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 Signed-off-by: Willow Barraco --- scripts/core/sxmo_winit.sh | 2 ++ scripts/core/sxmo_xinit.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/core/sxmo_winit.sh b/scripts/core/sxmo_winit.sh index 4bd141e..fa78061 100755 --- a/scripts/core/sxmo_winit.sh +++ b/scripts/core/sxmo_winit.sh @@ -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 diff --git a/scripts/core/sxmo_xinit.sh b/scripts/core/sxmo_xinit.sh index 0617ace..bbb9edb 100755 --- a/scripts/core/sxmo_xinit.sh +++ b/scripts/core/sxmo_xinit.sh @@ -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