From a237dee86d4178f8c10fcc48682b031808be46c0 Mon Sep 17 00:00:00 2001 From: awy Date: Mon, 25 Nov 2024 02:09:05 +0300 Subject: btop bind --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 9ca8058..3bb96e4 100644 --- a/config.def.h +++ b/config.def.h @@ -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} }, -- cgit v1.2.3