diff options
| author | Alexander Leonhardt <equinox.salexander@gmail.com> | |
|---|---|---|
| 2026-10-18 12:34:02 +0200 | ||
| committer | Alexander Leonhardt <equinox.salexander@gmail.com> | |
| 2026-10-18 12:34:02 +0200 | ||
| commit | 1989b7cbd41a742cdeddaeb1d8793c1123d916fd (patch) | |
| tree | faee1a5ec94b2227648a9235dabc53c6d6bfe80e /config.def.h | |
| parent | 844659ab02d126db6f793f73256786e1a8598d42 (diff) | |
| download | dwl-1989b7cbd41a742cdeddaeb1d8793c1123d916fd.tar.gz dwl-1989b7cbd41a742cdeddaeb1d8793c1123d916fd.tar.bz2 dwl-1989b7cbd41a742cdeddaeb1d8793c1123d916fd.zip | |
Added ability to stack master across arbitrary axis
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h index 15f6660..58e8b94 100644 --- a/config.def.h +++ b/config.def.h @@ -20,6 +20,8 @@ static const float unfocuseddim[] = COLOR(0x00000033); /* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */ static const float fullscreen_bg[] = {0.0f, 0.0f, 0.0f, 1.0f}; /* You can also use glsl colors */ +static const bool horizontal_master = true; + static uint32_t colors[][3] = { /* fg bg border */ [SchemeNorm] = { 0xbbbbbbff, 0x000000ff, 0x444444ff }, @@ -68,7 +70,8 @@ static const MonitorRule monrules[] = { * example of a HiDPI laptop monitor: { "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, */ { "Samsung Display Corp. 0x4193", 0.55f, 1, 1.7f, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, - { "DP-3", 0.55f, 1, 1.7f, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, + { "Dell Inc. DELL U4025QW BVFFMF4", 0.55f, 1, 1.7f, &layouts[3], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, + { "Dell Inc. DELL P3424WE B2066T3", 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, { NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, /* default monitor rule: can be changed but cannot be eliminated; at least one monitor rule must exist */ }; @@ -162,11 +165,8 @@ static const Key keys[] = { { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_z, addscratchpad, {0} }, { MODKEY, XKB_KEY_z, togglescratchpad, {0} }, { MODKEY|WLR_MODIFIER_CTRL, XKB_KEY_z, removescratchpad, {0} }, - { MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} }, - { MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} }, - { MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} }, - { MODKEY, XKB_KEY_c, setlayout, {.v = &layouts[3]} }, - { MODKEY, XKB_KEY_space, setlayout, {0} }, + { MODKEY, XKB_KEY_space, cyclelayout, {0} }, + { MODKEY, XKB_KEY_a, swapaxis, {0} }, { MODKEY, XKB_KEY_o, menu, {.v = &menus[0]} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} }, { MODKEY, XKB_KEY_e, togglefullscreen, {0} }, |