2023-10-17 08:15:52 +01:00
|
|
|
{ config, lib, pkgs, ... }: {
|
2023-10-07 10:23:25 +01:00
|
|
|
home.packages = with pkgs; [ networkmanagerapplet bluez ];
|
2023-10-17 08:15:52 +01:00
|
|
|
stylix.targets.waybar.enable = false;
|
|
|
|
xdg.configFile."waybar/scheme.css".text =
|
|
|
|
with config.lib.stylix.colors.withHashtag; ''
|
|
|
|
@define-color base00 ${base00};
|
|
|
|
@define-color base01 ${base01};
|
|
|
|
@define-color base02 ${base02};
|
|
|
|
@define-color base03 ${base03};
|
|
|
|
@define-color base04 ${base04};
|
|
|
|
@define-color base05 ${base05};
|
|
|
|
@define-color base06 ${base06};
|
|
|
|
@define-color base07 ${base07};
|
|
|
|
@define-color base08 ${base08};
|
|
|
|
@define-color base09 ${base09};
|
|
|
|
@define-color base0A ${base0A};
|
|
|
|
@define-color base0B ${base0B};
|
|
|
|
@define-color base0C ${base0C};
|
|
|
|
@define-color base0D ${base0D};
|
|
|
|
@define-color base0E ${base0E};
|
|
|
|
@define-color base0F ${base0F};
|
|
|
|
|
|
|
|
* { font-family: "${config.stylix.fonts.sansSerif.name}" }
|
|
|
|
'';
|
2023-07-10 11:24:42 +01:00
|
|
|
programs.waybar = {
|
|
|
|
enable = true;
|
2023-10-17 08:15:52 +01:00
|
|
|
style = ./style.css;
|
2023-10-13 15:00:40 +01:00
|
|
|
systemd = {
|
|
|
|
enable = true;
|
|
|
|
target = "hyprland-session.target";
|
|
|
|
};
|
2023-07-13 12:41:00 +01:00
|
|
|
settings.main = {
|
|
|
|
layer = "top";
|
|
|
|
position = "top";
|
2023-09-11 23:19:16 +01:00
|
|
|
"modules-left" = [ "hyprland/workspaces" ];
|
2023-08-03 10:37:36 +01:00
|
|
|
"modules-center" = [ "mpris" ];
|
2023-10-17 06:35:08 +01:00
|
|
|
"modules-right" = [ "pulseaudio" "backlight" "battery" "clock" "tray" ];
|
2023-09-11 23:19:16 +01:00
|
|
|
"hyprland/workspaces" = import ./modules/hyprland_workspaces.nix;
|
2023-08-03 10:37:36 +01:00
|
|
|
mpris = import ./modules/mpris.nix;
|
2023-07-13 12:41:00 +01:00
|
|
|
pulseaudio = import ./modules/pulseaudio.nix;
|
|
|
|
backlight = import ./modules/backlight.nix;
|
|
|
|
battery = import ./modules/battery.compact.nix;
|
2023-10-17 06:35:08 +01:00
|
|
|
clock = import ./modules/clock.nix;
|
2023-07-13 12:41:00 +01:00
|
|
|
tray = import ./modules/tray.nix;
|
|
|
|
};
|
2023-07-10 11:24:42 +01:00
|
|
|
};
|
|
|
|
}
|