Skip to content

small rofi script to search for Go packages quickly

Notifications You must be signed in to change notification settings

giulianopz/grofi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grofi

Small rofi script to search for Go packages on pkg.go.dev.

Buind and install it in your PATH:

go build .
chmod u+x grofi
mv grofi /usr/local/bin

n.b.: replace '/usr/local/bin' with any path sourced when a new terminal window opens up.

Then add a custom keyboard shortcut to launch rofi in script mode according to your desktop environment (e.g. see here for GNOME) executing the following command:

rofi -show grofi -modi "grofi:/usr/local/bin/grofi" 

Launch rofi with the configured shortcut. Then, type the name of a package or a keyword and press Enter to open in the browser the documentation of the selected entry:

preview


References:

About

small rofi script to search for Go packages quickly

Topics

Resources

Stars

Watchers

Forks

Languages