mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 02:40:14 +00:00
playing with gtk theme package
This commit is contained in:
@ -25,9 +25,15 @@
|
||||
type = types.str;
|
||||
description = "Command to use for launching";
|
||||
};
|
||||
gtkTheme = mkOption {
|
||||
type = types.str;
|
||||
description = "Theme for GTK applications";
|
||||
gtk.theme = {
|
||||
name = mkOption {
|
||||
type = types.str;
|
||||
description = "Theme name for GTK applications";
|
||||
};
|
||||
package = mkOption {
|
||||
type = types.str;
|
||||
description = "Theme package name for GTK applications";
|
||||
};
|
||||
};
|
||||
colorscheme = mkOption {
|
||||
type = types.attrs;
|
||||
|
@ -15,7 +15,10 @@
|
||||
enable = config.services.xserver.enable;
|
||||
|
||||
# Make the login screen dark
|
||||
greeters.gtk.theme = { name = config.gui.gtkTheme; };
|
||||
greeters.gtk.theme = {
|
||||
name = config.gui.gtk.theme.name;
|
||||
package = pkgs."${config.gui.gtk.theme.package}";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user