compositor and touchpad toggling binds

This commit is contained in:
Luca Bilke 2023-07-14 17:58:29 +02:00
parent 61336f46ff
commit a82dbeed90
No known key found for this signature in database
GPG Key ID: 7B77C51E8C779E75
2 changed files with 3 additions and 2 deletions

View File

@ -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 Shift|d|Run the default action for the topmost notification
Mod|F2|Toggle Picom compositor Mod|F2|Toggle Picom compositor
Mod|F3|Spawn volume panel Mod|F3|Spawn volume panel
Mod|F5|Toggle Touchpad
Mod|F9|Spawn mounting menu Mod|F9|Spawn mounting menu
Mod|F10|Spawn unmounting menu Mod|F10|Spawn unmounting menu
Mod|F11|Spawn display select menu Mod|F11|Spawn display select menu

View File

@ -119,10 +119,10 @@ static const char *spwiki[] = { "v", TERMINAL, "-n", "spwiki", "-e", "nvim", "+
static const Key keys[] = { static const Key keys[] = {
/* modifier key function argument */ /* modifier key function argument */
{ MODKEY, XK_F1, togglescratch, {.v = sphelp} }, { 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_F3, togglescratch, {.v = spmix} },
// { MODKEY, XK_F4, spawn, {.v = (const char *[]){NULL}} }, // { 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_F6, spawn, {.v = (const char *[]){NULL}} },
// { MODKEY, XK_F7, spawn, {.v = (const char *[]){NULL}} }, // { MODKEY, XK_F7, spawn, {.v = (const char *[]){NULL}} },
// { MODKEY, XK_F8, spawn, {.v = (const char *[]){NULL}} }, // { MODKEY, XK_F8, spawn, {.v = (const char *[]){NULL}} },