Add trimmed down alt waybar that only shows workspaces

Set alt waybar for vertical monitor on Vanguard
This commit is contained in:
Evie Litherland-Smith 2024-04-25 07:09:26 +01:00
parent 20882c780b
commit f2a9c92b20
2 changed files with 232 additions and 219 deletions

View file

@ -16,7 +16,9 @@
enable = true;
target = "sway-session.target";
};
settings.main = {
settings = rec {
main = {
name = "main";
layer = "top";
position = "top";
# Layout
@ -241,6 +243,14 @@
spacing = 5;
};
};
alt = {
inherit (main) layer position "sway/workspaces";
name = "alt";
"modules-left" = [];
"modules-center" = ["sway/workspaces"];
"modules-right" = [];
};
};
style = with scheme.withHashtag; let
accent = scheme.withHashtag.${accentColour};
in ''

View file

@ -12,5 +12,8 @@
};
};
};
programs.waybar.settings.main.output = ["DP-2"];
programs.waybar.settings = {
main.output = ["DP-2"];
alt.output = ["HDMI-A-1"];
};
}