mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-11-01 22:58:42 -04:00
add spawn and termcmd
This commit is contained in:
parent
c82c000bd4
commit
bc9049a11b
2 changed files with 17 additions and 2 deletions
8
config.h
8
config.h
|
|
@ -8,9 +8,13 @@ static const struct xkb_rule_names xkb_rules = {
|
|||
|
||||
#define MODKEY WLR_MODIFIER_ALT
|
||||
|
||||
/* commands */
|
||||
static const char *termcmd[] = { "kitty", "-o", "linux_display_server=wayland", NULL };
|
||||
|
||||
static const Key keys[] = {
|
||||
{ MODKEY, XKB_KEY_Escape, quit, {0} },
|
||||
{ MODKEY, XKB_KEY_F1, focusnext, {0} },
|
||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY, XKB_KEY_Escape, quit, {0} },
|
||||
{ MODKEY, XKB_KEY_F1, focusnext, {0} },
|
||||
};
|
||||
|
||||
static const Button buttons[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue