forked from mirror/dwl
Compare commits
2 commits
aad4181ca7
...
389d476f5b
Author | SHA1 | Date | |
---|---|---|---|
389d476f5b | |||
94a804e3d9 |
2 changed files with 6 additions and 3 deletions
|
@ -53,8 +53,8 @@ static const MonitorRule monrules[] = {
|
||||||
/* example of a HiDPI laptop monitor:
|
/* example of a HiDPI laptop monitor:
|
||||||
{ "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
|
{ "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
|
||||||
*/
|
*/
|
||||||
{ "HDMI-A-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0 },
|
{ "HDMI-A-1", 0.5f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0 },
|
||||||
{ "DP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 1920, 0 },
|
{ "DP-1", 0.5f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 1920, 0 },
|
||||||
/* defaults */
|
/* defaults */
|
||||||
{ NULL, 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 },
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,7 +17,10 @@
|
||||||
zdwl = config.packages.default;
|
zdwl = config.packages.default;
|
||||||
};
|
};
|
||||||
packages.default = pkgs.dwl.overrideAttrs (old: {
|
packages.default = pkgs.dwl.overrideAttrs (old: {
|
||||||
buildInputs = old.buildInputs ++ [ pkgs.fcft ];
|
buildInputs = old.buildInputs ++ (with pkgs; [
|
||||||
|
fcft
|
||||||
|
libdrm.dev
|
||||||
|
]);
|
||||||
src = ./.;
|
src = ./.;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue