Zeioth / rofi-zeal

Use rofi to search documentation on Zeal and Man
MIT License
47 stars 2 forks source link

rofi-zeal

Use rofi to search documentation on Zeal and Man.

zeal zeal2

Dependencies

How to install

Just attach the script to a keyboard shortcut.

If you install from AUR run

yay -S rofi-zeal-git
rofi-zeal

If you install from git run

# Install
mkdir -p ~/.local/share/rofi/rofi-zeal/
cp "${srcdir}"/rofi-zeal/rofi-zeal.sh ~/.local/share/rofi/rofi-zeal/rofi-zeal.sh
chmod u+x ~/.local/share/rofi/rofi-zeal/rofi-zeal.sh
ln -sf ~/.local/share/rofi/rofi-zeal/rofi-zeal.sh ~/.local/bin/rofi-zeal

# Then run rofi-zeal
rofi-zeal

Example for I3WM

bindsym $mod+Ctrl+d exec rofi-zeal

Then use it to search like:

language:term     # Search on Zeal
dd language term  # Search on DevDocs
man term          # Search on Man

s term            # Search on Stack Overflow
g term            # Search on Google
d term            # Search on DuckDuckGo

Troubleshooting

Contribute to the project

I don't use rofi myself anymore but I will review and merge pull requests, so please send your PR if you would like to include a new feature.

Wanted features