Skip to main content

Add, remove, and list i3 keybindings from the command line

Project description

i3-bind

Explore and create bindings for the i3wm window manager.

Unreviewed AI-generated code. ButI use it.

Alternatives and prior work

You could edit ~/.config/i3/config by hand or use grep on it. However, I am lazy. I could find now tool providing this functionality.

I made a tool called kde-bind which is this tool or kde. i3keys-gui which provides a gui for exploring bindings.

Installation

pipx install i3-bind

Usage

List bindings:

i3-bind

Create a binding:

i3-bind add meta+shift+n gtk-launch focus-obsidina.desktop

Run reload after you run the command. I have a keybinding in i3 for reload.

Sometimes when defining keybindings you can get collisions and then end up needing to move a "chain" of keys to get the keybindings you want. batch is provided for these cases. This performs a number of actions but does not commit any changes if there are any errors.

About

I am @readwith. I make tools for reading research and agency with and without AI. You can follow me on X or my blog.

I also produce a stream of small tools like this. If that sounds interesting I suggest following me on X.

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

i3_bind-1.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

i3_bind-1.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file i3_bind-1.1.0.tar.gz.

File metadata

  • Download URL: i3_bind-1.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for i3_bind-1.1.0.tar.gz
Algorithm Hash digest
SHA256 73704abba27eb6b16db67eb0f2e8547ab27bd42daddb0d7485ef588846907668
MD5 b1b46896a5e3901b717133e27f8bd5db
BLAKE2b-256 862332e955edaafeb5aafffbc90d894f59284f9d6dbfb2fd1775b39f520478da

See more details on using hashes here.

File details

Details for the file i3_bind-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: i3_bind-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for i3_bind-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e5fd2f92022ae07cdba34b3abd7c26e6d8b79eebd009449d58e0644a969012f
MD5 be76f2e044dc70ac83a0504a9632da66
BLAKE2b-256 accb8af07a8044ee46e766de83821cb0c484143b8e38aeb651826446a3de3c15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page