pinwheel: Separate modules on two different bars

This commit is contained in:
Alexander Heldt
2023-09-19 22:17:39 +02:00
parent 05e19df20c
commit 3dacad1372

View File

@@ -49,15 +49,12 @@ in
enable = true; enable = true;
settings = { settings = {
bar1 = { internal = {
name = "bar1"; name = "internal";
layer = "top"; layer = "top";
position = "top"; position = "top";
height = 30; height = 30;
output = [ output = [ "eDP-1" ];
"eDP-1"
"HDMI-A-1"
];
modules-left = [ "hyprland/workspaces" ]; modules-left = [ "hyprland/workspaces" ];
modules-right = [ "custom/spotify" "custom/dunst" "bluetooth" "wireplumber" "network" "battery" "clock" ]; modules-right = [ "custom/spotify" "custom/dunst" "bluetooth" "wireplumber" "network" "battery" "clock" ];
@@ -113,6 +110,23 @@ in
"format-alt" = "{:%a, %B %d %H:%M:%S}"; "format-alt" = "{:%a, %B %d %H:%M:%S}";
}; };
}; };
external = {
name = "external";
layer = "top";
position = "top";
height = 30;
output = [ "HDMI-A-1" ];
modules-left = [ "hyprland/workspaces" ];
modules-right = [ "clock" ];
"clock" = {
"interval" = 1;
"format" = "{:%H:%M:%S}";
"format-alt" = "{:%a, %B %d %H:%M:%S}";
};
};
}; };
style = let style = let