Skip to content

KeyChord/chords-com.apple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@keychord/chords-com.apple

Chord package for pre-installed macOS apps.

Apps

Menu

The built-in menu navigation chord handler uses the prefix - and is dynamic based on what you type afterwards:

\d+

Typing a number n will click the nth menu in the menu bar of the currently focused application.

([a-z])\1

Typing a sequence of repeating letters will match the .length-th menu that starts with that letter. For example, given the following menu bar:

File | Edit | View | History | Window | Help

Typing -h will match History, but typing -hh will match Help.

[a-z-]+\d+?

Typing a sequence of non-repeating letters optionally followed by a number n will match the nth menu item (1st if unspecified) that starts with those letters. Only works when a menu is expanded. A - may be used to match "spaces" so you can match by abbreviation instead of prefix.

For example, given the following menu items:

Zoom in
Zoom out

Typing z or zo will match Zoom In, but typing z-o or z2 will match Zoom Out.

Tray

The built-in tray chord handler uses the prefix = and is dynamic based on what you type afterwards:

\d+

Typing a number n will left click the nth tray item. Typing 0 will click the Notch area.

\d+/

Typing a number n followed by a / will right click the nth tray item. Typing 0 will right click the Notch area.

-\d+

Typing a negative number n will left click the nth item from the end of the tray. For example, -1 will always click the last tray item.

-\d+/

Typing a negative number n followed by a / will right click the nth item from the end of the tray.

b/?

Clicks the battery tray item. / for right click.

w/?

Clicks the Wi-Fi tray item. / for right click.

c/?

Clicks the Control Center tray item. / for right click.

t/?

Clicks the Time & Date tray item. / for right click.

About

Chord package for pre-installed macOS apps.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors