eog: init (#781)
This simply sets the background color of Eye of GNOME when an image is open.
This commit is contained in:
parent
6b69fd47fa
commit
268daf22a1
1 changed files with 13 additions and 0 deletions
13
modules/eog/hm.nix
Normal file
13
modules/eog/hm.nix
Normal 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}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue