Wallpaper : Orange deer & some color updates.
This commit is contained in:
parent
5476267bf5
commit
78b4da4973
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, lib, ... }: with lib; let
|
||||
url = "https://i.imgur.com/Ni17fLc.jpeg";
|
||||
sha256 = "0ms6ip1fqpcn55diqjwrgf3km0m3cgbz9cyy1glfhr0rbrvnfhaf";
|
||||
forceContrastText = false;
|
||||
url = "https://i.imgur.com/gYy0mzG.jpeg";
|
||||
sha256 = "0pwnq84mdbv8nrarhnbkq77iabwgh7znr0yig3fnshamxl2a3k7k";
|
||||
forceContrastText = true;
|
||||
in {
|
||||
options = {
|
||||
module.wallpaper = {
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
|
||||
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"; };
|
||||
in {
|
||||
text = ''
|
||||
|
@ -11,10 +12,12 @@ in {
|
|||
group = vim.api.nvim_create_augroup('Color', {}),
|
||||
pattern = "*",
|
||||
callback = function ()
|
||||
-- Backgrounds.
|
||||
${mkHighlight "CursorLine" bg}
|
||||
${mkHighlight "TelescopeSelection" bg}
|
||||
|
||||
-- Selection.
|
||||
${mkHighlight "CursorLine" selection}
|
||||
${mkHighlight "Visual" selection}
|
||||
${mkHighlight "TelescopeSelection" selection}
|
||||
|
||||
-- Transparent.
|
||||
${mkHighlight "NormalFloat" transparent}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ config, ... }: let
|
||||
fg = config.style.color.bg.dark;
|
||||
fg = config.style.color.fg.dark;
|
||||
selection = config.style.color.selection;
|
||||
in {
|
||||
text = ''
|
||||
|
|
Loading…
Reference in a new issue