nixos/home/desktop/waybar/laptop.nix

43 lines
1 KiB
Nix
Raw Normal View History

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