set default application, disable monitor turn off when closed, add direnv

This commit is contained in:
2026-03-27 11:45:03 +01:00
parent 1cad2253b3
commit 890d3381a5
6 changed files with 34 additions and 34 deletions

View File

@ -7,13 +7,4 @@
home.sessionVariables.BROWSER = "yazi";
programs.yazi.shellWrapperName = "y";
# 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"
# }
# '';
}