1 unstable release
Uses old Rust 2015
0.1.0 | Oct 14, 2017 |
---|
#9 in #temporarily
7KB
113 lines
i3-quick-bind
Temporarily bind a shell command to a hotkey
Usage:
- Edit your i3 config to bind any keys you want to use to no-ops. For example for
alt + a
you would add the linebindsym Mod1+a nop
. - Launch i3-quick-bind from the terminal, like
i3-quick-bind Mod1+a 'ls -la | grep *.png'
. This will start the i3-quick-bind process which waits for messages from i3. Whenever the key combo is pressed it should spawn ansh
child process that in this case interpretsls -la | grep *.png
, which writes the output in the same terminal thati3-quick-bind
was invoked from.
Dependencies
~2.3–10MB
~92K SLoC