This is a small script to integrate TMSU with rofi.
OPEN
: Set Program to open files (Default xdg-open)TMSU_DB
: Set the location of your TMSU database (Full path!)TMSU_CMD
: Custom TMSU commandROFI_CMD
: Custom ROFI command
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 )
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.