Skip to content

About

On going project to unify a bit the keybinding between Macos, Windows and Linux.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spinach Keyboard Framework

A unified keyboard configuration framework that provides consistent keybindings and window management across macOS, Linux, and Windows.

Spinach Keyboard Framework

Overview

The Spinach Keyboard Framework is a comprehensive solution for creating a consistent keyboard experience across different operating systems. It uses the Hyper key (Ctrl+Alt+Super) as the primary modifier, mapped to CapsLock, to provide conflict-free shortcuts and powerful window management.

Key Features

  • Unified Hyper Key: CapsLock acts as Hyper key across all platforms
  • Cross-Platform: Works on macOS, Linux, and Windows
  • Firmware-Level: Primary configuration at keyboard firmware level (VIA)
  • System Integration: Deep integration with window managers and desktop environments
  • Intelligent Window Management: Smart application toggling and window operations

Documentation

Complete documentation is available in the docs/ directory:

Core Concepts

Platform-Specific Guides

Additional Resources

Quick Start

1. Configure VIA (Firmware Level)

  1. Open VIA and connect your keyboard
  2. Map CapsLock to Hyper key using:
    MT(MOD_LCTL | MOD_LALT | MOD_LGUI, KC_NO)
  3. See VIA Adjustments for detailed instructions

2. Configure Your Operating System

Choose your platform:

Project Structure

SpinachKeyboardFramework/
├── README.md                    # This file
├── docs/                        # Documentation
│   ├── 01-glossary.md          # Key terms and concepts
│   ├── 02-via-adjustments.md   # VIA configuration
│   ├── 03-macos.md             # macOS setup
│   ├── 04-linux.md             # Linux setup
│   ├── 05-windows.md           # Windows setup
│   ├── 06-todo.md              # Project status
│   └── ...                     # Additional resources
├── MacOS/                      # macOS configuration files
│   ├── karabiner/              # Karabiner-Elements config
│   ├── yabai/                  # Yabai tiling manager
│   └── skhd/                   # Simple hotkey daemon
├── Windows/                    # Windows configuration files
│   └── AutoHotKey/             # AutoHotKey scripts
└── Keychron K11 Max/           # Keychron K11 Max layout

Hyper Key

The Hyper key is the combination of Ctrl + Alt + Win (Super) keys. It's mapped to CapsLock to provide:

  • Non-conflicting shortcuts: Doesn't interfere with application shortcuts
  • Ergonomic access: Easy to reach with your pinky
  • System-wide functionality: Works everywhere, not just in applications
  • Consistent experience: Same modifier across all platforms

See the Glossary for more details.

Contributing

This is a personal project, but suggestions and improvements are welcome!

License

See individual files for license information.

Related Projects

  • myScripts - Additional automation scripts for macOS

Note: This framework is designed around the Keychron K11 Max keyboard, but can be adapted to other keyboards with VIA support.

About

On going project to unify a bit the keybinding between Macos, Windows and Linux.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages