aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-25 02:09:05 +0300
committerawy <awy@awy.one>2024-11-25 02:09:05 +0300
commita237dee86d4178f8c10fcc48682b031808be46c0 (patch)
tree49db28518967436b65d4b6aeaa1f047573aaa295 /config.h
parentae955a003774beac9140cc1aa09342b133ad6e5f (diff)
btop bind
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 9ca8058..3bb96e4 100644
--- a/config.h
+++ b/config.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} },