Files
yadm/.config/nvim/lua/plugins/screenshot.lua
2023-08-17 23:43:39 +02:00

31 lines
1.0 KiB
Lua

return {
"TobinPalmer/rayso.nvim",
cmd = { 'Rayso' },
config = function()
require('rayso').setup{
base_url = 'https://ray.so/', -- Default URL
open_cmd = 'firefox', -- On MacOS, will open with open -a firefox.app. Other OS's are untested.
options = {
background = true, -- If the screenshot should have a background.
dark_mode = true, -- If the screenshot should be in dark mode.
logging_path = '', -- Path to create a log file in.
logging_file = 'rayso', -- Name of log file, will be a markdown file, ex rayso.md.
logging_enabled = false, -- If you enable the logging file.
padding = 32, -- The default padding that the screenshot will have.
theme = 'crimson', -- Theme
title = 'Untitled', -- Default title
}
}
end
}
--"narutoxy/silicon.lua",
-- {'krivahtoo/silicon.nvim', build = './install.sh',
-- config = function()
-- require('silicon').setup({
-- font = 'DaddyTimeMono Nerd Font=16',
-- theme = 'Monokai Extended',
-- })
-- end
-- },