hace qque polybar utilice settings de autorandr
This commit is contained in:
parent
0824f91b7e
commit
576b7c5798
|
@ -29,8 +29,7 @@ with lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
"bar/main" = {
|
"bar/main" = {
|
||||||
monitor = "\${env:MONITOR:DisplayPort-0}";
|
monitor = "${config.local.display."0"}";
|
||||||
# monitor = "\${env:MONITOR:HDMI-A-0}";
|
|
||||||
width = "100%";
|
width = "100%";
|
||||||
height = 30;
|
height = 30;
|
||||||
offset-x = "0%";
|
offset-x = "0%";
|
||||||
|
@ -78,9 +77,8 @@ with lib;
|
||||||
cursor-scroll = "ns-resize";
|
cursor-scroll = "ns-resize";
|
||||||
};
|
};
|
||||||
|
|
||||||
"bar/secondary" = {
|
"bar/secondary" = optionalAttrs (config.local.display."1" != null) {
|
||||||
monitor = "\${env:MONITOR:DisplayPort-1}";
|
monitor = "${config.local.display."1"}";
|
||||||
# monitor = "\${env:MONITOR:HDMI-A-0}";
|
|
||||||
"inherit" = "bar/main";
|
"inherit" = "bar/main";
|
||||||
|
|
||||||
modules-left = "i3";
|
modules-left = "i3";
|
||||||
|
|
Loading…
Reference in a new issue