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. Tell tofi where 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 one tofi looks 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 in tofi-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 in tofi-drun, to enable sorting results by run count. Same history energy, but for tofi-drun. 🌈

πŸ‘‘ AUTHORS πŸ‘‘

Philip Jones <philj56@gmail.com> β€” author icon, honestly. πŸ’œ


πŸ”— SEE ALSO πŸ”—

tofi(5), dmenu(1) rofi(1)

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