Uses old Rust 2015
|0.1.0||Oct 14, 2017|
Temporarily bind a shell command to a hotkey
- Edit your i3 config to bind any keys you want to use to no-ops. For example for
alt + ayou would add the line
bindsym 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 an
shchild process that in this case interprets
ls -la | grep *.png, which writes the output in the same terminal that
i3-quick-bindwas invoked from.