This implements what was suggested in the  'Close windows in a more "graceful" 
way' thread.

---
 config.def.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config.def.h b/config.def.h
index 7d57c7d..bdc6559 100644
--- a/config.def.h
+++ b/config.def.h
@@ -93,6 +93,7 @@ static Key keys[] = {
        {1,  0,  XF86XK_AudioLowerVolume, cyclelayout , {.i = +1 } },
        {2,  0,  XF86XK_AudioLowerVolume, inplacerotate, {.i = +2} },
        {3,  0,  XF86XK_AudioLowerVolume, spawn, SHCMD("sxmo_blinkled.sh red & 
xdotool windowkill $(xdotool getactivewindow)") },
+       {4,  0,  XF86XK_AudioLowerVolume, spawn, SHCMD("sxmo_blinkled.sh red & 
xdotool windowclose $(xdotool getactivewindow)") },
        //{3,  0,  XF86XK_AudioLowerVolume, killclient, {0} },

        {1,  0,  XF86XK_PowerOff, spawn, SHCMD("busybox pkill -9 $KEYBOARD || 
$KEYBOARD") },
--
2.30.2


Reply via email to