Releases: windvalley/dot-hammerspoon
v0.6.1
v0.6.0
Added
New feature: Auto switch input method according to the application, for example:
-- keybindings_config.lua
_M.auto_input_methods = {
["org.hammerspoon.Hammerspoon"] = abc,
["com.apple.finder"] = abc,
["com.apple.Spotlight"] = abc,
["io.alacritty"] = abc,
["com.google.Chrome"] = abc,
["com.microsoft.VSCode"] = abc,
["com.postmanlabs.mac"] = abc,
["com.tencent.xinWeChat"] = pinyin,
["com.apple.mail"] = pinyin,
["com.microsoft.Excel"] = pinyin,
["mac.im.qihoo.net"] = pinyin,
["ynote-desktop"] = pinyin
}
Changed
- Optimize manual switch input method.
v0.5.1
Changed
- Application launch -> Application launch or hide
- Keybindings Cheatsheet: [Application Launch] -> [App Launch Or Hide]
v0.5.0
Added
Features
- Open URL directly.
- Auto add keybinding items to cheatsheet.
Keybindings
Open URL:
- ⌥ + 8: github.com
- ⌥ + 9: google.com
- ⌥ + 7: bing.com
v0.4.1
Changed
-
Optimize keybindings cheatsheet:
- Window manipulation grouping
- Add
System Mangement
- Add
Input Methods
- Add
Toggle Keybindings Cheatsheet
inApplication Launch
-
Optimize README.md
v0.4.0
Added
Features
- New window manipulation: Minimize or Unminimize or Close all windows.
- Add system manage
Keybindins
Minimize or Unminimize or Close all windows:
- ⌃⌥⌘ + M: Minimize All Windows
- ⌃⌥⌘ + U: Unminimize All Windows
- ⌃⌥⌘ + Q: Close All Windows
System Manage:
- ⌥ + Q: Lock Screen
- ⌥ + S: Start Screensaver
- ⌃⌥⌘⇧ + R: Restart Computer
- ⌃⌥⌘⇧ + S: Shutdown Computer
Changed
- Optimize bing daily wallpaper.
- Optimize
Center Window
for window manipulation:
From keeping the original size in the center, to changing to the appropriate size and centering.
v0.3.1
Changed
Set wallpaper for main monitor -> Set wallpaper for all monitors.
Fixed
- Fix bug for
Move to Next Monitor
v0.3.0
Added
Features
- Keep the desktop wallpaper the same as the bing daily picture.
- New window manipulation: Move to other monitors.
Keybindins
Move to other monitors:
- ⌃⌥ + UP: Move to Above Monitor
- ⌃⌥ + DOWN: Move to Below Monitor
- ⌃⌥ + LEFT: Move to Left Monitor
- ⌃⌥ + RIGHT: Move to Right Monitor
- ⌃⌥ + SPACE: Move to Next Monitor
v0.2.0
Added
Features
Window manipulation:
- Bottom Side Stretch Upward
- Bottom Side Stretch Downward
- Right Side Stretch Leftward
- Right Side Stretch Rightward
Keybindins
- ⌃⌥⌘⇧ + K: Bottom Side Stretch Upward
- ⌃⌥⌘⇧ + J: Bottom Side Stretch Downward
- ⌃⌥⌘⇧ + H: Right Side Stretch Leftward
- ⌃⌥⌘⇧ + L: Right Side Stretch Rightward
v0.1.0 🇦🇷🏆
Added
Features
- Application quick launch or switch.
- Application window manipulation, such as movement, stretch or shrink, change position, etc.
- Quickly switch to the specified input method.
- Toggle the keybindings cheatsheet.
- Configuration file changes will be automatically reloaded to take effect in real time.
- The code structure is clear and easy to customize into your own configuration.
Keybindins
Toggle keybindings cheatsheet
⌥ + /
Switch to the specified input method
- ⌥ + 1: ABC
- ⌥ + 2: Pinyin
Application launch or switch
- ⌥ + H: Hammerspoon Console
- ⌥ + F: Finder
- ⌥ + I: Alacritty
- ⌥ + C: Chrome
- ⌥ + N: YNote
- ⌥ + M: Mail
- ⌥ + P: Postman
- ⌥ + E: Excel
- ⌥ + V: VSCode
- ⌥ + W: WeChat
Window manipulation
-
⌃⌥ + =: Stretch Outward
-
⌃⌥ + -: Shrink Inward
-
⌃⌥ + C: Center window
-
⌃⌥ + M: Max window
-
⌃⌥ + H: Left Half of Screen
-
⌃⌥ + L: Right Half of Screen
-
⌃⌥ + K: Up Half of Screen
-
⌃⌥ + J: Down Half of Screen
-
⌃⌥ + U: Top Left Corner
-
⌃⌥ + I: Top Right Corner
-
⌃⌥ + O: Bottom Left Corner
-
⌃⌥ + P: Bottom Right Corner
-
⌃⌥ + Q: Left or Top 1/3
-
⌃⌥ + W: Right or Bottom 1/3
-
⌃⌥ + E: Left or Top 2/3
-
⌃⌥ + R: Right or Bottom 2/3
-
⌃⌥⌘ + K: Move Upward
-
⌃⌥⌘ + J: Move Downward
-
⌃⌥⌘ + H: Move Leftward
-
⌃⌥⌘ + L: Move Rightward