Update 25.05.26

This commit is contained in:
Black_Raven committed 2026-05-25 18:51:53 +03:00
1 parent eaba7c03a2
commit 91efdc4f8b
6 files changed
+156 -206

No files matched your search

+3 -3
View File
@@ -26,10 +26,11 @@
'';
in {
enable = true;
configType = "hyprlang";
xwayland.enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
plugins = with inputs.hyprland-plugins.packages.${pkgs.system}; [
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
plugins = with inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}; [
# hyprbars # Version mismatch
];
@@ -123,7 +124,6 @@
"$mainMod, E, exec, ghostty -e sh -c yazi"
"$mainMod, F, togglefloating,"
"$mainMod, D, exec, fuzzel"
"$mainMod, P, pseudo, # dwindle"
"$mainMod, J, layoutmsg, togglesplit, # dwindle"
# Move focus with mainMod + arrow keys
+36 -13
View File
@@ -25,7 +25,7 @@
};
plugin = {
preloaders = [
{ name = "*.crdownload"; run = "noop"; }
{ url = "*.crdownload"; run = "noop"; }
];
prepend_previewers = [
@@ -37,28 +37,51 @@
];
prepend_fetchers = [
{ id = "git"; mime = "*"; run = "git"; }
{ group = "git"; url = "*"; run = "git"; }
];
};
};
plugins = with pkgs.yaziPlugins; {
plugins = let
yaziPlugin = name: pkgs.stdenvNoCC.mkDerivation {
pname = "${name}.yazi";
version = "unstable";
src = inputs.yazi-plugins;
installPhase = ''
runHook preInstall
mkdir -p $out
cp -r ${name}.yazi/* $out/
rm -f $out/LICENSE
cp LICENSE $out/LICENSE
runHook postInstall
'';
};
in with pkgs.yaziPlugins; {
inherit
chmod
ouch
full-border
starship
mount
git
toggle-pane
;
;
full-border = {
package = yaziPlugin "full-border";
setup = true;
};
starship = {
package = starship;
setup = true;
};
git = {
package = git;
setup = true;
};
};
initLua = ''
require("git"):setup()
require("full-border"):setup()
require("starship"):setup()
Status:children_add(function()
local h = cx.active.current.hovered
if not h or ya.target_family() ~= "unix" then
@@ -83,7 +106,7 @@
}
{
on = "Y";
run = ''shell -- for path in "$@"; do echo "file://$path"; done | wl-copy -t text/uri-list'';
run = ''shell -- for path in %s; do echo "file://$path"; done | wl-copy -t text/uri-list'';
desc = "Copy files into system clipboard";
}
{
@@ -98,7 +121,7 @@
}
{
on = [ "<C-n>" ];
run = "shell '${lib.getExe pkgs.dragon-drop} -x -i -T %h'";
run = "shell '${lib.getExe pkgs.dragon-drop} -x -A -i -T %s'";
}
{
on = [ "g" "<S-d>" ];