replace ykrun with runbg for background command execution

... to solve the nvm-sh environment issue.(mostly vscode)

NOTE: may also import other envvars, tbc.
This commit is contained in:
2025-12-16 02:05:23 +08:00
parent b4932ef737
commit 11352d2bbb
5 changed files with 212 additions and 12 deletions

View File

@@ -12,4 +12,4 @@ for item in $(ls $desktop); do
done
fsarg=$(echo -en "$options" | fuzzel --dmenu --prompt="Open Project with VSCode:")
[ -z "$fsarg" ] || ykrun code "$desktop/$fsarg"
[ -z "$fsarg" ] || runbg -- code "$desktop/$fsarg"