2019-12-08 23:54:42 -08:00
|
|
|
#!/usr/bin/env sh
|
2020-02-09 00:03:58 -08:00
|
|
|
cd $HOME
|
|
|
|
DIR="$(fd -L -d 4 --type d . | rofi -dmenu -i -p "~/" -theme theme/filemenu.rasi)"
|
2019-12-08 23:54:42 -08:00
|
|
|
if [ -d "$DIR" ]; then
|
|
|
|
cd "$DIR"
|
|
|
|
if [[ $1 == "-x" ]]; then
|
2020-02-01 18:04:39 -08:00
|
|
|
scratch
|
2019-12-08 23:54:42 -08:00
|
|
|
else
|
|
|
|
xst
|
|
|
|
fi
|
|
|
|
fi
|