Gruvbox color scheme
This commit is contained in:
@@ -89,7 +89,7 @@
|
|||||||
frame_width = 2
|
frame_width = 2
|
||||||
|
|
||||||
# Defines color of the frame around the notification window.
|
# Defines color of the frame around the notification window.
|
||||||
frame_color = "#bd93f9"
|
frame_color = "#fe8019"
|
||||||
|
|
||||||
# Define a color for the separator.
|
# Define a color for the separator.
|
||||||
# possible values are:
|
# possible values are:
|
||||||
@@ -292,23 +292,24 @@
|
|||||||
[urgency_low]
|
[urgency_low]
|
||||||
# IMPORTANT: colors have to be defined in quotation marks.
|
# IMPORTANT: colors have to be defined in quotation marks.
|
||||||
# Otherwise the "#" and following would be interpreted as a comment.
|
# Otherwise the "#" and following would be interpreted as a comment.
|
||||||
background = "#282a36"
|
background = "#282828"
|
||||||
foreground = "#6272a4"
|
foreground = "#ebdbb2"
|
||||||
|
frame_color = "#fabd2f"
|
||||||
timeout = 10
|
timeout = 10
|
||||||
# Icon for notifications with low urgency, uncomment to enable
|
# Icon for notifications with low urgency, uncomment to enable
|
||||||
#new_icon = /path/to/icon
|
#new_icon = /path/to/icon
|
||||||
|
|
||||||
[urgency_normal]
|
[urgency_normal]
|
||||||
background = "#282a36"
|
background = "#282828"
|
||||||
foreground = "#f8f8f2"
|
foreground = "#ebdbb2"
|
||||||
timeout = 10
|
timeout = 10
|
||||||
# Icon for notifications with normal urgency, uncomment to enable
|
# Icon for notifications with normal urgency, uncomment to enable
|
||||||
#new_icon = /path/to/icon
|
#new_icon = /path/to/icon
|
||||||
|
|
||||||
[urgency_critical]
|
[urgency_critical]
|
||||||
background = "#282a36"
|
background = "#282828"
|
||||||
foreground = "#ff5555"
|
foreground = "#ebdbb2"
|
||||||
frame_color = "#ff5555"
|
frame_color = "#fb4934"
|
||||||
timeout = 0
|
timeout = 0
|
||||||
# Icon for notifications with critical urgency, uncomment to enable
|
# Icon for notifications with critical urgency, uncomment to enable
|
||||||
#new_icon = /path/to/icon
|
#new_icon = /path/to/icon
|
||||||
|
|||||||
@@ -77,30 +77,29 @@ style=block
|
|||||||
# JetBrains Darcula
|
# JetBrains Darcula
|
||||||
# Palette based on the same theme from https://github.com/dexpota/kitty-themes
|
# Palette based on the same theme from https://github.com/dexpota/kitty-themes
|
||||||
|
|
||||||
[cursor]
|
#[cursor]
|
||||||
color=282a36 f8f8f2
|
#color=282a36 f8f8f2
|
||||||
|
|
||||||
[colors]
|
[colors]
|
||||||
alpha=0.95
|
alpha=0.95
|
||||||
foreground=f8f8f2
|
background=282828
|
||||||
background=282a36
|
foreground=ebdbb2
|
||||||
regular0=000000 # black
|
regular0=282828
|
||||||
regular1=ff5555 # red
|
regular1=cc241d
|
||||||
regular2=50fa7b # green
|
regular2=98971a
|
||||||
regular3=f1fa8c # yellow
|
regular3=d79921
|
||||||
regular4=bd93f9 # blue
|
regular4=458588
|
||||||
regular5=ff79c6 # magenta
|
regular5=b16286
|
||||||
regular6=8be9fd # cyan
|
regular6=689d6a
|
||||||
regular7=bfbfbf # white
|
regular7=a89984
|
||||||
bright0=4d4d4d # bright black
|
bright0=928374
|
||||||
bright1=ff6e67 # bright red
|
bright1=fb4934
|
||||||
bright2=5af78e # bright green
|
bright2=b8bb26
|
||||||
bright3=f4f99d # bright yellow
|
bright3=fabd2f
|
||||||
bright4=caa9fa # bright blue
|
bright4=83a598
|
||||||
bright5=ff92d0 # bright magenta
|
bright5=d3869b
|
||||||
bright6=9aedfe # bright cyan
|
bright6=8ec07c
|
||||||
bright7=e6e6e6 # bright white
|
bright7=ebdbb2
|
||||||
|
|
||||||
|
|
||||||
[csd]
|
[csd]
|
||||||
# preferred=server
|
# preferred=server
|
||||||
|
|||||||
@@ -223,12 +223,12 @@ default_floating_border pixel 3
|
|||||||
smart_borders on
|
smart_borders on
|
||||||
|
|
||||||
# Border colors
|
# Border colors
|
||||||
client.focused #d75f5f #d75f5f #1e1e2e #d79b5f
|
client.focused #fe8019 #fe8019 #1d2021 #fb4934
|
||||||
client.unfocused #1e1e2e #1e1e2e #cdd6f4
|
client.unfocused #1d2021 #1d2021 #83a598
|
||||||
client.focused_inactive #1e1e2e #1e1e2e #1e1e2e
|
client.focused_inactive #1d2021 #1d2021 #1d2021
|
||||||
client.placeholder #f9e2af #f9e2af #1e1e2e
|
client.placeholder #fabd2f #fabd2f #1d2021
|
||||||
client.urgent #f38ba8 #f38ba8 #1e1e2e
|
client.urgent #d3869b #d3869b #1d2021
|
||||||
client.background #1e1e2e
|
client.background #282828
|
||||||
|
|
||||||
focus_follows_mouse no
|
focus_follows_mouse no
|
||||||
|
|
||||||
|
|||||||
@@ -1,29 +1,30 @@
|
|||||||
|
font="JetBrainsMono Nerd Font"
|
||||||
color=000000
|
color=000000
|
||||||
bs-hl-color=f5e0dc
|
bs-hl-color=fe8019
|
||||||
caps-lock-bs-hl-color=f5e0dc
|
caps-lock-bs-hl-color=cc241d
|
||||||
caps-lock-key-hl-color=a6e3a1
|
caps-lock-key-hl-color=cc241d
|
||||||
inside-color=00000000
|
inside-color=282828
|
||||||
inside-clear-color=00000000
|
inside-clear-color=282828
|
||||||
inside-caps-lock-color=00000000
|
inside-caps-lock-color=282828
|
||||||
inside-ver-color=00000000
|
inside-ver-color=282828
|
||||||
inside-wrong-color=00000000
|
inside-wrong-color=282828
|
||||||
key-hl-color=a6e3a1
|
key-hl-color=fe8019
|
||||||
layout-bg-color=00000000
|
layout-bg-color=00000000
|
||||||
layout-border-color=00000000
|
layout-border-color=00000000
|
||||||
layout-text-color=cdd6f4
|
layout-text-color=ebdbb2
|
||||||
line-color=00000000
|
line-color=00000000
|
||||||
line-clear-color=00000000
|
line-clear-color=00000000
|
||||||
line-caps-lock-color=00000000
|
line-caps-lock-color=00000000
|
||||||
line-ver-color=00000000
|
line-ver-color=00000000
|
||||||
line-wrong-color=00000000
|
line-wrong-color=00000000
|
||||||
ring-color=b4befe
|
ring-color=ebdbb2
|
||||||
ring-clear-color=f5e0dc
|
ring-clear-color=8ec07c
|
||||||
ring-caps-lock-color=fab387
|
ring-caps-lock-color=fb4934
|
||||||
ring-ver-color=89b4fa
|
ring-ver-color=8ec07c
|
||||||
ring-wrong-color=eba0ac
|
ring-wrong-color=cc241d
|
||||||
separator-color=00000000
|
separator-color=00000000
|
||||||
text-color=cdd6f4
|
text-color=ebdbb2
|
||||||
text-clear-color=f5e0dc
|
text-clear-color=ebdbb2
|
||||||
text-caps-lock-color=fab387
|
text-caps-lock-color=fb4934
|
||||||
text-ver-color=89b4fa
|
text-ver-color=8ec07c
|
||||||
text-wrong-color=eba0ac
|
text-wrong-color=cc241d
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
@define-color background-darker rgba(30, 31, 41, 230);
|
|
||||||
@define-color background #282a36;
|
|
||||||
@define-color selection #44475a;
|
|
||||||
@define-color foreground #f8f8f2;
|
|
||||||
@define-color comment #6272a4;
|
|
||||||
@define-color cyan #8be9fd;
|
|
||||||
@define-color green #50fa7b;
|
|
||||||
@define-color orange #ffb86c;
|
|
||||||
@define-color pink #ff79c6;
|
|
||||||
@define-color purple #bd93f9;
|
|
||||||
@define-color red #ff5555;
|
|
||||||
@define-color yellow #f1fa8c;
|
|
||||||
@@ -1,15 +1,12 @@
|
|||||||
@define-color base-darker rgba(30, 31, 41, 230);
|
@define-color base #282828;
|
||||||
@define-color base #282a36;
|
@define-color foreground #ebdbb2;
|
||||||
@define-color selection #44475a;
|
@define-color cyan #83a598;
|
||||||
@define-color foreground #f8f8f2;
|
@define-color green #8ec07c;
|
||||||
@define-color comment #6272a4;
|
@define-color orange #fe8019;
|
||||||
@define-color cyan #8be9fd;
|
@define-color pink #d3869b;
|
||||||
@define-color green #50fa7b;
|
@define-color purple #b16286;
|
||||||
@define-color orange #ffb86c;
|
@define-color red #fb4934;
|
||||||
@define-color pink #ff79c6;
|
@define-color yellow #fabd2f;
|
||||||
@define-color purple #bd93f9;
|
|
||||||
@define-color red #ff5555;
|
|
||||||
@define-color yellow #f1fa8c;
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
@@ -259,6 +256,10 @@ label:focus {
|
|||||||
background-color: @base;
|
background-color: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#tray * {
|
||||||
|
background: @base;
|
||||||
|
}
|
||||||
|
|
||||||
#idle_inhibitor {
|
#idle_inhibitor {
|
||||||
color: @yellow;
|
color: @yellow;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,31 +1,42 @@
|
|||||||
|
@define-color darkbase #1d2021;
|
||||||
|
@define-color base #282828;
|
||||||
|
@define-color foreground #ebdbb2;
|
||||||
|
@define-color cyan #83a598;
|
||||||
|
@define-color green #8ec07c;
|
||||||
|
@define-color orange #fe8019;
|
||||||
|
@define-color pink #d3869b;
|
||||||
|
@define-color purple #d3869b;
|
||||||
|
@define-color red #fb4934;
|
||||||
|
@define-color yellow #fabd2f;
|
||||||
|
|
||||||
window {
|
window {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
border: 2px solid #bd93f9;
|
border: 3px solid @orange;
|
||||||
background-color: #282a36;
|
background-color: @base;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
outline-style: none;
|
outline-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#input {
|
#input {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 50px;
|
border-radius: 8px;
|
||||||
color: #f8f8f2;
|
color: @foreground;
|
||||||
background-color: #44475a;
|
background-color: @darkbase;
|
||||||
outline-style: none;
|
outline-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#inner-box {
|
#inner-box {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: #282a36;
|
background-color: @base;
|
||||||
outline-style: none;
|
outline-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#outer-box {
|
#outer-box {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
border: none;
|
border: none;
|
||||||
background-color: #282a36;
|
background-color: @base;
|
||||||
outline-style: none;
|
outline-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -38,7 +49,7 @@ window {
|
|||||||
#text {
|
#text {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
border: none;
|
border: none;
|
||||||
color: #f8f8f2;
|
color: @foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
#entry {
|
#entry {
|
||||||
@@ -47,23 +58,24 @@ window {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#entry.activatable #text {
|
#entry.activatable #text {
|
||||||
color: #282a36;
|
color: @darkbase;
|
||||||
}
|
}
|
||||||
|
|
||||||
#entry > * {
|
#entry > * {
|
||||||
color: #f8f8f2;
|
color: @base;
|
||||||
}
|
}
|
||||||
|
|
||||||
#entry:selected {
|
#entry:selected {
|
||||||
background-color: #44475a;
|
background-color: @darkbase;
|
||||||
border: none;
|
border: none;
|
||||||
|
border-radius: 8px;
|
||||||
outline-style: none;
|
outline-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#entry:selected #text {
|
#entry:selected #text {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #bd93f9;
|
color: @foreground;
|
||||||
background-color: #44475a;
|
background-color: @darkbase;
|
||||||
}
|
}
|
||||||
|
|
||||||
#img:selected {
|
#img:selected {
|
||||||
|
|||||||
1
dotfiles/.local/share/fonts/.uuid
Normal file
1
dotfiles/.local/share/fonts/.uuid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
bf7e32ff-eab7-47c6-a821-2159283ad38b
|
||||||
@@ -0,0 +1,79 @@
|
|||||||
|
" -----------------------------------------------------------------------------
|
||||||
|
" File: gruvbox.vim
|
||||||
|
" Description: Retro groove color scheme for Airline
|
||||||
|
" Author: morhetz <morhetz@gmail.com>
|
||||||
|
" Source: https://github.com/morhetz/gruvbox
|
||||||
|
" Last Modified: 12 Aug 2017
|
||||||
|
" -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
let g:airline#themes#gruvbox#palette = {}
|
||||||
|
|
||||||
|
function! airline#themes#gruvbox#refresh()
|
||||||
|
|
||||||
|
let M0 = airline#themes#get_highlight('Identifier')
|
||||||
|
let accents_group = airline#themes#get_highlight('Special')
|
||||||
|
let modified_group = [M0[0], '', M0[2], '', '']
|
||||||
|
let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Question', 'fg'])
|
||||||
|
let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg'])
|
||||||
|
|
||||||
|
let s:N1 = airline#themes#get_highlight2(['Normal', 'bg'], ['StatusLineNC', 'bg'])
|
||||||
|
let s:N2 = airline#themes#get_highlight2(['StatusLineNC', 'bg'], ['Pmenu', 'bg'])
|
||||||
|
let s:N3 = airline#themes#get_highlight2(['StatusLineNC', 'bg'], ['CursorLine', 'bg'])
|
||||||
|
let g:airline#themes#gruvbox#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
||||||
|
let g:airline#themes#gruvbox#palette.normal_modified = { 'airline_c': modified_group }
|
||||||
|
let g:airline#themes#gruvbox#palette.normal.airline_warning = warning_group
|
||||||
|
let g:airline#themes#gruvbox#palette.normal_modified.airline_warning = warning_group
|
||||||
|
let g:airline#themes#gruvbox#palette.normal.airline_error = error_group
|
||||||
|
let g:airline#themes#gruvbox#palette.normal_modified.airline_error = error_group
|
||||||
|
|
||||||
|
let s:I1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Identifier', 'fg'])
|
||||||
|
let s:I2 = s:N2
|
||||||
|
let s:I3 = airline#themes#get_highlight2(['Normal', 'fg'], ['Pmenu', 'bg'])
|
||||||
|
let g:airline#themes#gruvbox#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
||||||
|
let g:airline#themes#gruvbox#palette.insert_modified = g:airline#themes#gruvbox#palette.normal_modified
|
||||||
|
let g:airline#themes#gruvbox#palette.insert.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning
|
||||||
|
let g:airline#themes#gruvbox#palette.insert_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning
|
||||||
|
let g:airline#themes#gruvbox#palette.insert.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error
|
||||||
|
let g:airline#themes#gruvbox#palette.insert_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error
|
||||||
|
|
||||||
|
let s:R1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg'])
|
||||||
|
let s:R2 = s:I2
|
||||||
|
let s:R3 = s:I3
|
||||||
|
let g:airline#themes#gruvbox#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
|
||||||
|
let g:airline#themes#gruvbox#palette.replace_modified = g:airline#themes#gruvbox#palette.normal_modified
|
||||||
|
let g:airline#themes#gruvbox#palette.replace.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning
|
||||||
|
let g:airline#themes#gruvbox#palette.replace_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning
|
||||||
|
let g:airline#themes#gruvbox#palette.replace.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error
|
||||||
|
let g:airline#themes#gruvbox#palette.replace_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error
|
||||||
|
|
||||||
|
let s:V1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Question', 'fg'])
|
||||||
|
let s:V2 = s:N2
|
||||||
|
let s:V3 = airline#themes#get_highlight2(['Normal', 'bg'], ['TabLine', 'fg'])
|
||||||
|
let g:airline#themes#gruvbox#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
||||||
|
let g:airline#themes#gruvbox#palette.visual_modified = { 'airline_c': [ s:V3[0], '', s:V3[2], '', '' ] }
|
||||||
|
let g:airline#themes#gruvbox#palette.visual.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning
|
||||||
|
let g:airline#themes#gruvbox#palette.visual_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning
|
||||||
|
let g:airline#themes#gruvbox#palette.visual.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error
|
||||||
|
let g:airline#themes#gruvbox#palette.visual_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error
|
||||||
|
|
||||||
|
let s:IA = airline#themes#get_highlight2(['TabLine', 'fg'], ['CursorLine', 'bg'])
|
||||||
|
let g:airline#themes#gruvbox#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
|
||||||
|
let g:airline#themes#gruvbox#palette.inactive_modified = { 'airline_c': modified_group }
|
||||||
|
|
||||||
|
let g:airline#themes#gruvbox#palette.accents = { 'red': accents_group }
|
||||||
|
|
||||||
|
let s:TF = airline#themes#get_highlight2(['Normal', 'bg'], ['Normal', 'bg'])
|
||||||
|
let g:airline#themes#gruvbox#palette.tabline = {
|
||||||
|
\ 'airline_tab': s:N2,
|
||||||
|
\ 'airline_tabsel': s:N1,
|
||||||
|
\ 'airline_tabtype': s:V1,
|
||||||
|
\ 'airline_tabfill': s:TF,
|
||||||
|
\ 'airline_tabhid': s:IA,
|
||||||
|
\ 'airline_tabmod': s:I1
|
||||||
|
\ }
|
||||||
|
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
call airline#themes#gruvbox#refresh()
|
||||||
|
|
||||||
|
" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker:
|
||||||
41
dotfiles/.vim/pack/themes/start/gruvbox/autoload/gruvbox.vim
Normal file
41
dotfiles/.vim/pack/themes/start/gruvbox/autoload/gruvbox.vim
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
" -----------------------------------------------------------------------------
|
||||||
|
" File: gruvbox.vim
|
||||||
|
" Description: Retro groove color scheme for Vim
|
||||||
|
" Author: morhetz <morhetz@gmail.com>
|
||||||
|
" Source: https://github.com/morhetz/gruvbox
|
||||||
|
" Last Modified: 09 Apr 2014
|
||||||
|
" -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
function! gruvbox#invert_signs_toggle()
|
||||||
|
if g:gruvbox_invert_signs == 0
|
||||||
|
let g:gruvbox_invert_signs=1
|
||||||
|
else
|
||||||
|
let g:gruvbox_invert_signs=0
|
||||||
|
endif
|
||||||
|
|
||||||
|
colorscheme gruvbox
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
" Search Highlighting {{{
|
||||||
|
|
||||||
|
function! gruvbox#hls_show()
|
||||||
|
set hlsearch
|
||||||
|
call GruvboxHlsShowCursor()
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function! gruvbox#hls_hide()
|
||||||
|
set nohlsearch
|
||||||
|
call GruvboxHlsHideCursor()
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function! gruvbox#hls_toggle()
|
||||||
|
if &hlsearch
|
||||||
|
call gruvbox#hls_hide()
|
||||||
|
else
|
||||||
|
call gruvbox#hls_show()
|
||||||
|
endif
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker:
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
" -----------------------------------------------------------------------------
|
||||||
|
" File: gruvbox.vim
|
||||||
|
" Description: Gruvbox colorscheme for Lightline (itchyny/lightline.vim)
|
||||||
|
" Author: gmoe <me@griffinmoe.com>
|
||||||
|
" Source: https://github.com/morhetz/gruvbox
|
||||||
|
" Last Modified: 20 Sep 2017
|
||||||
|
" -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
function! s:getGruvColor(group)
|
||||||
|
let guiColor = synIDattr(hlID(a:group), "fg", "gui")
|
||||||
|
let termColor = synIDattr(hlID(a:group), "fg", "cterm")
|
||||||
|
return [ guiColor, termColor ]
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
if exists('g:lightline')
|
||||||
|
|
||||||
|
let s:bg0 = s:getGruvColor('GruvboxBg0')
|
||||||
|
let s:bg1 = s:getGruvColor('GruvboxBg1')
|
||||||
|
let s:bg2 = s:getGruvColor('GruvboxBg2')
|
||||||
|
let s:bg4 = s:getGruvColor('GruvboxBg4')
|
||||||
|
let s:fg1 = s:getGruvColor('GruvboxFg1')
|
||||||
|
let s:fg4 = s:getGruvColor('GruvboxFg4')
|
||||||
|
|
||||||
|
let s:yellow = s:getGruvColor('GruvboxYellow')
|
||||||
|
let s:blue = s:getGruvColor('GruvboxBlue')
|
||||||
|
let s:aqua = s:getGruvColor('GruvboxAqua')
|
||||||
|
let s:orange = s:getGruvColor('GruvboxOrange')
|
||||||
|
let s:green = s:getGruvColor('GruvboxGreen')
|
||||||
|
|
||||||
|
let s:p = {'normal':{}, 'inactive':{}, 'insert':{}, 'replace':{}, 'visual':{}, 'tabline':{}, 'terminal':{}}
|
||||||
|
let s:p.normal.left = [ [ s:bg0, s:fg4, 'bold' ], [ s:fg4, s:bg2 ] ]
|
||||||
|
let s:p.normal.right = [ [ s:bg0, s:fg4 ], [ s:fg4, s:bg2 ] ]
|
||||||
|
let s:p.normal.middle = [ [ s:fg4, s:bg1 ] ]
|
||||||
|
let s:p.inactive.right = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ]
|
||||||
|
let s:p.inactive.left = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ]
|
||||||
|
let s:p.inactive.middle = [ [ s:bg4, s:bg1 ] ]
|
||||||
|
let s:p.insert.left = [ [ s:bg0, s:blue, 'bold' ], [ s:fg1, s:bg2 ] ]
|
||||||
|
let s:p.insert.right = [ [ s:bg0, s:blue ], [ s:fg1, s:bg2 ] ]
|
||||||
|
let s:p.insert.middle = [ [ s:fg4, s:bg2 ] ]
|
||||||
|
let s:p.terminal.left = [ [ s:bg0, s:green, 'bold' ], [ s:fg1, s:bg2 ] ]
|
||||||
|
let s:p.terminal.right = [ [ s:bg0, s:green ], [ s:fg1, s:bg2 ] ]
|
||||||
|
let s:p.terminal.middle = [ [ s:fg4, s:bg2 ] ]
|
||||||
|
let s:p.replace.left = [ [ s:bg0, s:aqua, 'bold' ], [ s:fg1, s:bg2 ] ]
|
||||||
|
let s:p.replace.right = [ [ s:bg0, s:aqua ], [ s:fg1, s:bg2 ] ]
|
||||||
|
let s:p.replace.middle = [ [ s:fg4, s:bg2 ] ]
|
||||||
|
let s:p.visual.left = [ [ s:bg0, s:orange, 'bold' ], [ s:bg0, s:bg4 ] ]
|
||||||
|
let s:p.visual.right = [ [ s:bg0, s:orange ], [ s:bg0, s:bg4 ] ]
|
||||||
|
let s:p.visual.middle = [ [ s:fg4, s:bg1 ] ]
|
||||||
|
let s:p.tabline.left = [ [ s:fg4, s:bg2 ] ]
|
||||||
|
let s:p.tabline.tabsel = [ [ s:bg0, s:fg4 ] ]
|
||||||
|
let s:p.tabline.middle = [ [ s:bg0, s:bg0 ] ]
|
||||||
|
let s:p.tabline.right = [ [ s:bg0, s:orange ] ]
|
||||||
|
let s:p.normal.error = [ [ s:bg0, s:orange ] ]
|
||||||
|
let s:p.normal.warning = [ [ s:bg2, s:yellow ] ]
|
||||||
|
|
||||||
|
let g:lightline#colorscheme#gruvbox#palette = lightline#colorscheme#flatten(s:p)
|
||||||
|
endif
|
||||||
1418
dotfiles/.vim/pack/themes/start/gruvbox/colors/gruvbox.vim
Normal file
1418
dotfiles/.vim/pack/themes/start/gruvbox/colors/gruvbox.vim
Normal file
File diff suppressed because it is too large
Load Diff
118
dotfiles/.vim/pack/themes/start/gruvbox/gruvbox_256palette.sh
Executable file
118
dotfiles/.vim/pack/themes/start/gruvbox/gruvbox_256palette.sh
Executable file
@@ -0,0 +1,118 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ "${TERM%%-*}" = "screen" ]; then
|
||||||
|
if [ -n "$TMUX" ]; then
|
||||||
|
printf "\033Ptmux;\033\033]4;236;rgb:32/30/2f\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;234;rgb:1d/20/21\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;235;rgb:28/28/28\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;237;rgb:3c/38/36\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;239;rgb:50/49/45\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;241;rgb:66/5c/54\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;243;rgb:7c/6f/64\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;244;rgb:92/83/74\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;245;rgb:92/83/74\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;228;rgb:f2/e5/bc\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;230;rgb:f9/f5/d7\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;229;rgb:fb/f1/c7\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;223;rgb:eb/db/b2\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;250;rgb:d5/c4/a1\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;248;rgb:bd/ae/93\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;246;rgb:a8/99/84\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;167;rgb:fb/49/34\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;142;rgb:b8/bb/26\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;214;rgb:fa/bd/2f\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;109;rgb:83/a5/98\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;175;rgb:d3/86/9b\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;108;rgb:8e/c0/7c\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;208;rgb:fe/80/19\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;88;rgb:9d/00/06\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;100;rgb:79/74/0e\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;136;rgb:b5/76/14\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;24;rgb:07/66/78\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;96;rgb:8f/3f/71\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;66;rgb:42/7b/58\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;130;rgb:af/3a/03\007\033\\"
|
||||||
|
else
|
||||||
|
printf "\033P\033]4;236;rgb:32/30/2f\007\033\\"
|
||||||
|
printf "\033P\033]4;234;rgb:1d/20/21\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;235;rgb:28/28/28\007\033\\"
|
||||||
|
printf "\033P\033]4;237;rgb:3c/38/36\007\033\\"
|
||||||
|
printf "\033P\033]4;239;rgb:50/49/45\007\033\\"
|
||||||
|
printf "\033P\033]4;241;rgb:66/5c/54\007\033\\"
|
||||||
|
printf "\033P\033]4;243;rgb:7c/6f/64\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;244;rgb:92/83/74\007\033\\"
|
||||||
|
printf "\033P\033]4;245;rgb:92/83/74\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;228;rgb:f2/e5/bc\007\033\\"
|
||||||
|
printf "\033P\033]4;230;rgb:f9/f5/d7\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;229;rgb:fb/f1/c7\007\033\\"
|
||||||
|
printf "\033P\033]4;223;rgb:eb/db/b2\007\033\\"
|
||||||
|
printf "\033P\033]4;250;rgb:d5/c4/a1\007\033\\"
|
||||||
|
printf "\033P\033]4;248;rgb:bd/ae/93\007\033\\"
|
||||||
|
printf "\033P\033]4;246;rgb:a8/99/84\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;167;rgb:fb/49/34\007\033\\"
|
||||||
|
printf "\033P\033]4;142;rgb:b8/bb/26\007\033\\"
|
||||||
|
printf "\033P\033]4;214;rgb:fa/bd/2f\007\033\\"
|
||||||
|
printf "\033P\033]4;109;rgb:83/a5/98\007\033\\"
|
||||||
|
printf "\033P\033]4;175;rgb:d3/86/9b\007\033\\"
|
||||||
|
printf "\033P\033]4;108;rgb:8e/c0/7c\007\033\\"
|
||||||
|
printf "\033P\033]4;208;rgb:fe/80/19\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;88;rgb:9d/00/06\007\033\\"
|
||||||
|
printf "\033P\033]4;100;rgb:79/74/0e\007\033\\"
|
||||||
|
printf "\033P\033]4;136;rgb:b5/76/14\007\033\\"
|
||||||
|
printf "\033P\033]4;24;rgb:07/66/78\007\033\\"
|
||||||
|
printf "\033P\033]4;96;rgb:8f/3f/71\007\033\\"
|
||||||
|
printf "\033P\033]4;66;rgb:42/7b/58\007\033\\"
|
||||||
|
printf "\033P\033]4;130;rgb:af/3a/03\007\033\\"
|
||||||
|
fi
|
||||||
|
|
||||||
|
elif [ "$TERM" != "linux" ] && [ "$TERM" != "vt100" ] && [ "$TERM" != "vt220" ]; then
|
||||||
|
|
||||||
|
printf "\033]4;236;rgb:32/30/2f\033\\"
|
||||||
|
printf "\033]4;234;rgb:1d/20/21\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;235;rgb:28/28/28\033\\"
|
||||||
|
printf "\033]4;237;rgb:3c/38/36\033\\"
|
||||||
|
printf "\033]4;239;rgb:50/49/45\033\\"
|
||||||
|
printf "\033]4;241;rgb:66/5c/54\033\\"
|
||||||
|
printf "\033]4;243;rgb:7c/6f/64\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;244;rgb:92/83/74\033\\"
|
||||||
|
printf "\033]4;245;rgb:92/83/74\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;228;rgb:f2/e5/bc\033\\"
|
||||||
|
printf "\033]4;230;rgb:f9/f5/d7\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;229;rgb:fb/f1/c7\033\\"
|
||||||
|
printf "\033]4;223;rgb:eb/db/b2\033\\"
|
||||||
|
printf "\033]4;250;rgb:d5/c4/a1\033\\"
|
||||||
|
printf "\033]4;248;rgb:bd/ae/93\033\\"
|
||||||
|
printf "\033]4;246;rgb:a8/99/84\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;167;rgb:fb/49/34\033\\"
|
||||||
|
printf "\033]4;142;rgb:b8/bb/26\033\\"
|
||||||
|
printf "\033]4;214;rgb:fa/bd/2f\033\\"
|
||||||
|
printf "\033]4;109;rgb:83/a5/98\033\\"
|
||||||
|
printf "\033]4;175;rgb:d3/86/9b\033\\"
|
||||||
|
printf "\033]4;108;rgb:8e/c0/7c\033\\"
|
||||||
|
printf "\033]4;208;rgb:fe/80/19\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;88;rgb:9d/00/06\033\\"
|
||||||
|
printf "\033]4;100;rgb:79/74/0e\033\\"
|
||||||
|
printf "\033]4;136;rgb:b5/76/14\033\\"
|
||||||
|
printf "\033]4;24;rgb:07/66/78\033\\"
|
||||||
|
printf "\033]4;96;rgb:8f/3f/71\033\\"
|
||||||
|
printf "\033]4;66;rgb:42/7b/58\033\\"
|
||||||
|
printf "\033]4;130;rgb:af/3a/03\033\\"
|
||||||
|
fi
|
||||||
116
dotfiles/.vim/pack/themes/start/gruvbox/gruvbox_256palette_osx.sh
Executable file
116
dotfiles/.vim/pack/themes/start/gruvbox/gruvbox_256palette_osx.sh
Executable file
@@ -0,0 +1,116 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ "${TERM%%-*}" = "screen" ]; then
|
||||||
|
if [ -n "$TMUX" ]; then
|
||||||
|
printf "\033Ptmux;\033\033]4;236;rgb:26/24/23\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;234;rgb:16/18/19\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;235;rgb:1e/1e/1e\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;237;rgb:2e/2a/29\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;239;rgb:3f/39/35\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;241;rgb:53/4a/42\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;243;rgb:68/5c/51\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;244;rgb:7f/70/61\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;245;rgb:7f/70/61\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;228;rgb:ef/df/ae\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;230;rgb:f8/f4/cd\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;229;rgb:fa/ee/bb\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;223;rgb:e6/d4/a3\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;250;rgb:cb/b8/90\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;248;rgb:af/9f/81\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;246;rgb:97/87/71\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;167;rgb:f7/30/28\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;142;rgb:aa/b0/1e\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;214;rgb:f7/b1/25\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;109;rgb:71/95/86\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;175;rgb:c7/70/89\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;108;rgb:7d/b6/69\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;208;rgb:fb/6a/16\007\033\\"
|
||||||
|
|
||||||
|
printf "\033Ptmux;\033\033]4;88;rgb:89/00/09\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;100;rgb:66/62/0d\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;136;rgb:a5/63/11\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;24;rgb:0e/53/65\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;96;rgb:7b/2b/5e\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;66;rgb:35/6a/46\007\033\\"
|
||||||
|
printf "\033Ptmux;\033\033]4;130;rgb:9d/28/07\007\033\\"
|
||||||
|
else
|
||||||
|
printf "\033P\033]4;236;rgb:26/24/23\007\033\\"
|
||||||
|
printf "\033P\033]4;234;rgb:16/18/19\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;235;rgb:1e/1e/1e\007\033\\"
|
||||||
|
printf "\033P\033]4;237;rgb:2e/2a/29\007\033\\"
|
||||||
|
printf "\033P\033]4;239;rgb:3f/39/35\007\033\\"
|
||||||
|
printf "\033P\033]4;241;rgb:53/4a/42\007\033\\"
|
||||||
|
printf "\033P\033]4;243;rgb:68/5c/51\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;244;rgb:7f/70/61\007\033\\"
|
||||||
|
printf "\033P\033]4;245;rgb:7f/70/61\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;228;rgb:ef/df/ae\007\033\\"
|
||||||
|
printf "\033P\033]4;230;rgb:f8/f4/cd\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;229;rgb:fa/ee/bb\007\033\\"
|
||||||
|
printf "\033P\033]4;223;rgb:e6/d4/a3\007\033\\"
|
||||||
|
printf "\033P\033]4;250;rgb:cb/b8/90\007\033\\"
|
||||||
|
printf "\033P\033]4;248;rgb:af/9f/81\007\033\\"
|
||||||
|
printf "\033P\033]4;246;rgb:97/87/71\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;167;rgb:f7/30/28\007\033\\"
|
||||||
|
printf "\033P\033]4;142;rgb:aa/b0/1e\007\033\\"
|
||||||
|
printf "\033P\033]4;214;rgb:f7/b1/25\007\033\\"
|
||||||
|
printf "\033P\033]4;109;rgb:71/95/86\007\033\\"
|
||||||
|
printf "\033P\033]4;175;rgb:c7/70/89\007\033\\"
|
||||||
|
printf "\033P\033]4;108;rgb:7d/b6/69\007\033\\"
|
||||||
|
printf "\033P\033]4;208;rgb:fb/6a/16\007\033\\"
|
||||||
|
|
||||||
|
printf "\033P\033]4;88;rgb:89/00/09\007\033\\"
|
||||||
|
printf "\033P\033]4;100;rgb:66/62/0d\007\033\\"
|
||||||
|
printf "\033P\033]4;136;rgb:a5/63/11\007\033\\"
|
||||||
|
printf "\033P\033]4;24;rgb:0e/53/65\007\033\\"
|
||||||
|
printf "\033P\033]4;96;rgb:7b/2b/5e\007\033\\"
|
||||||
|
printf "\033P\033]4;66;rgb:35/6a/46\007\033\\"
|
||||||
|
printf "\033P\033]4;130;rgb:9d/28/07\007\033\\"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
printf "\033]4;236;rgb:26/24/23\033\\"
|
||||||
|
printf "\033]4;234;rgb:16/18/19\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;235;rgb:1e/1e/1e\033\\"
|
||||||
|
printf "\033]4;237;rgb:2e/2a/29\033\\"
|
||||||
|
printf "\033]4;239;rgb:3f/39/35\033\\"
|
||||||
|
printf "\033]4;241;rgb:53/4a/42\033\\"
|
||||||
|
printf "\033]4;243;rgb:68/5c/51\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;244;rgb:7f/70/61\033\\"
|
||||||
|
printf "\033]4;245;rgb:7f/70/61\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;228;rgb:ef/df/ae\033\\"
|
||||||
|
printf "\033]4;230;rgb:f8/f4/cd\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;229;rgb:fa/ee/bb\033\\"
|
||||||
|
printf "\033]4;223;rgb:e6/d4/a3\033\\"
|
||||||
|
printf "\033]4;250;rgb:cb/b8/90\033\\"
|
||||||
|
printf "\033]4;248;rgb:af/9f/81\033\\"
|
||||||
|
printf "\033]4;246;rgb:97/87/71\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;167;rgb:f7/30/28\033\\"
|
||||||
|
printf "\033]4;142;rgb:aa/b0/1e\033\\"
|
||||||
|
printf "\033]4;214;rgb:f7/b1/25\033\\"
|
||||||
|
printf "\033]4;109;rgb:71/95/86\033\\"
|
||||||
|
printf "\033]4;175;rgb:c7/70/89\033\\"
|
||||||
|
printf "\033]4;108;rgb:7d/b6/69\033\\"
|
||||||
|
printf "\033]4;208;rgb:fb/6a/16\033\\"
|
||||||
|
|
||||||
|
printf "\033]4;88;rgb:89/00/09\033\\"
|
||||||
|
printf "\033]4;100;rgb:66/62/0d\033\\"
|
||||||
|
printf "\033]4;136;rgb:a5/63/11\033\\"
|
||||||
|
printf "\033]4;24;rgb:0e/53/65\033\\"
|
||||||
|
printf "\033]4;96;rgb:7b/2b/5e\033\\"
|
||||||
|
printf "\033]4;66;rgb:35/6a/46\033\\"
|
||||||
|
printf "\033]4;130;rgb:9d/28/07\033\\"
|
||||||
|
fi
|
||||||
@@ -124,12 +124,15 @@ if $COLORTERM == 'gnome-terminal'
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
try
|
try
|
||||||
colorscheme codedark
|
colorscheme gruvbox
|
||||||
catch
|
catch
|
||||||
endtry
|
endtry
|
||||||
|
|
||||||
set background=dark
|
set background=dark
|
||||||
|
|
||||||
|
" Set background to transparent
|
||||||
|
hi Normal guibg=NONE ctermbg=NONE
|
||||||
|
|
||||||
" Set extra options when running in GUI mode
|
" Set extra options when running in GUI mode
|
||||||
if has("gui_running")
|
if has("gui_running")
|
||||||
set guioptions-=T
|
set guioptions-=T
|
||||||
|
|||||||
Reference in New Issue
Block a user