WMENU(1)

πŸ’– WMENU β€” like, the manual bestie πŸ’–

okay so this is the manual page for wmenu (section 1, General Commands Manual, in case you were wondering) and honestly? she's a whole vibe. dynamic menu for Wayland, main character energy, no cap. sit down, grab a strawberry πŸ“, let's get into it.


✨ NAME ✨

wmenu β€” dynamic menu for Wayland πŸ¦‹


✨ SYNOPSIS ✨

wmenu [-biPv]
  [-f font]
  [-l lines]
  [-o output]
  [-p prompt]
  [-N color] [-n color]
  [-M color] [-m color]
  [-S color] [-s color]

wmenu-run ...

yeah she takes a lot of little flags, but they're all cute, I promise πŸ’…


✨ DESCRIPTION ✨

okay so wmenu is a dynamic menu for Wayland, and the way it works is so satisfying: it reads a list of newline-separated items from stdin 🌈. when you pick an item and hit Return, your choice gets printed to stdout and wmenu dips out (terminates). and if you start typing text? it narrows the items down to the ones matching the tokens in your input β€” like a search bar but make it iconic ✨

then there's wmenu-run, which is a special invocation of wmenu β€” she lists programs in the user's $PATH and runs the result. it's giving launcher, it's giving personal assistant 🫢


✨ OPTIONS ✨

  • -b β€” wmenu appears at the bottom of the screen. bottom text. periodt.
  • -i β€” wmenu matches menu items case insensitively πŸ₯° (so you don't have to worry about caps, she's chill like that)
  • -P β€” wmenu will not directly display the keyboard input, instead it replaces it with asterisks. secret girl behaviour πŸ™ˆβœ¨
  • -v β€” prints version information to stdout, then exits πŸ‘‹
  • -f font β€” defines the font used. for more info, see https://docs.gtk.org/Pango/type_func.FontDescription.from_string.html β€” yeah she's fancy, Pango font descriptions, iykyk πŸŽ€
  • -l lines β€” wmenu lists items vertically, with the given number of lines. so like, tell her how tall she is πŸ“
  • -o output β€” wmenu is displayed on the output with the given name. multi-monitor girlies, this one's for you πŸ–₯️
  • -p prompt β€” defines the prompt to be displayed to the left of the input field 🌸
  • -N RRGGBB[AA] β€” defines the normal background color. (that [AA] is optional alpha, bestie, transparency!! πŸ’œ)
  • -n RRGGBB[AA] β€” defines the normal foreground color
  • -M RRGGBB[AA] β€” defines the prompt background color
  • -m RRGGBB[AA] β€” defines the prompt foreground color
  • -S RRGGBB[AA] β€” defines the selection background color πŸ”₯
  • -s RRGGBB[AA] β€” defines the selection foreground color

✨ USAGE ✨

wmenu is completely controlled by the keyboard ⌨️. items are selected using the arrow keys, page up, page down, home, and end. no mouse, no touchscreen, just vibes and keys.

  • Tab β€” Copy the selected item to the input field. πŸ“‹
  • Return β€” Confirm selection. Prints the selected item to stdout and exits, returning success. slay βœ…
  • Ctrl+Return β€” Confirm selection. Prints the selected item to stdout and continues. (she stays πŸ’…)
  • Shift+Return β€” Confirm input. Prints the input text to stdout and exits, returning success.
  • Escape β€” Exit without selecting an item, returning failure. sometimes you just gotta leave the party πŸšͺπŸ’¨
  • Ctrl+Left β€” Move cursor to the start of the current word.
  • Ctrl+Right β€” Move cursor to the end of the current word.
  • C-a β€” Home
  • C-b β€” Left
  • C-c β€” Escape
  • C-d β€” Delete
  • C-e β€” End
  • C-f β€” Right
  • C-g β€” Escape
  • C-[ β€” Escape
  • C-h β€” Backspace
  • C-i β€” Tab
  • C-j β€” Return
  • C-J β€” Shift-Return
  • C-k β€” Delete line right
  • C-m β€” Return
  • C-M β€” Shift-Return
  • C-n β€” Down
  • C-p β€” Up
  • C-u β€” Delete line left
  • C-w β€” Delete word left
  • C-Y β€” Paste from Wayland clipboard πŸ“Žβœ¨
  • M-b β€” Move cursor to the start of the current word
  • M-f β€” Move cursor to the end of the current word
  • M-g β€” Home
  • M-G β€” End
  • M-h β€” Up
  • M-j β€” Page down
  • M-k β€” Page up
  • M-l β€” Down
ngl bestie, that emacs-style keybinding block is a LOT, but she memorized it so you don't have to. screenshot it. put it in your notes app. you got this πŸ’–

and that's the whole thing, babes 🫢 this page is dated 2025-08-25 and it belongs to WMENU(1), the General Commands Manual β€” drop a πŸŽ€ in the group chat if you actually read the entire keybinding list, obsessed with you fr fr πŸ’…βœ¨

πŸ“¦ where this page comes from