helm/config/rofi/bin/rofi-filemenu

11 lines
205 B
Plaintext
Raw Normal View History

#!/usr/bin/env sh
DIR="$(fd -L --type d . $HOME | rofi -dmenu -i -columns 1 -theme theme/appmenu.rasi)"
if [ -d "$DIR" ]; then
cd "$DIR"
if [[ $1 == "-x" ]]; then
st-scratch
else
xst
fi
fi