nixos/home/desktop/waybar/main.nix

41 lines
1,008 B
Nix
Raw Normal View History

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