Handle your todo-txt tasks directly from Rofi
Todo-txt + Rofi = Todofi.sh
Handle your todo-txt tasks directly from Rofi
sudo apt install rofi todo-txt
Copy todofi.sh where you want.
Just run /your/path/todofi.sh
With i3wm, you can bind todofi.sh like this bindsym $mod+t exec /path/to/todofi.sh
Try todofi.sh --help
if you want to customize.
If you want to override Todofi.sh configuration, do not edit directly the todofi.sh script, you can do that by:
${HOME}/.config/todofish.conf
(Todofi.sh tries to source this file when it starts)-c
argument (exemple: todofi.sh -c /path/to/todofish.conf
)Because the configuration file is loaded last, you can overwrite any configuration variable.
So if you want to add arguments to Rofi, you can do so with the content of the following configuration file:
ROFI_BIN="$(command -v rofi) -theme /usr/share/rofi/themes/fancy.rasi"