vicinae, other tweaks
This commit is contained in:
parent
8cc93daddc
commit
8b022298e2
13 changed files with 254 additions and 43 deletions
|
|
@ -65,11 +65,13 @@ in {
|
|||
fuzzel = mkOpt (nullOr str) null;
|
||||
|
||||
wezterm = mkOpt (nullOr str) null;
|
||||
|
||||
vicinae = mkOpt (nullOr str) null;
|
||||
};
|
||||
|
||||
config = mkIf (cfg.active != null) {
|
||||
programs.dconf.enable = true;
|
||||
# i think this may be done by ohome-manager already??
|
||||
# i think this may be done by home-manager already??
|
||||
# better safe than sorry
|
||||
hm.dconf = {
|
||||
enable = true;
|
||||
|
|
@ -114,6 +116,12 @@ in {
|
|||
package = cfg.iconTheme.package;
|
||||
};
|
||||
|
||||
programs.regreet.settings = {
|
||||
theme = cfg.gtkTheme;
|
||||
iconTheme = cfg.iconTheme;
|
||||
cursorTheme = cfg.cursorTheme;
|
||||
};
|
||||
|
||||
hm.programs.vscode.profiles.default = {
|
||||
extensions = [
|
||||
cfg.editor.vscode.colorTheme.extension
|
||||
|
|
@ -146,6 +154,16 @@ in {
|
|||
icon-theme = cfg.iconTheme.name;
|
||||
};
|
||||
|
||||
hm.services.vicinae.settings.theme = let
|
||||
themeConf = {
|
||||
name = cfg.vicinae;
|
||||
iconTheme = cfg.iconTheme.name;
|
||||
};
|
||||
in {
|
||||
light = themeConf;
|
||||
dark = themeConf;
|
||||
};
|
||||
|
||||
hm.xdg.configFile = let
|
||||
iniFmt = pkgs.formats.ini {};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue