feat(yazi): added lg on ;

swapped default : and ; behaivor
This commit is contained in:
WinterEkisha committed 2026-11-21 17:00:18 -08:00
1 parent 4a84ee5711
commit c70a2212d7
2 files changed
+18 -6

No files matched your search

+5 -3
View File
@@ -12,15 +12,14 @@
];
home.packages = (
(with pkgs; [
# --- Core Wayland plumbing (Stable 26.05) ---
wl-clipboard
(pkgs.writeShellScriptBin "lg" ''exec ${pkgs.lazygit}/bin/lazygit "$@"'')
])
++ (with pkgs.unstablePkgs; [
# --- Fast-moving CLI utils (Unstable) ---
clipse
timg
])
);
# --- Shell environment ---
programs.direnv.enable = true;
home.shellAliases = {
@@ -28,6 +27,7 @@
la = "ls -a";
lal = "ls -al";
};
programs.fish = {
enable = true;
shellAliases = {
@@ -40,6 +40,7 @@
please = "sudo";
};
};
home.shell.enableFishIntegration = true;
programs.bash = {
enable = true;
@@ -65,6 +66,7 @@
user.email = "149337190+WinterEkisha@users.noreply.github.com";
};
};
programs.eza.enable = true;
programs.bat.enable = true;
programs.btop.enable = true;
+13 -3
View File
@@ -16,18 +16,18 @@
mgr = {
ratio = [ 1 2 3 ];
sort_by = "alphabetical";
sort_dir_first = true;
sort_dir_first = true;
};
preview = {
max_width = 10000;
max_height = 10000;
max_height = 10000;
};
tasks = {
image_bound = [ 65000 65000 ];
};
open = {
prepend_rules = [
{ mime = "video/*"; use = "open"; }
{ mime = "video/*"; use = "open"; }
];
};
};
@@ -38,6 +38,16 @@
run = ''shell 'wl-copy --type "$(file --mime-type -b "$1")" < "$1"' --confirm'';
desc = "Copy file data to clipboard with matching MIME type";
}
{
on = ";";
run = "shell --interactive --block";
desc = "Run a shell command (block until finish)";
}
{
on = ":";
run = "shell --interactive";
desc = "Run a shell command (yazi background)";
}
];
};
};