11.stylix/modules/eog/hm.nix
LemmusLemmus 268daf22a1
eog: init (#781)
This simply sets the background color of Eye of GNOME when
an image is open.
2025-01-20 23:47:00 +00:00

13 lines
420 B
Nix

{ config, lib, ... }:
{
options.stylix.targets.eog.enable =
config.lib.stylix.mkEnableTarget "Eye of GNOME Image Viewer" true;
config = lib.mkIf (config.stylix.enable && config.stylix.targets.eog.enable) {
dconf.settings."org/gnome/eog/view" = {
# transparency = "background"; # Disables the grey and white check pattern.
background-color = "#${config.lib.stylix.colors.base00}";
};
};
}