Skip to content
プロジェクト

deseven/iCanHazShortcut

GitHubで見る

概要

macOS向けのシンプルなショートカット管理ツール

仕事効率化・自動化

この数値の測り方

計測したスター増加

24時間
0
7日間
+2
15日間
+2
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

iCanHazShortcut

Simple shortcut manager for macOS 13 or higher.

It lets you execute any command that works in your terminal by pressing a combination of keyboard keys. No rocket science involved!

iCanHazShortcut

Installation

Stable release — download from the Releases page, or install via Homebrew:

brew install icanhazshortcut

Dev build — compiled from the master branch: download
(only use this if you need unreleased functionality or want to help with testing)

AppleScript

  • list / listJSON — list all shortcuts as TSV or JSON
  • enable / disable / toggle / trigger — control a shortcut by its key combination (e.g. "⇧⌘L")
  • enableAction / disableAction / toggleAction / triggerAction — control a shortcut by its action name (e.g. "lock screen")
  • enableID / disableID / toggleID / triggerID — control a shortcut by its ID (e.g. "a1b2c3d4e5")

[!NOTE] Since v2.0.0, shortcut IDs are string-based (derived from action and command) and are not compatible with the numeric IDs used in v1.x.

Examples:

tell application "iCanHazShortcut" to list
tell application "iCanHazShortcut" to enable "⇧⌘L"
tell application "iCanHazShortcut" to disableAction "lock screen"
tell application "iCanHazShortcut" to toggleID "a1b2c3d4e5"
tell application "iCanHazShortcut" to triggerAction "lock screen"
tell application "iCanHazShortcut" to listJSON

Configuration

  • Config is stored in TOML format at ~/Library/Application Support/iCanHazShortcut/ichs-config.toml
  • A backup is created automatically before every config change (up to 30 backups are kept in the backups/ subdirectory)
  • When upgrading from v1.x, the app will offer to migrate your old INI config (~/.config/iCanHazShortcut/config.ini) to the new format

Building from Source

  1. Install Xcode command line tools: xcode-select --install
  2. Clone the repo
  3. Run the build script:
./build.sh            # debug build (default)
./build.sh release    # release build with signing & notarization
./build.sh test       # run the unit test suite only

For code signing and notarization, copy .env.example to .env and fill in the required variables.

Help & Support

関連プロジェクトを探す

読み込み中…