nixos/home/hyprland/waybar/default.nix

30 lines
1,010 B
Nix
Raw Normal View History

{ pkgs, ... }: {
2023-10-07 10:23:25 +01:00
home.packages = with pkgs; [ networkmanagerapplet bluez ];
# stylix.targets.waybar.enable = false;
2023-07-10 11:24:42 +01:00
programs.waybar = {
enable = true;
# style = ./style.css;
2023-10-13 15:00:40 +01:00
systemd = {
enable = true;
target = "hyprland-session.target";
};
settings.main = {
layer = "top";
position = "top";
"modules-left" = [ "hyprland/workspaces" ];
"modules-center" = [ "mpris" ];
"modules-right" = [ "pulseaudio" "backlight" "battery" "tray" "clock" ];
"hyprland/workspaces" = import ./modules/hyprland_workspaces.nix;
mpris = import ./modules/mpris.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;
backlight = import ./modules/backlight.nix;
battery = import ./modules/battery.compact.nix;
tray = import ./modules/tray.nix;
};
2023-07-10 11:24:42 +01:00
};
}