diff --git a/README.md b/README.md index c3541b2..03edb54 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,7 @@ Mod|d|Open the context menu for the topmost notification Mod Shift|d|Run the default action for the topmost notification Mod|F2|Toggle Picom compositor Mod|F3|Spawn volume panel +Mod|F5|Toggle Touchpad Mod|F9|Spawn mounting menu Mod|F10|Spawn unmounting menu Mod|F11|Spawn display select menu diff --git a/config.h b/config.h index 94bc28a..653ea5c 100644 --- a/config.h +++ b/config.h @@ -119,10 +119,10 @@ static const char *spwiki[] = { "v", TERMINAL, "-n", "spwiki", "-e", "nvim", "+ static const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_F1, togglescratch, {.v = sphelp} }, - { MODKEY, XK_F2, spawn, SHCMD("pidof picom && killall picom || setsid -f picom") }, + { MODKEY, XK_F2, spawn, {.v = (const char *[]){"togcom", NULL}} }, { MODKEY, XK_F3, togglescratch, {.v = spmix} }, // { MODKEY, XK_F4, spawn, {.v = (const char *[]){NULL}} }, - // { MODKEY, XK_F5, spawn, {.v = (const char *[]){NULL}} }, + { MODKEY, XK_F5, spawn, {.v = (const char *[]){"togtp", NULL}} }, // { MODKEY, XK_F6, spawn, {.v = (const char *[]){NULL}} }, // { MODKEY, XK_F7, spawn, {.v = (const char *[]){NULL}} }, // { MODKEY, XK_F8, spawn, {.v = (const char *[]){NULL}} },