From 4df27b1e8153cedc257f5da8aeb6c0757046e61f Mon Sep 17 00:00:00 2001 From: Stacy Harper Date: Thu, 20 May 2021 14:02:45 +0200 Subject: [PATCH] Unify window killing --- scripts/core/sxmo_inputhandler.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/core/sxmo_inputhandler.sh b/scripts/core/sxmo_inputhandler.sh index 2249d2a..a0a6e0e 100755 --- a/scripts/core/sxmo_inputhandler.sh +++ b/scripts/core/sxmo_inputhandler.sh @@ -162,10 +162,10 @@ if [ "$HANDLE" -ne 0 ]; then xdotool key --clearmodifiers Super+Return ;; "voldown_three") - sxmo_blinkled.sh red && xdotool windowkill "$(xdotool getactivewindow)" + sxmo_blinkled.sh red && sxmo_killwindow.sh ;; "voldown_four") - sxmo_blinkled.sh red & xdotool windowclose "$(xdotool getactivewindow)" + sxmo_blinkled.sh red & sxmo_killwindow.sh close ;; "topleftcorner") sxmo_appmenu.sh sys &