mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-01-18 18:03:06 +01:00
feat(modules/home): configure gnome wallpaper through module
This commit is contained in:
parent
63bc2f18ff
commit
68effc0d85
1 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
wallpaper = mkOpt str (builtins.toString ./background.png) "Specify the path of your prefered Gnome wallpaper.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf osConfig.${namespace}.desktop.gnome.enable {
|
config = mkIf osConfig.${namespace}.desktop.gnome.enable {
|
||||||
|
@ -66,6 +67,10 @@ in
|
||||||
autofocus-windows = true;
|
autofocus-windows = true;
|
||||||
notifications-position = "right";
|
notifications-position = "right";
|
||||||
};
|
};
|
||||||
|
"org/gnome/desktop/background" = {
|
||||||
|
picture-uri = cfg.wallpaper;
|
||||||
|
picture-uri-dark = cfg.wallpaper;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue