diff options
| author | Alexander Leonhardt <equinox.salexander@gmail.com> | |
|---|---|---|
| 2026-09-05 11:08:57 +0200 | ||
| committer | Alexander Leonhardt <equinox.salexander@gmail.com> | |
| 2026-09-05 11:08:57 +0200 | ||
| commit | 2407f15f50a8e9075c827cbe5b51828288e039a5 (patch) | |
| tree | f107e65c905db2dd084d32690d208a04cda8194c /config.def.h | |
| parent | 2554be4300170799a64c68b02a420b4fcdb90431 (diff) | |
| download | dwl-2407f15f50a8e9075c827cbe5b51828288e039a5.tar.gz dwl-2407f15f50a8e9075c827cbe5b51828288e039a5.tar.bz2 dwl-2407f15f50a8e9075c827cbe5b51828288e039a5.zip | |
Added window action
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index aa108b2..4b1cf48 100644 --- a/config.def.h +++ b/config.def.h @@ -20,6 +20,11 @@ static const float fullscreen_bg[] = {0.0f, 0.0f, 0.0f, 1.0f}; /* You ca /* logging */ static int log_level = WLR_ERROR; +static const Menu menus[] = { + /* command feed function action function */ + { "wmenu -i -l 10 -p Windows", menuwinfeed, menuwinaction }, +}; + static const Rule rules[] = { /* app_id title tags mask isfloating monitor */ { "Gimp_EXAMPLE", NULL, 0, 1, -1 }, /* Start on currently visible tags floating, not tiled */ @@ -138,6 +143,7 @@ static const Key keys[] = { { MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XKB_KEY_space, setlayout, {0} }, + { MODKEY, XKB_KEY_o, menu, {.v = &menus[0]} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} }, { MODKEY, XKB_KEY_e, togglefullscreen, {0} }, { MODKEY, XKB_KEY_0, view, {.ui = ~0} }, |