Steffen Nurpmeso wrote in <20240912001039.k3mbXC1z@steffen%sdaoden.eu>: |..and isn't that mysterious, do you all live without any |accessibility to these media keys in dwm? I have written | | XF86 media key spawn hook.. ...
i mean, maybe you all just do things like --- a/config.def.h +++ b/config.def.h @@ -1,4 +1,5 @@ /* See LICENSE file for copyright and license details. */ +#include <X11/XF86keysym.h> ... +#define a_XF86_CMD(X) static const char *xf86_ ## X[] = { "adjust-xf86-mediahooks.sh", #X, NULL } +a_XF86_CMD(AudioLowerVolume); +a_XF86_CMD(AudioRaiseVolume); +a_XF86_CMD(AudioMute); +a_XF86_CMD(MonBrightnessDown); +a_XF86_CMD(MonBrightnessUp); +#undef a_XF86_CMD +#define a_XF86_CMD(X) {0, XF86XK_ ## X, spawn, {.v = xf86_ ## X}} static const Key keys[] = { ... +a_XF86_CMD(AudioLowerVolume), +a_XF86_CMD(AudioRaiseVolume), +a_XF86_CMD(AudioMute), +a_XF86_CMD(MonBrightnessDown), +a_XF86_CMD(MonBrightnessUp) Oh well, i am silent now. (I was only surprised to see no xf86 stuff in patches/ at all.) Good night, ciao, --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)