nixos/home/hyprland/waybar/default.nix
Evie Litherland-Smith 98177d5119 Add remmina VNC/RDP client
Move program launching binds into submap with silent launch for faster
startup

Add current hyprland submap to waybar
2023-08-23 09:31:52 +01:00

40 lines
1.2 KiB
Nix

{ pkgs, ... }: {
home.packages = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" ]; })
networkmanagerapplet
bluez
];
programs.waybar = {
enable = true;
style = ./style.css;
settings.main = {
layer = "top";
position = "top";
"modules-left" = [ "wlr/workspaces" "hyprland/submap" ];
"modules-center" = [ "mpris" ];
"modules-right" = [
"pulseaudio"
"bluetooth"
"network"
"backlight"
"battery"
"tray"
"clock"
];
"wlr/workspaces" = import ./modules/wlr_workspaces.nix;
"hyprland/submap" = import ./modules/hyprland_submap.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;
bluetooth = import ./modules/bluetooth.compact.nix;
network = import ./modules/network.compact.nix;
backlight = import ./modules/backlight.nix;
battery = import ./modules/battery.compact.nix;
tray = import ./modules/tray.nix;
};
};
}