A modi to use with rofi. It presents a list of snippy-compatible snippets (keys) and simulate a user keyboard input of a corresponding value.
- xdotool
-
Clone the repo.
-
create the directory
~/.snippyand put snippetfiles in there -
Start
rofias follows:rofi -show snip -modi snip:/path/to/snippy
(it can be combined with other modis, separated by commas)
Snippets are strings of text, which are written with xdotool in the window
with focus. Snippets starting by cmd are passed through eval and the written
string is the result of the evaluation. See the cmddate and cmdepoch
examples.