nixos/home/desktop/waybar/compact.nix

36 lines
1 KiB
Nix
Raw Normal View History

{...}: {
2023-07-10 11:24:42 +01:00
imports = [./default.nix];
programs.waybar.settings.compact = {
2023-07-10 11:24:42 +01:00
layer = "top";
position = "top";
"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"
];
"wlr/workspaces" = import ./modules/wlr_workspaces.nix;
cpu = import ./modules/cpu.nix;
memory = import ./modules/memory.nix;
temperature = import ./modules/temperature.nix;
"clock#compact" = import ./modules/clock.compact.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;
2023-07-10 11:24:42 +01:00
};
}