From 1907ee3879d9dbeccad311aa3e2fc36e3a7be1d5 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Tue, 21 Apr 2020 21:53:25 -0500 Subject: introduce rules for monitor configuration (with dwm, this would already have been done by the X server) --- config.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 5a8535e..0c7d727 100644 --- a/config.h +++ b/config.h @@ -1,3 +1,14 @@ +/* monitors */ +static const MonitorRule monrules[] = { + /* name scale */ + { "X11-1", 1 }, + { "eDP-1", 2 }, + { "HDMI-A-1", 1 }, + /* defaults */ + { NULL, 1 }, +}; + +/* keyboard */ static const struct xkb_rule_names xkb_rules = { .rules = NULL, .model = NULL, -- cgit v1.2.3