2023-07-10 11:24:42 +01:00
|
|
|
{...}: let
|
|
|
|
modules = import ./modules.nix;
|
|
|
|
in {
|
|
|
|
imports = [./default.nix];
|
|
|
|
programs.waybar.settings = {
|
|
|
|
vertical = {
|
|
|
|
layer = "top";
|
|
|
|
position = "top";
|
|
|
|
spacing = 10;
|
|
|
|
margin-top = 10;
|
|
|
|
margin-left = 20;
|
|
|
|
margin-right = 20;
|
|
|
|
margin-bottom = 5;
|
2023-07-10 15:51:03 +01:00
|
|
|
"modules-left" = ["wlr/workspaces"];
|
|
|
|
"modules-center" = ["clock#compact"];
|
|
|
|
"modules-right" = ["tray"];
|
2023-07-10 11:24:42 +01:00
|
|
|
"wlr/workspaces" = modules."wlr/workspaces";
|
2023-07-10 15:51:03 +01:00
|
|
|
"clock#compact" = modules."clock#compact";
|
|
|
|
tray = modules.tray;
|
2023-07-10 11:24:42 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|