nixos/home/desktop/waybar/laptop.nix

43 lines
966 B
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" = [
"clock#compact"
"cpu"
"memory"
"temperature"
];
"modules-center" = [
"wlr/workspaces"
];
"modules-right" = [
"pulseaudio"
"bluetooth"
"network#compact"
"backlight"
"battery"
"tray"
];
"clock#compact" = modules."clock#compact";
cpu = modules.cpu;
memory = modules.memory;
temperature = modules.temperature;
"wlr/workspaces" = modules."wlr/workspaces";
pulseaudio = modules.pulseaudio;
bluetooth = modules.bluetooth;
"network#compact" = modules."network#compact";
backlight = modules.backlight;
battery = modules.battery;
tray = modules.tray;
};
}