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;
settings = {
bar1 = {
name = "bar1";
internal = {
name = "internal";
layer = "top";
position = "top";
height = 30;
output = [
"eDP-1"
"HDMI-A-1"
];
output = [ "eDP-1" ];
modules-left = [ "hyprland/workspaces" ];
modules-right = [ "custom/spotify" "custom/dunst" "bluetooth" "wireplumber" "network" "battery" "clock" ];
@@ -113,6 +110,23 @@ in
"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