mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 08:11:54 -05:00
waybar: move to bottom and rearrange widgets
This commit is contained in:
parent
5aa8e9bea1
commit
da7ae88e3b
|
@ -15,19 +15,25 @@ in {
|
||||||
height = 32;
|
height = 32;
|
||||||
layer = "top";
|
layer = "top";
|
||||||
output = ["*"];
|
output = ["*"];
|
||||||
position = "top";
|
position = "bottom";
|
||||||
modules-left =
|
modules-left =
|
||||||
lib.optionals (cfg.desktop.hyprland.enable)
|
lib.optionals (cfg.desktop.hyprland.tabletMode.enable)
|
||||||
["hyprland/workspaces" "hyprland/submap"]
|
["group/tablet"]
|
||||||
|
++ lib.optionals (cfg.desktop.hyprland.enable)
|
||||||
|
["hyprland/submap"]
|
||||||
++ lib.optionals (cfg.desktop.sway.enable)
|
++ lib.optionals (cfg.desktop.sway.enable)
|
||||||
["sway/workspaces" "sway/scratchpad" "sway/mode"]
|
["sway/scratchpad" "sway/mode"];
|
||||||
++ lib.optionals (cfg.desktop.hyprland.tabletMode.enable)
|
|
||||||
["group/tablet"];
|
modules-center =
|
||||||
|
lib.optionals (cfg.desktop.hyprland.enable)
|
||||||
|
["hyprland/workspaces"]
|
||||||
|
++ lib.optionals (cfg.desktop.sway.enable)
|
||||||
|
["sway/workspaces"];
|
||||||
|
|
||||||
modules-center = ["clock"];
|
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"tray"
|
"tray"
|
||||||
"group/hardware"
|
"group/hardware"
|
||||||
|
"clock"
|
||||||
"group/session"
|
"group/session"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -275,7 +281,7 @@ in {
|
||||||
margin: 0px 0px;
|
margin: 0px 0px;
|
||||||
padding: 0px 5px;
|
padding: 0px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active,
|
#workspaces button.active,
|
||||||
#workspaces button.focused {
|
#workspaces button.focused {
|
||||||
color: ${cfg.theme.colors.secondary};
|
color: ${cfg.theme.colors.secondary};
|
||||||
|
|
Loading…
Reference in a new issue