Make all parts of GTK theme variable, based on scheme variant
This commit is contained in:
parent
e55a4d5d1a
commit
01cdbfea12
|
@ -54,26 +54,29 @@
|
|||
};
|
||||
};
|
||||
programs.mpv.enable = true;
|
||||
gtk = let
|
||||
# Make this smarter at some point
|
||||
type =
|
||||
if config.scheme.variant == "light"
|
||||
then "Light"
|
||||
else "Dark";
|
||||
in {
|
||||
gtk = {
|
||||
enable = true;
|
||||
iconTheme = {
|
||||
package = pkgs.papirus-icon-theme.override {color = "violet";};
|
||||
name = "Papirus-${type}";
|
||||
name =
|
||||
if config.scheme.variant == "light"
|
||||
then "Papirus-Light"
|
||||
else "Papirus-Dark";
|
||||
};
|
||||
cursorTheme = {
|
||||
package = pkgs.volantes-cursors;
|
||||
name = "volantes_cursors";
|
||||
name =
|
||||
if config.scheme.variant == "light"
|
||||
then "volantes_cursors"
|
||||
else "volantes_light_cursors";
|
||||
size = 32;
|
||||
};
|
||||
theme = {
|
||||
package = pkgs.arc-theme;
|
||||
name = "Arc-Lighter";
|
||||
name =
|
||||
if config.scheme.variant == "light"
|
||||
then "Arc-Lighter"
|
||||
else "Arc-Dark";
|
||||
};
|
||||
};
|
||||
xdg = {
|
||||
|
|
Reference in a new issue