Wallpaper : Anime sky.

This commit is contained in:
Dmitry Voronin 2024-05-14 22:42:12 +03:00
parent a7d5279377
commit f1ff72be20
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 9 additions and 6 deletions

View file

@ -1,7 +1,4 @@
{ pkgs, config, wallpaper, ... }: let
# Sometimes stylix does not generate enough contrast for text.
# This setting forces white text to ensure contrast on dark backgrounds.
forceWhiteText = false;
in {
# Add a permanent link for the wallpaper to /etc/wallpaper.
environment.etc.wallpaper.source = wallpaper.path;
@ -42,7 +39,7 @@ in {
name = "Noto Color Emoji";
};
};
override = if forceWhiteText then {
override = if wallpaper.forceWhiteText then {
base04 = "ffffff";
base05 = "ffffff";
base06 = "ffffff";

View file

@ -1,7 +1,13 @@
{ pkgs, ... }: let
url = "https://r4.wallpaperflare.com/wallpaper/500/198/463/pixel-art-digital-art-pixelated-pixels-wallpaper-b980f83df17add4b2677d8cf6091268d.jpg";
sha256 = "sha256-OeHKf2fk4mqUvJTylYnR1uukzJJrKVpyhRjPY4om/K4=";
# Sometimes stylix does not generate enough contrast for text.
# This setting forces white text to ensure contrast on dark backgrounds.
forceWhiteText = true;
url = "https://pixeldrain.com/api/file/ppeeEr4d";
sha256 = "sha256-CeKigHd9R6Q4axalcWjHySuOj1RuY68niJ4qoQai4rM=";
in {
inherit forceWhiteText;
path = pkgs.fetchurl {
url = url;
sha256 = sha256;