Wayland keyboard shortcuts overlay — parses your compositor config and displays a styled cheatsheet
Project description
cheatbind
A Wayland overlay that parses your compositor config and displays a styled keyboard shortcuts cheatsheet.
Instead of maintaining a separate shortcuts list, cheatbind reads your actual config file and renders an overlay with categorized keybindings, 3D keyboard-style key pills, and a multi-column layout.
Supported compositors
- niri — parses
~/.config/niri/config.kdl - More compositors planned (Hyprland, Sway)
Dependencies
- Python 3.11+
- GTK4 + PyGObject
- gtk4-layer-shell
Arch Linux
sudo pacman -S python-gobject gtk4 gtk4-layer-shell
Install
pip install .
# or for development:
pip install -e .
Usage
# Auto-detect compositor and show overlay
cheatbind
# Force a specific compositor
cheatbind --compositor niri
# Use a custom config path
cheatbind --config ~/my-niri-config.kdl
Running cheatbind while it's already showing will close the overlay (toggle behavior via PID file).
Press Escape or click anywhere to dismiss.
niri keybinding example
Mod+Slash hotkey-overlay-title="Aide raccourcis" { spawn "cheatbind"; }
Config annotations (optional)
You can add markers in your niri config for custom sections and column breaks:
binds {
//##! Applications
Mod+T hotkey-overlay-title="Terminal" { spawn "alacritty"; }
Mod+D hotkey-overlay-title="App launcher" { spawn "fuzzel"; }
//#!
//##! Navigation
Mod+Left hotkey-overlay-title="Focus left" { focus-column-left; }
// [hidden]
Mod+Secret hotkey-overlay-title="Hidden bind" { do-something; }
}
//##! Title— section header//#!— column break// [hidden]— exclude a bind from the overlayhotkey-overlay-title=null— also excludes a bind- Without markers, cheatbind auto-categorizes binds by action type
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cheatbind-0.1.0.tar.gz.
File metadata
- Download URL: cheatbind-0.1.0.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85e8b7636f697ccb8e3651a770b20ccbec338cfa8087ee0ad07bce32411f376b
|
|
| MD5 |
36c35b02c35670081eb701d37a3a75ed
|
|
| BLAKE2b-256 |
53371e221e830f349ed2386ffa7ab00d7c7e84151ca32ba43b90a6178c2032f8
|
Provenance
The following attestation bundles were made for cheatbind-0.1.0.tar.gz:
Publisher:
release.yml on Xhelliom/cheatbind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cheatbind-0.1.0.tar.gz -
Subject digest:
85e8b7636f697ccb8e3651a770b20ccbec338cfa8087ee0ad07bce32411f376b - Sigstore transparency entry: 1295509689
- Sigstore integration time:
-
Permalink:
Xhelliom/cheatbind@b0324da22d7488c9b005904d7f2ca353244c0be3 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Xhelliom
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b0324da22d7488c9b005904d7f2ca353244c0be3 -
Trigger Event:
release
-
Statement type:
File details
Details for the file cheatbind-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cheatbind-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58661b166850ad12a675d9a34a20319f5f77965ea7b84758357dbfb8bfbf2081
|
|
| MD5 |
8ff8509ca814bc8f093acb173494394a
|
|
| BLAKE2b-256 |
41f6cd40699cb26578116efb557953836799a1fbff2483cdac3810d31ffe7b0d
|
Provenance
The following attestation bundles were made for cheatbind-0.1.0-py3-none-any.whl:
Publisher:
release.yml on Xhelliom/cheatbind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cheatbind-0.1.0-py3-none-any.whl -
Subject digest:
58661b166850ad12a675d9a34a20319f5f77965ea7b84758357dbfb8bfbf2081 - Sigstore transparency entry: 1295509800
- Sigstore integration time:
-
Permalink:
Xhelliom/cheatbind@b0324da22d7488c9b005904d7f2ca353244c0be3 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Xhelliom
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b0324da22d7488c9b005904d7f2ca353244c0be3 -
Trigger Event:
release
-
Statement type: