scripts and vim func

This commit is contained in:
tavo-wasd 2024-03-02 20:01:27 -06:00
parent 98f232f5d9
commit f6377503b7
3 changed files with 10 additions and 4 deletions

View file

@ -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
View 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"

View file

@ -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>