nixos/gnome: set default wallpaper for dark mode as well
GNOME 42 needs two wallpaper pictures – for the default (light) colour scheme and for the dark one. Because we are clearing out the paths in `gsettings-desktop-schemas` to prevent closure from bloating, we need to set them in the NixOS module. Since the wallpaper for the default colour scheme is dark, will relegate it to the dark colour scheme and switch to a light blue variant for the default colour scheme. That one has inverted roundel for the NixOS logo but it is the only light-ish background that has the logo of the same size and placing as the dark wallpaper.
This commit is contained in:
parent
3a570f57a1
commit
7eb14b532a
@ -42,7 +42,8 @@ let
|
||||
chmod -R a+w $out/share/gsettings-schemas/nixos-gsettings-overrides
|
||||
cat - > $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/nixos-defaults.gschema.override <<- EOF
|
||||
[org.gnome.desktop.background]
|
||||
picture-uri='file://${pkgs.nixos-artwork.wallpapers.simple-dark-gray.gnomeFilePath}'
|
||||
picture-uri='file://${pkgs.nixos-artwork.wallpapers.simple-blue.gnomeFilePath}'
|
||||
picture-uri-dark='file://${pkgs.nixos-artwork.wallpapers.simple-dark-gray.gnomeFilePath}'
|
||||
|
||||
[org.gnome.desktop.screensaver]
|
||||
picture-uri='file://${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath}'
|
||||
|
Loading…
Reference in New Issue
Block a user