Movatterモバイル変換


[0]ホーム

URL:


Jwno

Jwno

A Mouse Grid For Jwno

Jwno »Devlog

I learned aboutWarpd in the early days of Jwno, but never used it much. Recently, when the refactoring of theui-hint code was mostly done, I coincidentally came across it again. I stared at Warpd’sGrid Mode demo and thought, Jwno’s:ui-hint command is now decoupled from actual UI elements, and it’s able to highlight arbitrary screen areas, maybe I can build something similar on top of it?

And so I did exactly that. The code fits in a small script, and it’s much cleaner than I expected. It can even adjust the label size dynamically:

I think it’s a perfect example of implementing your ownhinter.

To try it out yourself, savethe script alongside your own config file, then

(import mouse-grid)(def mouse-grid-hinter (mouse-grid/mouse-grid-hinter))## For example, bind the command to `Win + A`,# and use "UIJK" for labels#(:define-key some-keymap             "Win + A"             [:ui-hint "UIJK" mouse-grid-hinter])

Get Jwno

Buy Now$10.00 USD or more

Jwno

A tiling window manager for Windows 10/11, built with Janet and ❤️.

Add Tool To Collection

More posts

See all posts

Leave a comment

Log in with itch.io to leave a comment.

itch.io·View all by Agent Kilo·Report
JwnoBlog

[8]ページ先頭

©2009-2025 Movatter.jp