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