light gruvbox
This commit is contained in:
parent
4808dbb549
commit
9f751afced
11 changed files with 73 additions and 99 deletions
modules/common
|
@ -5,15 +5,21 @@ in
|
|||
{
|
||||
options.satellite.theming = {
|
||||
rounding = {
|
||||
# Note: this is automatically set to true when the radius is strictly positive
|
||||
enable = lib.mkEnableOption "rounded corners for desktop apps";
|
||||
radius = lib.mkOption {
|
||||
description = "How much to round corners by deafault";
|
||||
default = 0.0;
|
||||
example = 10;
|
||||
type = lib.types.float;
|
||||
};
|
||||
radius = lib.mkOption { default = 0.0; type = lib.types.float; };
|
||||
};
|
||||
|
||||
# These pretty much directly map onto hypland options
|
||||
blur = {
|
||||
# Note: this is automatically set to true when the passes are strictly positive
|
||||
enable = lib.mkEnableOption "blurred backgrounds for desktop apps";
|
||||
|
||||
passes = lib.mkOption { default = 4; type = lib.types.int; };
|
||||
brightness = lib.mkOption { default = 1.0; type = lib.types.float; };
|
||||
contrast = lib.mkOption { default = 1.2; type = lib.types.float; };
|
||||
size = lib.mkOption { default = 10.0; type = lib.types.float; };
|
||||
};
|
||||
|
||||
get = lib.mkOption {
|
||||
# No generics:(
|
||||
|
@ -44,6 +50,7 @@ in
|
|||
|
||||
config.satellite.theming = {
|
||||
rounding.enable = cfg.rounding.radius > 0.0;
|
||||
blur.enable = cfg.blur.passes > 0;
|
||||
|
||||
get = themeMap:
|
||||
themeMap.${config.lib.stylix.scheme.scheme}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue