tofi(1)
π tofi(1) β General Commands Manual π
bestie, welcome to tofi(1), the manual page for the tiny dynamic menu that is genuinely iconic. Itβs a Wayland menu inspired by rofi(1) and dmenu(1), and yes, it ate. π
β¨ NAME β¨
tofi β Tiny dynamic menu for Wayland, inspired by rofi(1) and dmenu(1). No cap, thatβs the whole name section and itβs serving. π¦
πΈ SYNOPSIS πΈ
tofi [options...]
tofi-run [options...]
tofi-drun [options...]
π DESCRIPTION π
tofi 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. Thatβs the whole flow: items in, menu up, choice out. Periodt. β¨
When invoked via the name tofi-run, tofi will not accept items on stdin, and instead presents a list of executables in the userβs $PATH. Itβs giving βrun stuff from anywhereβ energy. π
When invoked via the name tofi-drun, tofi will not accept items on stdin, and will generate a list of applications from desktop files as described in the Desktop Entry Specification. Desktop-entry slay. π₯οΈπ
β OPTIONS β
-h,--helpβ Print help and exit. Short, sweet, and helpful. π«Ά-c,--config <path>β Specify path to custom config file. Telltofiwhere your config lives, bestie. π
All config file options described in tofi(5) are also accepted, in the form --key=value. So yes, the config file lore goes deep β but the CLI can take it too. π
πΉ KEYS πΉ
<Up>|<Left>|<Ctrl>-k|<Ctrl>-pβ Move the selection back one entry. π<Down>|<Right>|<Ctrl>-j|<Ctrl>-n|<Tab>β Move the selection forward one entry. π<Page Up>β Move the selection back one page. Back it up, back it up. π<Page Down>β Move the selection forward one page. Keep scrolling, bestie. π<Ctrl>-uβ Delete line. Gone. Absolutely deleted. π<Ctrl>-w|<Ctrl>-<Backspace>β Delete word. One word at a time, very demure. π§<Enter>β Confirm the current selection and quit. Choose your main character and dip. β<Escape>β Quit without making a selection. Exit stage left, no selection made. πͺ
π FILES π
/etc/xdg/tofi/configβ Example configuration file. A little example to look at. π$XDG_CONFIG_HOME/tofi/configβ The default configuration file location. This is the onetofilooks at by default. π$XDG_CACHE_HOME/tofi-compgenβ Cached list of executables under$PATH, regenerated as necessary. Cache behavior, but make it cute. π¦$XDG_CACHE_HOME/tofi-drunβ Cached list of desktop applications, regenerated as necessary. App list cache, locked and loaded. π¦$XDG_STATE_HOME/tofi-historyβ Numeric count of commands selected intofi-run, to enable sorting results by run count. History for your run-count sorting era. π₯$XDG_STATE_HOME/tofi-drun-historyβ Numeric count of commands selected intofi-drun, to enable sorting results by run count. Same history energy, but fortofi-drun. π
π AUTHORS π
Philip Jones <philj56@gmail.com> β author icon, honestly. π
π SEE ALSO π
Go read the friends and family: tofi(5), dmenu(1) rofi(1). Iykyk. β¨
This page is from the tofi(1) manual, dated 2024-08-06 β mwah, bestie, go slay your Wayland menu. ππ
π¦ where this page comes from
- opensuse-leap 16.0: tofi 0.9.1-bp160.1.13 Β· MIT
- opensuse-leap 16.0: tofi 0.9.1-bp160.1.13 Β· MIT
- opensuse-leap 16.0: tofi 0.9.1-bp160.1.13 Β· MIT
- opensuse-leap 16.0: tofi 0.9.1-bp160.1.13 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms