dotfiles/scripts/projects

3 lines
130 B
Bash

#!/bin/bash
selected=$(ls ~/projects/ | rofi -dmenu -p "Open: ")
alacritty -e fish -c "cd ~/projects/$selected && nvim . && fish"