#!/bin/bash # ABOUTME: Rofi-based file search using the locate/mlocate database. # ABOUTME: Opens selected files with xdg-open. # info: rofi-locate is a script to search local files and folders on your computer using the locate command and the updatedb database # requirements: rofi mlocate # playlist: rofi https://www.youtube.com/playlist?list=PLqv94xWU9zZ0LVP1SEFQsLEYjZC_SUB3m xdg-open "$(locate home media | rofi -threads 0 -width 100 -dmenu -i -p "locate:")"