From 268daf22a1f93a00b7efc74c367d6711ca7f18e1 Mon Sep 17 00:00:00 2001 From: LemmusLemmus <63229554+LemmusLemmus@users.noreply.github.com> Date: Tue, 21 Jan 2025 00:47:00 +0100 Subject: [PATCH] eog: init (#781) This simply sets the background color of Eye of GNOME when an image is open. --- modules/eog/hm.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/eog/hm.nix diff --git a/modules/eog/hm.nix b/modules/eog/hm.nix new file mode 100644 index 00000000..73b4ff2d --- /dev/null +++ b/modules/eog/hm.nix @@ -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}"; + }; + }; +}