This commit is contained in:
elkowar 2021-04-23 12:43:25 +02:00
parent 8a90eafdc7
commit 5b3891dd9a
4 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ {
"optOut": false, "optOut": false,
"lastUpdateCheck": 1619084764236 "lastUpdateCheck": 1619171839115
} }

View file

@ -53,6 +53,6 @@ do
local function _3_(cnt, lvl, diagnostics_dict) local function _3_(cnt, lvl, diagnostics_dict)
return (" (" .. cnt .. ")") return (" (" .. cnt .. ")")
end end
bufferline.setup({highlights = {background = visible, buffer_selected = selected, buffer_visible = visible, error = visible, error_selected = selected, error_visible = visible, fill = {guibg = colors.dark0, guifg = colors.light0}, indicator_selected = {guibg = colors.neutral_aqua, guifg = colors.neutral_aqua}, modified = visible, modified_selected = selected, modified_visible = visible, pick_selected = {guibg = colors.bright_red, guifg = colors.bright_red}, separator = visible, tab = {guibg = colors.bright_yellow, guifg = colors.bright_yellow}, tab_selected = {guibg = colors.bright_green, guifg = colors.bright_green}, warning = visible, warning_selected = selected, warning_visible = visible}, options = {diagnostics = "nvim_lsp", diagnostics_indicator = _3_, enforce_regular_tabs = false, show_buffer_close_icons = false, show_close_icon = false, show_tab_indicators = false, tab_size = 10}}) bufferline.setup({highlights = {background = visible, buffer_selected = selected, buffer_visible = visible, error = {guifg = colors.bright_green}, error_selected = selected, error_visible = visible, fill = {guibg = colors.dark0, guifg = colors.light0}, indicator_selected = {guibg = colors.neutral_aqua, guifg = colors.neutral_aqua}, modified = visible, modified_selected = selected, modified_visible = visible, pick_selected = {guibg = colors.bright_red, guifg = colors.bright_red}, separator = visible, tab = {guibg = colors.bright_yellow, guifg = colors.bright_yellow}, tab_selected = {guibg = colors.bright_green, guifg = colors.bright_green}, warning = visible, warning_selected = selected, warning_visible = visible}, options = {diagnostics = "nvim_lsp", diagnostics_indicator = _3_, enforce_regular_tabs = false, show_buffer_close_icons = false, show_close_icon = false, show_tab_indicators = false, tab_size = 10}})
end end
return utils.highlight("BufferLineInfoSelected", {bg = colors.neutral_aqua, fg = colors.dark0, gui = "NONE"}) return utils.highlight("BufferLineInfoSelected", {bg = colors.neutral_aqua, fg = colors.dark0, gui = "NONE"})

View file

@ -1,5 +1,9 @@
use: rofi -dmenu -i use: rofi -dmenu -i
menu: copy :: -no-custom
make => /home/leon/scripts/memeaker
copy => /home/leon/scripts/copy-pasta.sh
menu: set-redshift :: -no-custom menu: set-redshift :: -no-custom
off => redshift -x off => redshift -x
medium => redshift -P -O 5000 medium => redshift -P -O 5000

View file

@ -6,6 +6,8 @@
dir=/home/leon/copy-pasta/meme-maker dir=/home/leon/copy-pasta/meme-maker
c=${XDG_CACHE_HOME:=$HOME/.cache}/meme.png c=${XDG_CACHE_HOME:=$HOME/.cache}/meme.png
rm "$c"
# template # template
file=$(ls "$dir" | rofi -dmenu -p file) file=$(ls "$dir" | rofi -dmenu -p file)
[ -f "$dir/$file" ] || exit 1 [ -f "$dir/$file" ] || exit 1