All Projects → nekonako → xresources-nvim

nekonako / xresources-nvim

Licence: GPL-2.0 license
🎨 Neovim colorscheme based on your xresources color

Programming Languages

lua
6591 projects
Vim Script
2826 projects

Projects that are alternatives of or similar to xresources-nvim

nightfox.nvim
🦊A highly customizable theme for vim and neovim with support for lsp, treesitter and a variety of plugins.
Stars: ✭ 1,489 (+1833.77%)
Mutual labels:  colorscheme
kitty-snazzy
Elegant kitty terminal theme with bright colors
Stars: ✭ 93 (+20.78%)
Mutual labels:  colorscheme
blossom.vim
a simple pinkish vim colorscheme designed for cursive italics
Stars: ✭ 18 (-76.62%)
Mutual labels:  colorscheme
sourcerer.vim
vim colorscheme
Stars: ✭ 42 (-45.45%)
Mutual labels:  colorscheme
github-light.vim
Github colorscheme for vim
Stars: ✭ 33 (-57.14%)
Mutual labels:  colorscheme
vim-transparent
Remove all background color on Vim
Stars: ✭ 65 (-15.58%)
Mutual labels:  colorscheme
tokyodark.nvim
A clean dark theme written in lua for neovim.
Stars: ✭ 264 (+242.86%)
Mutual labels:  colorscheme
one.kak
Atom "One" color schemes for Kakoune.
Stars: ✭ 19 (-75.32%)
Mutual labels:  colorscheme
dotfiles
My dotfiles and colorschemes for sway and a variety of other programs.
Stars: ✭ 55 (-28.57%)
Mutual labels:  colorscheme
parsec
A color scheme for people tired of solarized
Stars: ✭ 30 (-61.04%)
Mutual labels:  colorscheme
cosme.vim
Cosmetic color scheme for Vim
Stars: ✭ 63 (-18.18%)
Mutual labels:  colorscheme
neon
Customizable coloscheme with dark and light options, vivid colors and easy on the eye.
Stars: ✭ 100 (+29.87%)
Mutual labels:  colorscheme
Turtles
🐢 A vim colorscheme based off the legendary teenage warriors
Stars: ✭ 43 (-44.16%)
Mutual labels:  colorscheme
ImageColorizer
Make any wallpaper fit any terminal colorscheme.
Stars: ✭ 80 (+3.9%)
Mutual labels:  colorscheme
kumux-colorscheme-engine
Kumux is the world's first dynamic circadian color scheme for code editors and other software.
Stars: ✭ 102 (+32.47%)
Mutual labels:  colorscheme
hyper-wal
Extension for using colorschemes generated by wal in Hyper terminal
Stars: ✭ 21 (-72.73%)
Mutual labels:  colorscheme
kakoune-colors
Color schemes for kakoune
Stars: ✭ 15 (-80.52%)
Mutual labels:  colorscheme
neotrix.vim
💚A nice dark colorscheme for Vim and Neovim.😃
Stars: ✭ 43 (-44.16%)
Mutual labels:  colorscheme
material.nvim
🔱 Material colorscheme for NeoVim written in Lua with built-in support for native LSP, TreeSitter and many more plugins
Stars: ✭ 574 (+645.45%)
Mutual labels:  colorscheme
Theme-Engine
Theme-Engine is usually made for modification & customization, so you can make trunks even more Colourful and better your Termux.
Stars: ✭ 31 (-59.74%)
Mutual labels:  colorscheme

Xresources-nvim

* Neovim colorscheme based on your xresources color *



Require

  • Neovim 0.5
  • xrdb

Install

Vim Plug

Plug 'nekonako/xresources-nvim'

Usage

  • lua

require('xresources')

  • lua inside vimscript

lua require('xresources')

  • vimscript

colorscheme xresources

Notes

if you use light background, set neovim background to light.

  • lua

vim.o.background = 'light'

  • lua inside vimscript

lua vim.o.background = 'light'

  • vimscript

set background=light

Properties

Properties Xresources
fg foreground
bg background
black color0
red color1
green color2
yellow color3
blue color4
purple color5
cyan color6
white color7
light_black color8
light_red color9
light_green color10
light_yellow color11
light_blue color12
light_purple color13
light_cyan color14
light_white color15
grey background + 0xf0f10
grey1 background + 0x363940
none NONE

Example using properties

Let say i want using xresources to my galaxyline configuration

local galaxyline = require('galaxyline')
local color = require('xresources')
local section = galaxyline.section

section.left[1] = {
   FileName = {
      provider = get_current_file_name,
      condition = buffer_not_empty,
      -- acessing properties --
      highlight = {color.bg, color.purple},
      separator = " ",
      -- acessing properties --
      separator_highlight = {color.gray, color.gray}
   }
}

Tips

Similiar project

My setup

  • my xresources color is originaly from uwu.vim
  • my terminal is using alacritty
  • font is pragmataPro

Thanks

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].