Wallpaper : Orange deer & some color updates.

This commit is contained in:
Dmitry Voronin 2024-10-10 03:17:40 +03:00
parent 5476267bf5
commit 78b4da4973
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 11 additions and 8 deletions

View file

@ -1,7 +1,7 @@
{ pkgs, lib, ... }: with lib; let { pkgs, lib, ... }: with lib; let
url = "https://i.imgur.com/Ni17fLc.jpeg"; url = "https://i.imgur.com/gYy0mzG.jpeg";
sha256 = "0ms6ip1fqpcn55diqjwrgf3km0m3cgbz9cyy1glfhr0rbrvnfhaf"; sha256 = "0pwnq84mdbv8nrarhnbkq77iabwgh7znr0yig3fnshamxl2a3k7k";
forceContrastText = false; forceContrastText = true;
in { in {
options = { options = {
module.wallpaper = { module.wallpaper = {

View file

@ -3,7 +3,8 @@
mkHighlight = name: value: ''vim.api.nvim_set_hl(0, "${name}", ${lib.generators.toLua { multiline = false; asBindings = false; } value})''; mkHighlight = name: value: ''vim.api.nvim_set_hl(0, "${name}", ${lib.generators.toLua { multiline = false; asBindings = false; } value})'';
selection = { bg = "#${color.bg.regular}"; }; bg = { bg = "#${color.bg.regular}"; };
selection = { bg = "#${color.selection}"; fg = "#${color.fg.dark}"; bold = true; };
transparent = { bg = lib.generators.mkLuaInline "clear"; }; transparent = { bg = lib.generators.mkLuaInline "clear"; };
in { in {
text = '' text = ''
@ -11,10 +12,12 @@ in {
group = vim.api.nvim_create_augroup('Color', {}), group = vim.api.nvim_create_augroup('Color', {}),
pattern = "*", pattern = "*",
callback = function () callback = function ()
-- Backgrounds.
${mkHighlight "CursorLine" bg}
${mkHighlight "TelescopeSelection" bg}
-- Selection. -- Selection.
${mkHighlight "CursorLine" selection} ${mkHighlight "Visual" selection}
${mkHighlight "Visual" selection}
${mkHighlight "TelescopeSelection" selection}
-- Transparent. -- Transparent.
${mkHighlight "NormalFloat" transparent} ${mkHighlight "NormalFloat" transparent}

View file

@ -1,5 +1,5 @@
{ config, ... }: let { config, ... }: let
fg = config.style.color.bg.dark; fg = config.style.color.fg.dark;
selection = config.style.color.selection; selection = config.style.color.selection;
in { in {
text = '' text = ''