mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-10-27 19:20:43 +01:00
stuff
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
modules = [
|
||||
./home.nix
|
||||
catppuccin.homeModules.catppuccin
|
||||
nixvim.homeManagerModules.nixvim
|
||||
nixvim.homeModules.nixvim
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
@@ -160,15 +160,21 @@
|
||||
lsp = {
|
||||
enable = true;
|
||||
servers = {
|
||||
# script
|
||||
lua_ls.enable = true;
|
||||
# web
|
||||
cssls.enable = true;
|
||||
html.enable = true;
|
||||
# dev
|
||||
clangd.enable = true;
|
||||
nil_ls.enable = true;
|
||||
pyright.enable = true;
|
||||
rust_analyzer = {
|
||||
enable = true;
|
||||
installCargo = true;
|
||||
installRustc = true;
|
||||
};
|
||||
# nix
|
||||
nil_ls.enable = true;
|
||||
};
|
||||
keymaps = {
|
||||
lspBuf = {
|
||||
@@ -184,6 +190,20 @@
|
||||
lsp-format.enable = true;
|
||||
|
||||
luasnip.enable = true;
|
||||
|
||||
treesitter = {
|
||||
enable = true;
|
||||
settings = {
|
||||
highlight.enable = true;
|
||||
indent.enable = false;
|
||||
};
|
||||
};
|
||||
|
||||
indent-blankline = {
|
||||
enable = true;
|
||||
settings.scope.enabled = true;
|
||||
};
|
||||
|
||||
cmp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -207,5 +227,15 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
extraConfigLua = ''
|
||||
vim.diagnostic.config({
|
||||
virtual_text = {
|
||||
prefix = "●",
|
||||
spacing = 2,
|
||||
source = "if_many",
|
||||
}
|
||||
});
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
tealdeer
|
||||
grim
|
||||
slurp
|
||||
wl-clipboard
|
||||
bc
|
||||
nh
|
||||
];
|
||||
|
||||
@@ -16,9 +16,10 @@
|
||||
initial-tool = "crop";
|
||||
output-filename = "/home/${username}/Obrazy/zrzuty/%d-%m-%Y_%H:%M:%S.png";
|
||||
save-after-copy = true;
|
||||
copy-command = "wl-copy";
|
||||
disable-notifications = false;
|
||||
actions-on-escape = [ "exit" ];
|
||||
action-on-enter = "save-to-clipboard";
|
||||
actions-on-enter = [ "save-to-clipboard" ];
|
||||
no-window-decoration = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -151,7 +151,6 @@
|
||||
player="$1"
|
||||
|
||||
${playerctl} -p "$player" metadata --format "{{status}} {{artist}} - {{title}}" --follow | while read -r line; do
|
||||
# Nix wymaga ''${ dla zmiennych basha w stringach nixowych
|
||||
current_status=$(${playerctl} --player="$player" status 2>/dev/null)
|
||||
|
||||
case "$current_status" in
|
||||
@@ -192,7 +191,9 @@
|
||||
};
|
||||
};
|
||||
|
||||
style = ''
|
||||
style =
|
||||
#css
|
||||
''
|
||||
|
||||
/* Global styles */
|
||||
* {
|
||||
|
||||
@@ -28,5 +28,15 @@
|
||||
title_format = "Yazi: {cwd}";
|
||||
};
|
||||
};
|
||||
|
||||
keymap.mgr.prepend_keymap = [
|
||||
{
|
||||
on = [ "y" ];
|
||||
run = [
|
||||
"shell -- for path in %s; do echo \"file://$path\"; done | wl-copy -t text/uri-list"
|
||||
"yank"
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user