diff options
author | awy <awy@awy.one> | 2024-11-25 02:09:05 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2024-11-25 02:09:05 +0300 |
commit | a237dee86d4178f8c10fcc48682b031808be46c0 (patch) | |
tree | 49db28518967436b65d4b6aeaa1f047573aaa295 /config.h | |
parent | ae955a003774beac9140cc1aa09342b133ad6e5f (diff) |
btop bind
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -143,6 +143,7 @@ static const char *passmenu[] = { "tessen", NULL }; static const char *bookmarks[] = { "bookmarks", NULL }; static const char *snip[] = {"sh", "-c", "slurp | grim -g - - | wl-copy", NULL}; static const char *spotifyplayer[] = { "foot", "-e", "spotify_player", NULL }; +static const char *btop[] = { "foot", "-e", "btop", NULL }; static const Key keys[] = { /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */ @@ -156,6 +157,7 @@ static const Key keys[] = { { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_S, spawn, {.v = snip} }, { MODKEY, XKB_KEY_e, spawn, SHCMD("foot -e neomutt ; pkill -RTMIN+12 someblocks") }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_N, spawn, SHCMD("foot -e newsboat ; pkill -RTMIN+6 someblocks") }, + { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_R, spawn, {.v = btop} }, { MODKEY, XKB_KEY_b, togglebar, {0} }, { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, { MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, |