config.h | ||
dictpopup | ||
LICENSE | ||
Makefile | ||
popup.c | ||
README.md |
dictpopup
This is a very lightweight program to show a popup with the translation of the selected text. It uses sdcv for the dictionary lookup and a slightly modified version of herbe to display the popup.
Dependencies
xclip, sdcv
Setup
First setup sdcv according to their github page.
Then compile with make
and place dictpopup
as well as popup
in your PATH.
Usage
Call dictpopup
to translate and display the popup of the selected text. The
popup can be dismissed by clicking on it.
The styling can be changed in config.h
, but it has the be recompiled.
There is also a xresources patch from herbe
that you could try to apply.
You can also use popup
like popup "Hello"
for other things if you want.