update readme and compositor toggle

This commit is contained in:
Luca Bilke 2023-07-13 11:36:02 +02:00
parent cb969d56e7
commit 61336f46ff
No known key found for this signature in database
GPG Key ID: 7B77C51E8C779E75
2 changed files with 3 additions and 4 deletions

View File

@ -39,7 +39,7 @@ Mod Shift|minus|Switch to horizontal bottom stack layout
# Spawn Programs
Modifier(s)|Key|Action
:--|:--|:--
Mod|g|Spawn wiki.vim
Mod|g|Spawn wiki.vim scratchpad
Mod|t|Spawn a browser window
Mod Shift|t|Spawn a private browser window
Mod|o|Toggle HTOP (Process Manager) scratchpad
@ -61,7 +61,7 @@ Mod|i|Close the topmost notification
Mod Shift|i|Bring back the last closed notification
Mod|d|Open the context menu for the topmost notification
Mod Shift|d|Run the default action for the topmost notification
Mod|F2|Toggle Compositor
Mod|F2|Toggle Picom compositor
Mod|F3|Spawn volume panel
Mod|F9|Spawn mounting menu
Mod|F10|Spawn unmounting menu
@ -92,4 +92,3 @@ Mod|Delete|Kill recording
Mod|Left|Play last track
Mod Shift|Left|Seek track to beginning
Mod|Right|Play next track

View File

@ -119,7 +119,7 @@ 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 xcompmgr && killall xcompmgr || setsid -f xcompmgr") },
{ MODKEY, XK_F2, spawn, SHCMD("pidof picom && killall picom || setsid -f picom") },
{ MODKEY, XK_F3, togglescratch, {.v = spmix} },
// { MODKEY, XK_F4, spawn, {.v = (const char *[]){NULL}} },
// { MODKEY, XK_F5, spawn, {.v = (const char *[]){NULL}} },