Wallpaper : Anime sky.
This commit is contained in:
parent
a7d5279377
commit
f1ff72be20
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue