set default application, disable monitor turn off when closed, add direnv
This commit is contained in:
@ -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"
|
||||
# }
|
||||
# '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user