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"
|
2023-07-12 13:29:04 +01:00
|
|
|
"backlight"
|
2023-07-10 11:24:42 +01:00
|
|
|
"battery"
|
|
|
|
"tray"
|
|
|
|
];
|
2023-07-12 13:29:04 +01:00
|
|
|
"wlr/workspaces" = import ./modules/wlr_workspaces.nix;
|
2023-07-10 16:09:25 +01:00
|
|
|
cpu = import ./modules/cpu.nix;
|
|
|
|
memory = import ./modules/memory.nix;
|
|
|
|
temperature = import ./modules/temperature.nix;
|
2023-07-12 13:29:04 +01:00
|
|
|
clock = import ./modules/clock.nix;
|
2023-07-10 16:09:25 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|