Skip to content

salman-abedin/bolt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bolt: A launcher wrapper for having a lightning fast Unix workflow

Bolt prompts you for keywords to your local files, directories or Google search and launches them respectively.

Features

  • Personalized search list

  • Filtering of irrelevant files

  • Customized application launching that can be defined easily (unlike xdg-open)

  • Googling capability

  • (Optional) Real-time update of the search list

  • Runs as fast as it gets! (hint: ~100 lines of POSIX shellscripting & early updating)

Dependencies

Installation

git clone https://github.com/salman-abedin/bolt.git && cd bolt && sudo make install

Prerequisite

Modify the launch function according to your preference and reinstall.

Usage

  • Create a paths and a filters file in ~/.config/bolt. Here is a couple of examples

  • run bolt --generate (preferably at startup) to generate the search list

    • (Optional) run bolt --watch (preferably at startup) to enable real-time search list update
  • Bind a key combination with the command bolt --rofi-search to launch the prompt

    • (Optional) run bolt --tmux-launch or bolt --fzf-search to use bolt inside the terminal
  • Type the keyword, press enter and baam!

Update

cd bolt
git pull rebase && sudo make install

Uninstallation

sudo make uninstall

Patches

  • 21/06/20:- Added support for launching files with spaces in the name

  • 24/06/20:- Added two column prompt for more accurate searching

  • 30/06/20:- Added googling support

  • 05/07/20:- Added tmux and fzf support

FAQ

Why not use xdg-open?

I hate xdg-open. Because...

  1. it will only work on linux

  2. You have to modify two files in two different locations writing no less than 5 lines with root level shell scripting. I would much rather have you use a one liner like in my script and keep it much more flexible.


Repos you might be interested in

Name Description
uniblocks The status bar wrapper
tide Minimal Transmission CLI client
puri Minimal URL launcher
devour Terminal swallowing
crystal The transparent setup
Magpie The dotfiles
Alfred The scripts

Contact

[email protected]

About

Launcher wrapper for a lightning fast Unix workflow

Resources

License

Stars

Watchers

Forks