eog: init (#781)

This simply sets the background color of Eye of GNOME when
an image is open.
This commit is contained in:
LemmusLemmus 2025-01-21 00:47:00 +01:00 committed by GitHub
parent 6b69fd47fa
commit 268daf22a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

13
modules/eog/hm.nix Normal file
View file

@ -0,0 +1,13 @@
{ 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}";
};
};
}