feat: add yazi integration with fish
This commit is contained in:
parent
24afd66d64
commit
3049173514
12 changed files with 2386 additions and 3 deletions
|
|
@ -33,6 +33,10 @@ in
|
|||
source = "${configDir}/ghostty";
|
||||
};
|
||||
".face".source = "${configDir}/.face";
|
||||
".hyprlock_bg.svg".source = "${configDir}/hyprlock_bg.vsg";
|
||||
".config/fish/functions".source = "${configDir}/fish/functions";
|
||||
".config/yazi" = {
|
||||
recursive = true;
|
||||
source = "${configDir}/yazi";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@
|
|||
stylelint-lsp
|
||||
stylelint
|
||||
clang-tools
|
||||
taplo
|
||||
];
|
||||
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
|
|
@ -110,6 +111,7 @@
|
|||
markdown-preview-nvim
|
||||
render-markdown-nvim
|
||||
image-nvim
|
||||
hover-nvim
|
||||
|
||||
# Python
|
||||
neotest-python
|
||||
|
|
@ -225,6 +227,7 @@
|
|||
{ import = "lazyvim.plugins.extras.util.dot" },
|
||||
{ import = "lazyvim.plugins.extras.util.mini-hipatterns" },
|
||||
{ import = "lazyvim.plugins.extras.editor.telescope" },
|
||||
{ import = "lazyvim.plugins.extras.editor.refactoring" },
|
||||
|
||||
-- uncomment to import/override with your plugins
|
||||
{ import = "plugins" },
|
||||
|
|
|
|||
|
|
@ -66,6 +66,9 @@ in
|
|||
cava
|
||||
papirus-folders
|
||||
inkscape
|
||||
|
||||
# PDF Preview
|
||||
poppler
|
||||
])
|
||||
++ [
|
||||
vesktopOverride # discord
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
let
|
||||
userChrome = builtins.readFile ../config/firefox/autohide_toolbox.css;
|
||||
profileSettings = {
|
||||
|
|
@ -25,6 +30,12 @@ in
|
|||
package = pkgs.vscode;
|
||||
};
|
||||
|
||||
yazi = {
|
||||
enable = true;
|
||||
package = inputs.yazi.packages.${system}.default;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
|
|
|
|||
|
|
@ -8,6 +8,16 @@ in
|
|||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
set fish_greeting # Disable greeting
|
||||
|
||||
# Yazi
|
||||
function y
|
||||
set tmp (mktemp -t "yazi-cwd.XXXXXX")
|
||||
yazi $argv --cwd-file="$tmp"
|
||||
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
||||
builtin cd -- "$cwd"
|
||||
end
|
||||
rm -f -- "$tmp"
|
||||
end
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue