- Clone or download the repository.
- Install rofi.
- Run
make install. (maybe you needsudopermissons to do this)
If the script is in a binary directory:
rofi-vscode [directory]
Replace [directory] with the directory of your vscode workspaces. (e.g. /home/user/git)
The script will open a rofi dmenu where it will list all the directories in the given workspaces directory. If you select a directory (or project) it will open it in vscode.
Create new workspace: It asks you for new directory name and creates a new directory in the workspaces folder. Finally it will open it in VSCode.Add existing project from git: It allows you to clone a git repository from the scirpt either from a SSH or a HTTPS source.
If you want to clone a git repository via ssh and your ssh key is protected with a passphrase, you should either remove the passphrase for better comfort or you have to run ssh-add ~/.ssh/id_rsa before you clone the repo.
Alt+r: Remove the selected workspaceAlt+e: Edit (rename) the selected workspaceAlt+Return: Open a information view about the selected workspaceAlt+t: Opens the selected workspace in a terminal
- rofi
- git
- curl
- Visual Studio Code (code)
soon...