Added silicon

This commit is contained in:
vanten-s 2024-03-26 17:40:14 +01:00
parent 9edc96fceb
commit 9233e386f3
Signed by: vanten-s
GPG key ID: DE3060396884D3F2
4 changed files with 28 additions and 0 deletions

View file

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

View file

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

View 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,
})

View file

@ -10,4 +10,5 @@ return {
{ 'hrsh7th/nvim-cmp' },
{ 'hrsh7th/cmp-vsnip' },
{ 'hrsh7th/vim-vsnip' },
{ 'krivahtoo/silicon.nvim', build = './install.sh' }
}