Add trimmed down alt waybar that only shows workspaces
Set alt waybar for vertical monitor on Vanguard
This commit is contained in:
parent
20882c780b
commit
f2a9c92b20
|
@ -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 ''
|
||||
|
|
|
@ -12,5 +12,8 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
programs.waybar.settings.main.output = ["DP-2"];
|
||||
programs.waybar.settings = {
|
||||
main.output = ["DP-2"];
|
||||
alt.output = ["HDMI-A-1"];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue