12 lines
		
	
	
		
			208 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			208 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/usr/bin/env sh
 | |
| cd $HOME
 | |
| DIR="$(fd -L -d 4 --type d . | rofi -dmenu -i -p "~/" -theme theme/filemenu.rasi)"
 | |
| if [ -d "$DIR" ]; then
 | |
|   cd "$DIR"
 | |
|   if [[ $1 == "-x" ]]; then
 | |
|     scratch
 | |
|   else
 | |
|     xst
 | |
|   fi
 | |
| fi
 |