40 lines
990 B
Nix
40 lines
990 B
Nix
{...}: {
|
|
imports = [./default.nix];
|
|
programs.waybar.settings.main = {
|
|
layer = "top";
|
|
position = "top";
|
|
spacing = 10;
|
|
margin-top = 10;
|
|
margin-left = 20;
|
|
margin-right = 20;
|
|
margin-bottom = 5;
|
|
"modules-left" = [
|
|
"wlr/workspaces"
|
|
"cpu"
|
|
"memory"
|
|
"temperature"
|
|
];
|
|
"modules-center" = [
|
|
"clock"
|
|
];
|
|
"modules-right" = [
|
|
"pulseaudio"
|
|
"bluetooth"
|
|
"network"
|
|
"battery"
|
|
"tray"
|
|
];
|
|
clock = import ./modules/clock.nix;
|
|
cpu = import ./modules/cpu.nix;
|
|
memory = import ./modules/memory.nix;
|
|
temperature = import ./modules/temperature.nix;
|
|
"wlr/workspaces" = import ./modules/wlr_workspaces.nix;
|
|
pulseaudio = import ./modules/pulseaudio.nix;
|
|
bluetooth = import ./modules/bluetooth.nix;
|
|
network = import ./modules/network.nix;
|
|
backlight = import ./modules/backlight.nix;
|
|
battery = import ./modules/battery.nix;
|
|
tray = import ./modules/tray.nix;
|
|
};
|
|
}
|