Update README.md
This commit is contained in:
parent
afeca03eef
commit
a90f46b1c5
|
@ -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)
|
![screenshot-2023-05-28-08-34-19](https://github.com/GenjiFujimoto/dictpopup/assets/50422430/179ad9f9-b4fa-4731-92c6-105ced37c353)
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
sselp (can be replaced with xclip -o), sdcv. \
|
xclip , sdcv. \
|
||||||
Optional: lynx (for html support)
|
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
First setup [sdcv](https://github.com/Dushistov/sdcv) according to their github page.
|
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
|
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
|
## Usage
|
||||||
Call `dictpopup [html] [<WORD>]`.\
|
Call `dictpopup [<WORD>]`.\
|
||||||
If no word as an argument is supplied, the selection is used.\
|
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 popup can be dismissed by clicking on it.
|
||||||
|
|
||||||
The styling can be changed in `config.h` and then recompile to apply.
|
The styling can be changed in `config.h` and then recompile to apply.
|
||||||
|
|
Loading…
Reference in a new issue