feat(desktop): make icon theme configurable
This commit is contained in:
parent
0fc804a42d
commit
ed79106342
2 changed files with 25 additions and 5 deletions
|
@ -46,6 +46,24 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
iconTheme = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.papirus-icon-theme;
|
||||
description = ''Icon theme package to use'';
|
||||
};
|
||||
|
||||
iconThemeName = mkOption {
|
||||
type = types.str;
|
||||
default = "Papirus Dark";
|
||||
description = ''Icon theme variant to use'';
|
||||
};
|
||||
|
||||
iconThemePathname = mkOption {
|
||||
type = types.str;
|
||||
default = "Papirus-Dark";
|
||||
description = ''Icon theme variant to use'';
|
||||
};
|
||||
|
||||
waybar = {
|
||||
laptop = mkOption {
|
||||
type = types.bool;
|
||||
|
@ -136,8 +154,8 @@ in
|
|||
package = pkgs.arc-theme;
|
||||
};
|
||||
iconTheme = {
|
||||
name = "Papirus Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
name = cfg.iconThemeName;
|
||||
package = cfg.iconTheme;
|
||||
};
|
||||
font = {
|
||||
name = "Deja Vu Sans";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue