Skip to content

Instantly share code, notes, and snippets.

local function Chinese()
-- 简体拼音
hs.keycodes.currentSourceID("com.apple.inputmethod.SCIM.ITABC")
end
local function English()
-- ABC
hs.keycodes.currentSourceID("com.apple.keylayout.ABC")
end
@lotem
lotem / bopomofo.schema.yaml
Created October 18, 2012 17:36
【注音】、【語句流】逗號、句號頂字上屏修改方案
# Rime schema
# encoding: utf-8
schema:
schema_id: bopomofo
name: 注音
version: "0.6.9999"
author:
- 佛振 <chen.sst@gmail.com>
description: |