home : fix file manager config, add r2modman
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 1m59s

This commit is contained in:
2025-09-24 23:50:45 +02:00
parent 9a95e511e4
commit fb2b3f80ad
3 changed files with 13 additions and 11 deletions

View File

@ -27,7 +27,7 @@
};
home.file = {
".config/wallpaper.png".source = lib.mkDefault utils/wallpaper.png;
".config/lock_screen.jpg".source = lib.mkDefault utils/lock_screen.jpg;
".config/wallpaper.png".source = lib.mkDefault ../utils/wallpaper.png;
".config/lock_screen.jpg".source = lib.mkDefault ../utils/lock_screen.jpg;
};
}

View File

@ -3,14 +3,14 @@
programs.yazi = {
enable = true;
settings.mgr.sort_dir_first=false;
programs.bash.bashExtra = ''
function y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
yazi "$@" --cwd-file="$tmp"
IFS= read -r -d "" cwd < "$tmp"
[ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd"
rm -f -- "$tmp"
}
'';
};
programs.bash.bashrcExtra = ''
function y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
yazi "$@" --cwd-file="$tmp"
IFS= read -r -d "" cwd < "$tmp"
[ -n "$cwd" ] && [ "$cwd" != "$PWD" ] && builtin cd -- "$cwd"
rm -f -- "$tmp"
}
'';
}