hammerspoon 个人二次定制的功能
Go to file
sugood 53ee0e4030 v0.1.3
1、通过快捷键打开颜色取色器
2、通过快捷键打开咖啡因
3、json 解析器工具修改为菜鸟工具的解析器
4、优化一些BUG
2022-01-08 18:38:09 +08:00
data 补充文件 2020-11-13 16:18:57 +08:00
icon 版本v0.1.1 ----1、新增显示输入法状态的功能;2、新增时间同步功能;3、新增翻译功能;4、新增咖啡因功能;5、新增屏幕取色功能;6、新增菜单栏管理 2020-10-24 23:17:20 +08:00
modules 测试更新 2020-11-13 18:19:32 +08:00
timesync 版本v0.1.1 ----1、新增显示输入法状态的功能;2、新增时间同步功能;3、新增翻译功能;4、新增咖啡因功能;5、新增屏幕取色功能;6、新增菜单栏管理 2020-10-24 23:17:20 +08:00
.gitignore 1. 修改初始化逻辑,防止用户的配置文件更新的时候被修改。 2020-11-13 16:15:27 +08:00
init.lua 1. 修改初始化逻辑,防止用户的配置文件更新的时候被修改。 2020-11-13 16:15:27 +08:00
LICENSE.txt 初始化项目 2020-10-09 17:37:32 +08:00
README_en.md 1、默认显示中文readme; 2、修改说明 2020-10-24 23:38:31 +08:00
README.md 修改readme文件 2020-11-13 16:29:31 +08:00

Hammerspoon Configuration

Usage

  1. Install Hammerspoon
  2. git clone https://github.com/sugood/hammerspoon.git ~/.hammerspoon
  3. Detailed description

Modifier keys

Key
Shift
Control
Option
Command

Reference code

https://github.com/greyby/hammerspoon

Language

Features

Window Management

Split Screen Actions

  • + Left half
  • + Right half
  • + Top half
  • + Bottom half

Quarter Screen Actions

  • + Left top quarter
  • + Right bottom quarter
  • + Right top quarter
  • + Left bottom quarter

Multiple Monitor

Move Cursor
  • + Move cursor to next monitor
  • + Move cursor to previous monitor
Move Windows
  • + Move active window to previous monitor
  • + Move active window to next monitor
  • + 1 Move active window to monitor 1 and maximize the window
  • + 2 Move active window to monitor 2 and maximize the window

Other

  • + F Full Screen

  • + M Maximize Window

  • + C Window Center

  • + H Switch active window

  • + / Display a keyboard hint for switching focus to each window

System Tools

  • + L Lock Screen

Launch Application

  • + I IntelliJ IDEA
  • + T Terminal
  • + Z Calculator
  • + D Finder
  • + Q Activity Monitor
  • + S System Preferences
  • + C Google Chrome
  • + A Launchpad

Snippet & Memorandum

  • + X Add a snippet or memos
  • + V List snippet or memos and use them

JSON format

  • + G JSON format

automatic synchronization time

  • + T automatic synchronization time

Translation

  • + F Translation

Support baidu and youdao translation API. Baidu Translation can be used directly. Youdao translation requires first applying youdao translation API and configuring appKey and appSecret

Screen color selection function

Click the screen color in the menu bar, click the color picker after the screen color picker interface appears, and the color value at the position of the mouse on the screen can be obtained

caffeine

On the menu bar, click caffeine to turn on the system's never sleep feature, and then click again to turn it off

The status bar shows the status of the input method

Can display case status, input method status, Chinese and English status. So far, only sogou input method has been tested