Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/gnome: set default wallpaper for dark mode as well #166096

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

jtojnar
Copy link
Member

@jtojnar jtojnar commented Mar 28, 2022

Description of changes

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.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added 6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Mar 28, 2022
@jtojnar
Copy link
Member Author

jtojnar commented Mar 28, 2022

Looks like the backgrounds currently have different size of NixOS logos:

https://gfycat.com/parchednimblearrowcrab

Maybe we should just always use the dark one?

Ideas @samueldr?

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Mar 28, 2022
@jtojnar jtojnar force-pushed the gnome-default-dark-background branch from 4777ad8 to 621810d Compare March 28, 2022 20:33
@jtojnar
Copy link
Member Author

jtojnar commented Mar 28, 2022

The blue background has a same size but it looks slightly odd:

nixos-gnome-background.mp4

@davidak
Copy link
Member

davidak commented Apr 13, 2022

This does not use the official logo and the backgrounds are different. I would like to have a consistent user experience across desktops.

@jtojnar jtojnar changed the title nixos/gnome: set default theme for dark mode as well nixos/gnome: set default background for dark mode as well Apr 13, 2022
@jtojnar jtojnar force-pushed the gnome-default-dark-background branch from 621810d to 1378b58 Compare April 13, 2022 18:18
@jtojnar jtojnar changed the title nixos/gnome: set default background for dark mode as well nixos/gnome: set default wallpaper for dark mode as well Apr 13, 2022
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.
@jtojnar jtojnar force-pushed the gnome-default-dark-background branch from 1378b58 to 56d27ee Compare April 13, 2022 18:31
@jtojnar
Copy link
Member Author

jtojnar commented Apr 13, 2022

I have updated the commit message to make it clearer. But until we have better wallpaper set designed, the only other alternative is having the same picture for both light and dark colour schemes, which significantly decreases the cool factor.

@davidak
Copy link
Member

davidak commented Apr 13, 2022

I can't blame you for using the wallpapers that are available. So OK for now!

@jtojnar jtojnar merged commit 7eb14b5 into NixOS:master Apr 13, 2022
@jtojnar jtojnar deleted the gnome-default-dark-background branch April 13, 2022 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants