helm/config/rofi/bin/rofi-filemenu
Henrik Lissner 33868cd3d3
Add rofi-filemenu & st-calc
These are dummy applications for rofi's dmenu launcher.
2019-12-09 02:54:42 -05:00

11 lines
205 B
Bash
Executable file

#!/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