/rofi-tmsu

A rofi mode for TMSU

Primary LanguageShell

rofi-tmsu

This is a small script to integrate TMSU with rofi.

Configure

  • OPEN : Set Program to open files (Default xdg-open)
  • TMSU_DB : Set the location of your TMSU database (Full path!)
  • TMSU_CMD : Custom TMSU command
  • ROFI_CMD : Custom ROFI command

Set Up (i3)

Make the script executable:

chmod +x rofi-tmsu.sh

Add:

bindsym $mod+Shift+d exec /path/to/rofi-tmsu.sh

to your i3 config file. (Change $mod+Shift+d to whatever combination you prefer )

Usage

You will be prompted with all available tags. Just type one or more tags (separated by space) and hit enter. Type again to search through the available files. Hit enter again to open the selected file.