mirror of
https://codeberg.org/FabricSoul/dwl.git
synced 2025-08-04 04:20:24 -04:00
add setlayout function
This commit is contained in:
parent
fdbe9ee29a
commit
def3572117
2 changed files with 13 additions and 0 deletions
2
config.h
2
config.h
|
@ -36,6 +36,8 @@ static const Key keys[] = {
|
|||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY, XKB_KEY_Escape, quit, {0} },
|
||||
{ MODKEY, XKB_KEY_F1, focusnext, {0} },
|
||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_L, setlayout, {.v = &layouts[0]} },
|
||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_F, setlayout, {.v = &layouts[1]} },
|
||||
};
|
||||
|
||||
static const Button buttons[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue