helm/config/rofi/bin/rofi-filemenu
2019-12-09 03:20:51 -05:00

11 lines
214 B
Bash
Executable file

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