rename script to better avoid unwanted auto-suggestions.
This commit is contained in:
15
bin/.fuzzel-vscode
Executable file
15
bin/.fuzzel-vscode
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" ] || startb -- code "$desktop/$fsarg"
|
||||
Reference in New Issue
Block a user