Skip to content

Releases: windvalley/dot-hammerspoon

v0.6.1

28 Dec 04:37
Compare
Choose a tag to compare

Added

  • Add hs.logger to manage logs

Changed

  • Optimize input method switch code structure
  • Optimize keybindings cheatsheet

v0.6.0

27 Dec 09:15
Compare
Choose a tag to compare

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

26 Dec 10:28
Compare
Choose a tag to compare

Changed

  • Application launch -> Application launch or hide
  • Keybindings Cheatsheet: [Application Launch] -> [App Launch Or Hide]

v0.5.0

25 Dec 09:29
Compare
Choose a tag to compare

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

24 Dec 16:22
Compare
Choose a tag to compare

Changed

  • Optimize keybindings cheatsheet:

    • Window manipulation grouping
    • Add System Mangement
    • Add Input Methods
    • Add Toggle Keybindings Cheatsheet in Application Launch
  • Optimize README.md

v0.4.0

24 Dec 12:21
Compare
Choose a tag to compare

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

23 Dec 15:58
Compare
Choose a tag to compare

Changed

Set wallpaper for main monitor -> Set wallpaper for all monitors.

Fixed

  • Fix bug for Move to Next Monitor

v0.3.0

23 Dec 14:56
Compare
Choose a tag to compare

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

22 Dec 04:01
Compare
Choose a tag to compare

Added

Features

Window manipulation:

  1. Bottom Side Stretch Upward
  2. Bottom Side Stretch Downward
  3. Right Side Stretch Leftward
  4. 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 🇦🇷🏆

21 Dec 14:57
Compare
Choose a tag to compare

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