.\" Generated by scdoc 1.11.2 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "tofi" "1" "2024-03-10" .P .SH NAME .P tofi - Tiny dynamic menu for Wayland, inspired by \fBrofi\fR(1) and \fBdmenu\fR(1).\& .P .SH SYNOPSIS .P \fBtofi\fR [options.\&.\&.\&] .P \fBtofi-run\fR [options.\&.\&.\&] .P \fBtofi-drun\fR [options.\&.\&.\&] .P .SH DESCRIPTION .P \fBtofi\fR is a tiny dynamic menu for Wayland compositors supporting the layer-shell protocol.\& It reads newline-separated items from stdin, and displays a graphical selection menu.\& When a selection is made, it is printed to stdout.\& .P When invoked via the name \fBtofi-run\fR, \fBtofi\fR will not accept items on stdin, instead presenting a list of executables in the user'\&s $PATH.\& .P When invoked via the name \fBtofi-drun\fR, \fBtofi\fR will not accept items on stdin, and will generate a list of applications from desktop files as described in the Desktop Entry Specification.\& .P .SH OPTIONS .P \fB-h, --help\fR .RS 4 Print help and exit.\& .P .RE \fB-c, --config\fR .RS 4 Specify path to custom config file.\& .P .RE All config file options described in \fBtofi\fR(5) are also accepted, in the form \fB--key=value\fR.\& .P .SH KEYS .P | | -k | -p .RS 4 Move the selection back one entry.\& .P .RE | | -j | -n | .RS 4 Move the selection forward one entry.\& .P .RE .RS 4 Move the selection back one page.\& .P .RE .RS 4 Move the selection forward one page.\& .P .RE -u .RS 4 Delete line.\& .P .RE -w | - .RS 4 Delete word.\& .P .RE .RS 4 Confirm the current selection and quit.\& .P .RE .RS 4 Quit without making a selection.\& .P .RE .SH FILES .P \fI/etc/xdg/tofi/config\fR .RS 4 Example configuration file.\& .P .RE \fI$XDG_CONFIG_HOME/tofi/config\fR .RS 4 The default configuration file location.\& .P .RE \fI$XDG_CACHE_HOME/tofi-compgen\fR .RS 4 Cached list of executables under $PATH, regenerated as necessary.\& .P .RE \fI$XDG_CACHE_HOME/tofi-drun\fR .RS 4 Cached list of desktop applications, regenerated as necessary.\& .P .RE \fI$XDG_STATE_HOME/tofi-history\fR .RS 4 Numeric count of commands selected in \fBtofi-run\fR, to enable sorting results by run count.\& .P .RE \fI$XDG_STATE_HOME/tofi-drun-history\fR .RS 4 Numeric count of commands selected in \fBtofi-drun\fR, to enable sorting results by run count.\& .P .RE .SH AUTHORS .P Philip Jones .P .SH SEE ALSO .P \fBtofi\fR(5), \fBdmenu\fR(1) \fBrofi\fR(1)