mirror of
https://github.com/danth/stylix
synced 2024-11-10 06:34:15 +00:00
Set GNOME desktop background ✨
This works according to a comment on Reddit - I haven't tested it myself.
This commit is contained in:
parent
3339cc7991
commit
9185529e3d
2 changed files with 16 additions and 0 deletions
|
@ -61,6 +61,7 @@
|
|||
./modules/dunst.nix
|
||||
./modules/feh.nix
|
||||
./modules/fish.nix
|
||||
./modules/gnome.nix
|
||||
./modules/grub.nix
|
||||
./modules/gtk.nix
|
||||
./modules/helix.nix
|
||||
|
|
15
modules/gnome.nix
Normal file
15
modules/gnome.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
{
|
||||
options.stylix.targets.gnome.enable =
|
||||
config.lib.stylix.mkEnableTarget "GNOME" true;
|
||||
|
||||
config.home-manager.sharedModules =
|
||||
lib.mkIf config.stylix.targets.gnome.enable [{
|
||||
dconf.settings."org/gnome/desktop/background" = {
|
||||
color-shading-type = "solid";
|
||||
picture-options = "zoom";
|
||||
picture-uri = "file://${config.stylix.image}";
|
||||
};
|
||||
}];
|
||||
}
|
Loading…
Reference in a new issue