Files
aglab.dotfiles/bin/fuzzel-vsc-entries.sh
SilverAg.L 5fffcbcd53 update
- remove powershell deps
- rewrite readme
- fully use YukiLauncher
2025-10-14 15:04:30 +08:00

16 lines
321 B
Bash
Executable File

#!/bin/bash
desktop="$HOME/Desktop"
options=""
for item in $(ls $desktop); do
options+=$item
if [[ -d "$desktop/$item" ]]; then
options+='/'
fi
options+="\n"
done
fsarg=$(echo -en "$options" | fuzzel --dmenu --prompt="Open Project with VSCode:")
[ -z "$fsarg" ] || ykrun code "$desktop/$fsarg"