GithubHelp home page GithubHelp logo

rofi-file-selector's Introduction

What does it do?

Uses Rofi (https://github.com/davatorium/rofi) to search for files using the file’s full path and opens them with xdg-open. For the sake of speed, the search is limited to the directories listed in the find command in rofi-file-search.sh.

Open multiple files by selecting them with Shift+Return.

The script automatically saves previous search terms and re-opens rofi with the same search text. To delete the previous search terms, type C-a C-k.

Also logs files opened and enables access to recent files via rofi-recent-files.sh.

Installation

Make sure the following are executable and in your PATH (or symlink them):

  • quote-splitter.py
  • rofi-file-selector.sh
  • rofi-recent-files.sh

Currently, the log files are assumed to be in ~/Code/rofi-file-selector

The log files are:

  • xdg-open-log.log
  • rofi-file-selector.conf

FAQ

Q. Why is there a python script?

A. Because I couldn’t figure out how to parse Rofi’s output in Bash quickly, I got frustrated, and I used whatever worked.

Q. Do you know your code sucks?

A. Yup.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.