Update README.md

This commit is contained in:
Konstantin 2023-05-29 22:28:24 -04:00 committed by GitHub
parent afeca03eef
commit a90f46b1c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,8 @@ This is a very lightweight program to show a popup with the translation of the s
![screenshot-2023-05-28-08-34-19](https://github.com/GenjiFujimoto/dictpopup/assets/50422430/179ad9f9-b4fa-4731-92c6-105ced37c353)
## Dependencies
sselp (can be replaced with xclip -o), sdcv. \
Optional: lynx (for html support)
xclip , sdcv. \
## Setup
First setup [sdcv](https://github.com/Dushistov/sdcv) according to their github page.
@ -18,9 +18,8 @@ Uninstall with `sudo make uninstall`
If you would like to automatically lookup a word on every selection, then take a look at the following script: https://github.com/GenjiFujimoto/shell-scripts/blob/main/selautolookup
## Usage
Call `dictpopup [html] [<WORD>]`.\
Call `dictpopup [<WORD>]`.\
If no word as an argument is supplied, the selection is used.\
If the string `html` is supplied as the first argument, then html support will be enabled.\
The popup can be dismissed by clicking on it.
The styling can be changed in `config.h` and then recompile to apply.