a very lightweight popup dictionary written in C
Go to file
2023-05-09 21:04:14 +02:00
config.h initial commit 2023-05-09 12:51:38 +02:00
dictpopup Fix html and newline instead of space 2023-05-09 21:04:14 +02:00
LICENSE initial commit 2023-05-09 12:42:03 +02:00
Makefile initial commit 2023-05-09 12:42:03 +02:00
popup.c initial commit 2023-05-09 12:51:38 +02:00
README.md Update Readme 2023-05-09 13:43:47 +02:00

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.

image

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.