update
- remove powershell deps - rewrite readme - fully use YukiLauncher
This commit is contained in:
15
bin/fuzzel-vsc-entries.sh
Executable file
15
bin/fuzzel-vsc-entries.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user