Skip to content

ple1n/hoverpanel

Repository files navigation

Hoverpanel

It's currently recommended to use Niri because a recent update broke the protocol of data-control in KWin.

work in progress.

On Niri (which does not work with kde-blur yet)

On Kwin (currently broken)

building

git clone https://github.com/ple1n/egui_tracing ../egui_tracing 

steps for importing dictionaries

  • Download archive from IPFS
  • Extract files into a folder /path/OpenMdicts/
  • ./target/debug/hoverpanel yaml -p "/path/OpenMdicts/*.yaml" (works in fish)
$ hoverpanel stat
index loaded
function=load_file duration=178.062µs
Entries in database, 1618336. Unique words in index, 0.
$ hoverpanel build # takes a few minutes to build an index
index loaded
function=load_file duration=223.287µs
word set len 1442910
function=build_all duration=237.265975846s

index loaded
function=load_file duration=9.340071825s
function=build_index_from_db duration=259.211243985s
built, 1442910 words

fonts

dnf install google-droid-fonts dejavusansmono-nerd-fonts # fedora

usage

cargo b -p wpopup
sudo ./target/debug/gestured # hotkey server
cargo b -r # launch the dictionary GUI

double tap left-control to show or hide the panel

select any text on any wayland window It should pick up your word and fuzzy search instantly

Known bugs

  • IME works sometimes and sometimes not. The state handling of wayland is probably faulty.
  • XWayland causes mouse input to offset by 4 pixels, when an Xwayland window is below hoverpanel.

About

The linux desktop assistant with built-in instant fuzzy search language dictionary

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages