aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2021-01-06 16:44:31 -0500
committerGitHub <noreply@github.com>2021-01-06 16:44:31 -0500
commit4bf2923f4ec7d3dadc5a36928f8e98d9734b207d (patch)
tree8580be7629a690974ec74372a469361cb46973d1 /config.def.h
parent0ff13cf216056a36a261f4eed53c6a864989a9fb (diff)
parentfa782896f874cd3398940e71c6adbde411343483 (diff)
Merge pull request #72 from Stivvo/output-compile-set
Define monitor's x,y at compile time
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 8c1f5ba..982c870 100644
--- a/config.def.h
+++ b/config.def.h
@@ -28,12 +28,14 @@ static const Layout layouts[] = {
* The order in which monitors are defined determines their position.
* Non-configured monitors are always added to the left. */
static const MonitorRule monrules[] = {
- /* name mfact nmaster scale layout rotate/reflect */
+ /* name mfact nmaster scale layout rotate/reflect x y */
/* example of a HiDPI laptop monitor:
- { "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL },
+ { "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0 },
*/
+ /* the order in which monitors are defined here affects the order in which
+ * focusmon and tagmon cycle trough the monitors */
/* defaults */
- { NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL },
+ { NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0 },
};
/* keyboard */