Add hyprland

This commit is contained in:
muon 2024-06-03 15:40:21 +00:00
parent e2e390efdf
commit d676358f1a
9 changed files with 279 additions and 1 deletions

View file

@ -3,5 +3,6 @@
./core
./system
./desktop
./theme
];
}

View file

@ -0,0 +1,22 @@
{ pkgs, lib, config, ... }:
let
cfg = config.mods.theme;
in {
options.mods.theme = {
enable = lib.mkEnableOption "enables stylix system theme";
scheme = lib.mkOption {
default = "gruvbox-dark-medium";
description = "system color scheme";
apply = value: "${pkgs.base16-schemes}/share/themes/${value}.yaml";
};
wallpaper = lib.mkOption {
default = ./wallpaper.png;
description = "desktop wallpaper";
};
};
config = lib.mkIf cfg.enable {
stylix.base16Scheme = cfg.scheme;
stylix.image = cfg.wallpaper;
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 KiB