a very lightweight popup dictionary written in C
Go to file
2023-05-10 19:52:26 +02:00
config.h initial commit 2023-05-09 12:51:38 +02:00
config.mk Update Makefile 2023-05-10 19:47:42 +02:00
dictpopup Update dictpopup script 2023-05-10 19:52:26 +02:00
LICENSE initial commit 2023-05-09 12:42:03 +02:00
Makefile Update Makefile 2023-05-10 19:52:09 +02:00
popup.c Change spawn location near monitor boundary 2023-05-10 19:47:21 +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.