aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h12
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} },