introduce rules for monitor configuration

(with dwm, this would already have been done by the X server)
This commit is contained in:
Devin J. Pohly 2020-04-21 21:53:25 -05:00
parent 97f29ec67f
commit 1907ee3879
2 changed files with 25 additions and 1 deletions

View file

@ -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,