sbmpost / AutoRaise

AutoRaise (and focus) a window when hovering over it with the mouse
GNU General Public License v3.0
1.44k stars 60 forks source link

focusDelay option not available via CLI #221

Open dilmcnulty opened 3 days ago

dilmcnulty commented 3 days ago

14" MacBook Pro w/ M1 Max Sonoma 14.5

After installing AutoRaise, trying to set focusDelay via config file & CLI flags does not work. In fact, after starting the application via the CLI there is no focusDelay option available.

I really like having just focus delay and no raising for my setup. Is there any way to achieve these without a focusDelay? Is there a reason it was removed? I see it in the README instructions so I'm not sure why it is not available.

dilmcnulty commented 3 days ago

when executing via CLI


➜  AutoRaise-master autoraise

v5.3 by sbmpost(c) 2024, usage:

AutoRaise
  -pollMillis <20, 30, 40, 50, ...>
  -delay <0=no-raise, 1=no-delay, 2=50ms, 3=100ms, ...>
  -warpX <0.5> -warpY <0.5> -scale <2.0>
  -altTaskSwitcher <true|false>
  -ignoreSpaceChanged <true|false>
  -invertIgnoreApps <true|false>
  -ignoreApps "<App1,App2,...>"
  -ignoreTitles "<Regex1,Regex2,...>"
  -stayFocusedBundleIds "<Id1,Id2,...>"
  -disableKey <control|option|disabled>
  -mouseDelta <0.1>
  -verbose <true|false>```
sbmpost commented 2 days ago

Try to compile with the EXPERIMENTAL_FOCUS_FIRST option. This has been documented in the README

make CXXFLAGS="-DOLD_ACTIVATION_METHOD -DEXPERIMENTAL_FOCUS_FIRST" && make install