Skip to content

Commit

Permalink
eog: init (#781)
Browse files Browse the repository at this point in the history
This simply sets the background color of Eye of GNOME when
an image is open.
  • Loading branch information
LemmusLemmus authored Jan 20, 2025
1 parent 6b69fd4 commit 268daf2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/eog/hm.nix
Original file line number Diff line number Diff line change
@@ -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}";
};
};
}

0 comments on commit 268daf2

Please sign in to comment.