tofi
tofi copied to clipboard
Taking input using Tofi
In dmenu (and his substitutes like wofi), it is possible to use the prompt as input.
It seems that in tofi this modality is not possible (if there isn't any choices the Enter key not works). It is very strange considering that tofi supports hidden prompts. Tofi version 0.8.1 on Debian 12.5
See: https://github.com/philj56/tofi/issues/98
Example:
#! /bin/bash
title=$(echo "" | tofi --prompt-text="Note Title: " --require-match=false)
echo "output: $title"