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:21:20 +08:00
parent b4932ef737
commit 3446d3d97e
6 changed files with 213 additions and 13 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"