01-18-2021, 11:12 PM
so I've been working on fixing this. the command to open it in config.{def.}h is:
I've been testing manually running that in the shell and it also fails. it seems that pkill will not accept the defined variable as an input. pkill is known to not handle names as nicely as killall, so a workaround is to pass the -f variable to the pkill command, making the line:
this works for me, although it may not kill the first instance of the keyboard that's launched as root on the login screen.
Code:
{1, 0, XF86XK_PowerOff, spawn, SHCMD("pkill -9 $KEYBOARD || $KEYBOARD") },
Code:
{1, 0, XF86XK_PowerOff, spawn, SHCMD("pkill -9 -f $KEYBOARD || $KEYBOARD") },