diff options
| author | Devin J. Pohly <djpohly@gmail.com> | |
|---|---|---|
| 2020-04-21 21:53:25 -0500 | ||
| committer | Devin J. Pohly <djpohly@gmail.com> | |
| 2020-04-21 21:53:34 -0500 | ||
| commit | 1907ee3879d9dbeccad311aa3e2fc36e3a7be1d5 (patch) | |
| tree | a2dfc0b1c0a950dd97ec559eeffd2f7c31381a0d /config.h | |
| parent | 97f29ec67f0937dd34343fd50ff5b4fa6840f5f3 (diff) | |
| download | dwl-1907ee3879d9dbeccad311aa3e2fc36e3a7be1d5.tar.gz dwl-1907ee3879d9dbeccad311aa3e2fc36e3a7be1d5.tar.bz2 dwl-1907ee3879d9dbeccad311aa3e2fc36e3a7be1d5.zip | |
introduce rules for monitor configuration
(with dwm, this would already have been done by the X server)
@@ -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, |