2023-07-10 16:09:25 +01:00
|
|
|
{...}: {
|
2023-07-10 11:24:42 +01:00
|
|
|
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" = [
|
2023-07-10 15:51:03 +01:00
|
|
|
"wlr/workspaces"
|
2023-07-10 11:24:42 +01:00
|
|
|
"cpu"
|
|
|
|
"memory"
|
|
|
|
"temperature"
|
|
|
|
];
|
|
|
|
"modules-center" = [
|
2023-07-10 15:51:03 +01:00
|
|
|
"clock"
|
2023-07-10 11:24:42 +01:00
|
|
|
];
|
|
|
|
"modules-right" = [
|
|
|
|
"pulseaudio"
|
|
|
|
"bluetooth"
|
|
|
|
"network"
|
|
|
|
"battery"
|
|
|
|
"tray"
|
|
|
|
];
|
2023-07-10 16:09:25 +01:00
|
|
|
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;
|
2023-07-10 11:24:42 +01:00
|
|
|
};
|
|
|
|
}
|