yabai-scratchpad

📁 quantmind-br/skills 📅 2 days ago
1
总安装量
1
周安装量
#44386
全站排名
安装命令
npx skills add https://github.com/quantmind-br/skills --skill yabai-scratchpad

Agent 安装分布

kilo 1
crush 1
amp 1
cline 1
cursor 1

Skill 文档

Yabai Scratchpad

A simple CLI tool that brings scratchpad functionality to the Yabai window manager on macOS. Inspired by LeftWM scratchpad, allows quick access and dismissal of any application.

Quick Start

Toggle a scratchpad window:

scratchpad --toggle {name}

Example SKHD binding:

alt - t : scratchpad --toggle telegram

Installation

# Step 1: Clone repository
git clone https://github.com/arpandaze/scratchpad-rs
cd scratchpad-rs

# Step 2: Build
cargo build --release

# Step 3: Install to path (use /opt/homebrew/bin/ for SKHD compatibility)
cp target/release/scratchpad /opt/homebrew/bin/

# Step 4: Create config directory and file
mkdir -p ~/.config/scratchpad
touch ~/.config/scratchpad/config.toml

# Step 5: Add SKHD bindings
# Example: echo 'alt - t : scratchpad --toggle telegram' >> ~/.skhdrc

Note: Copying binary to /usr/local/bin won’t work with SKHD.

Documentation

Documentação completa em docs/. Consulte docs/000-index.md para navegação detalhada.

By Topic

Topic Files Description
Installation 001 Build from source, install binary, configure SKHD
Configuration 001 config.toml format, field definitions, examples
Usage 001 Toggle command usage and workflow

By Concept

Concept Files
Yabai Integration 001
Scratchpad Management 001
SKHD Configuration 001

By Keyword

Keyword File
yabai 001-README.md
macos 001-README.md
window-management 001-README.md
scratchpad 001-README.md
cli-tool 001-README.md
rust 001-README.md
skhd 001-README.md

Common Tasks

Install and Build from Source

→ docs/001-README.md (Steps 1-3: clone, build with cargo, copy binary)

Configure Scratchpads

→ docs/001-README.md (Config Options table and Configuration Example section)

Set Up SKHD Hotkeys

→ docs/001-README.md (Step 5 and Usage section)

Toggle Scratchpad Windows

→ docs/001-README.md (Usage section with scratchpad --toggle {name} command)

Configure App Launch Types

→ docs/001-README.md (launch_type options: app, app_with_arg, command)

Set Grid Positioning

→ docs/001-README.md (rows, cols, position, size configuration options)