Giter Club home page Giter Club logo

hammerspoon's Introduction

Hammerspoon 配置

使用方法

  1. 安装 Hammerspoon
  2. git clone https://github.com/sugood/hammerspoon.git ~/.hammerspoon
  3. 详细说明

快捷键图标

键位
Shift
Control
Option
Command

代码参考

https://github.com/greyby/hammerspoon

语言切换

功能

窗口管理

1/2 屏幕

  • + 将当前窗口移动到左半屏
  • + 将当前窗口移动到右半屏
  • + 将当前窗口移动到上半屏
  • + 将当前窗口移动到下半屏

1/4 屏幕

  • + 将当前窗口移动到左上 1/4 屏
  • + 将当前窗口移动到右下 1/4 屏
  • + 将当前窗口移动到右上 1/4 屏
  • + 将当前窗口移动到左下 1/4 屏

多个显示器

移动光标
  • + 把光标移动到下一个显示器
  • + 把光标移动到上一个显示器
移动窗口
  • + 将当前活动窗口移动到上一个显示器
  • + 将当前活动窗口移动到下一个显示器
  • + 1 将当前活动窗口移动到第一个显示器并窗口最大化
  • + 2 将当前活动窗口移动到第二个显示器并窗口最大化

其它

  • + F 全屏
  • + M 最大化窗口
  • + C 将窗口放到中间
  • + H 切换活动窗口
  • + / 显示窗口切换的快捷键

系统工具

  • + L 锁屏

快速启动

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

片段和备忘录

  • + X 添加一个片段或者备忘
  • + V 列出片段或备忘录并使用

JSON格式化

  • + G JSON格式化

自动同步时间

  • + T 自动同步时间

需要安装expect,并设置登录密码

翻译

  • + F 翻译

支持百度和有道翻译API。百度翻译可直接使用。有道翻译需要先申请有道翻译API并配置appKey和appSecret

屏幕取色功能

菜单栏点击屏幕取色,出现取色界面后点击颜色拾取器,就可以获取当前屏幕鼠标所在位置的颜色值

咖啡因

菜单栏点击 咖啡因打开系统永不休眠功能,再点击一次就能关闭

状态栏显示输入法状态

可显示大小写状态,输入法状态,中英文状态。目前仅测试过搜狗输入法

hammerspoon's People

Contributors

sugood avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.