Added silicon
This commit is contained in:
parent
9edc96fceb
commit
9233e386f3
|
@ -135,6 +135,13 @@ in {
|
|||
home-manager
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [
|
||||
fontconfig
|
||||
freetype
|
||||
];
|
||||
};
|
||||
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
stdenv.cc.cc
|
||||
zlib
|
||||
|
@ -145,6 +152,7 @@ in {
|
|||
openssl
|
||||
curl
|
||||
expat
|
||||
fontconfig
|
||||
];
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
|
|
|
@ -2,5 +2,6 @@ require('vanten.after.treesitter')
|
|||
require('vanten.after.lsp')
|
||||
require('vanten.after.telescope')
|
||||
require('vanten.after.catppuccin')
|
||||
require('vanten.after.silicon')
|
||||
|
||||
vim.keymap.set("n", "<leader>e", vim.cmd.Ex)
|
||||
|
|
18
dotfiles/nvim/after/silicon.lua
Normal file
18
dotfiles/nvim/after/silicon.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
require('silicon').setup({
|
||||
font = 'RobotoMono Nerd Font=16',
|
||||
theme = 'Monokai Extended',
|
||||
background = '#cba6f7',
|
||||
watermark = {
|
||||
text = ' vanten_s@fedi.vanten-s.com',
|
||||
},
|
||||
line_number = true,
|
||||
pad_vert = 80,
|
||||
pad_horiz = 50,
|
||||
output = {
|
||||
path = "/home/krivah/Pictures/Screenshots",
|
||||
format = "silicon_[year][month][day]_[hour][minute][second].png",
|
||||
},
|
||||
window_title = function()
|
||||
return vim.fn.fnamemodify(vim.fn.bufname(vim.fn.bufnr()), ':~:.')
|
||||
end,
|
||||
})
|
|
@ -10,4 +10,5 @@ return {
|
|||
{ 'hrsh7th/nvim-cmp' },
|
||||
{ 'hrsh7th/cmp-vsnip' },
|
||||
{ 'hrsh7th/vim-vsnip' },
|
||||
{ 'krivahtoo/silicon.nvim', build = './install.sh' }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue