41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{...}: {
|
|
imports = [./default.nix];
|
|
programs.waybar.settings.laptop = {
|
|
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#compact"
|
|
];
|
|
"modules-right" = [
|
|
"pulseaudio#compact"
|
|
"bluetooth#compact"
|
|
"network#compact"
|
|
"backlight"
|
|
"battery#compact"
|
|
"tray"
|
|
];
|
|
"clock#compact" = import ./modules/clock.compact.nix;
|
|
cpu = import ./modules/cpu.nix;
|
|
memory = import ./modules/memory.nix;
|
|
temperature = import ./modules/temperature.nix;
|
|
"wlr/workspaces" = import ./modules/wlr_workspaces.nix;
|
|
"pulseaudio#compact" = import ./modules/pulseaudio.compact.nix;
|
|
"bluetooth#compact" = import ./modules/bluetooth.compact.nix;
|
|
"network#compact" = import ./modules/network.compact.nix;
|
|
backlight = import ./modules/backlight.nix;
|
|
"battery#compact" = import ./modules/battery.compact.nix;
|
|
tray = import ./modules/tray.nix;
|
|
};
|
|
}
|