From 61336f46ff0d4a5ae6030d28e68f0c939040d7fc Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Thu, 13 Jul 2023 11:36:02 +0200 Subject: [PATCH] update readme and compositor toggle --- README.md | 5 ++--- config.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2c68398..c3541b2 100644 --- a/README.md +++ b/README.md @@ -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 - diff --git a/config.h b/config.h index d4b430a..94bc28a 100644 --- a/config.h +++ b/config.h @@ -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}} },