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:

committed by
Willow Barraco

parent
5f0516bed7
commit
7f78a92b18
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user