scripts and vim func
This commit is contained in:
parent
98f232f5d9
commit
f6377503b7
3 changed files with 10 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
|||
font=JetBrainsMono:size=9
|
||||
|
||||
[colors]
|
||||
alpha=0.95
|
||||
alpha=0.98
|
||||
background=121212
|
||||
foreground=ebdbb2
|
||||
regular0=282828
|
||||
regular0=525252
|
||||
regular1=cc241d
|
||||
regular2=98971a
|
||||
regular3=d79921
|
||||
|
|
7
scripts/colorpicker
Executable file
7
scripts/colorpicker
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
COLOR="$(grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:- | sed '/^#/d;s/^.* (/srgb(/')"
|
||||
HEX="$(printf "$COLOR" | awk '{print $2}')"
|
||||
|
||||
wl-copy "$HEX"
|
||||
printf "$COLOR"
|
||||
notify-send "Picker" "$COLOR"
|
|
@ -123,7 +123,6 @@ Plug 'mhinz/vim-signify'
|
|||
Plug 'ibhagwan/fzf-lua'
|
||||
Plug 'morhetz/gruvbox'
|
||||
Plug 'instant-markdown/vim-instant-markdown'
|
||||
"Plug 'dracula/vim'
|
||||
call plug#end()
|
||||
|
||||
" Theme
|
||||
|
@ -153,7 +152,7 @@ autocmd! User GoyoLeave highlight Normal ctermbg=NONE
|
|||
|
||||
" IndentLine
|
||||
let g:indentLine_enabled = 1
|
||||
let g:indentLine_char = '|'
|
||||
let g:indentLine_char = '▏'
|
||||
|
||||
" fzf-lua
|
||||
noremap <A-b> :FzfLua git_branches<CR>
|
||||
|
|
Loading…
Reference in a new issue