Hammerspoon / hammerspoon

Staggeringly powerful macOS desktop automation with Lua

Home Page:http://www.hammerspoon.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

windowHints vimperator: Limits on Non-English systems

twio142 opened this issue · comments

I'm using a Chinese system, where most native apps (Finder, Terminal, Preview, etc.) have a Chinese title. Therefore, when using the 'vimperator' style for windowHints, Hammerspoon can't capture those apps' first letter as hints, making those windows not selectable at all. But I'd really liked to keep the vimperator style...

I'd suggest adding an option for windowHints to use applications' file names (which is universal) instead of their titles.

Alternatively, use the app's file name as a fallback (in case the app title's initial is not usable).