wofi(1)
๐ wofi(1) โ the launcher bestie ๐
okay so you found the manual page for wofi โ a rofi inspired launcher for wlroots compositors โ and honestly? she's iconic, she's flexible, she's about to be your whole personality. This is from the General Commands Manual, section 1. Let's get into it ๐ซถ
โจ SYNOPSIS โจ
wofi [options]
That's it. That's the whole vibe. Options go in, menu comes out ๐
๐ธ DESCRIPTION ๐ธ
wofi is a rofi inspired menu program for wlroots compositors such as sway. She's designed to be highly customizable and flexible โ like, the CSS styling is giving main character energy, and the dmenu mode allows for endless scriptability, no cap. You can even run wofi cacheless in dmenu mode automatically by invoking it as dmenu with a symlink. Obsessed, honestly.
Wofi was designed specifically for wlroots and makes use of the wlr-layer-shell protocol. Now listen bestie, this part is important:
If your compositor does not support this protocol, or if you are in a non-wayland environment, then wofi must be run with --normal-window or it will crash. ๐
If you wish to run wofi this way you can also place normal_window=true in your config file to avoid specifying the option on the command line. So convenient, so slay โจ
๐ OPTIONS ๐
Forty-ish flags, one icon. Let's go ๐ฆ
-h,--helpโ Prints the help message and then exits. Bye bestie ๐-f,--forkโ Forks the menu so the terminal running it can be closed. Free yourself ๐-c,--conf=PATHโ Specifies the config file to use.-s,--style=PATHโ Specifies the CSS file to use as the stylesheet. Serve looks ๐-C,--color=PATHโ Specifies the colors file to use.-d,--dmenuโ Runs wofi in dmenu mode. Scriptability unlocked ๐ฅ-S,--show=MODEโ Specifies the mode to run in. A list of modes can be found inwofi(7).-W,--width=WIDTHโ Specifies the menu width in pixels or percent of screen size, default is50%. Pixels are used unless the number ends with a%.-H,--height=HEIGHTโ Specifies the menu height in pixels or percent of screen size, default is40%. Pixels are used unless the number ends with a%.-p,--prompt=PROMPTโ Sets the prompt to be display in the search box, default is the name of the mode.-x,--xoffset=OFFSETโ Sets the x offset from the location in pixels, default is0.-y,--yoffset=OFFSETโ Sets the y offset from the location in pixels, default is0.-n,--normal-windowโ Runs wofi in a normal window instead of usingwlr-layer-shell. Your non-wayland save file ๐ซถ-I,--allow-imagesโ Allows image escape sequences to be processed and rendered. Pictures?? in my launcher?? yes ๐-m,--allow-markupโ Allows pango markup to be processed and rendered.-k,--cache-file=PATHโ Specifies the cache file to load/store cache, default is$XDG_CACHE_HOME/wofi-<mode name>where<mode name>is the name of the mode, if$XDG_CACHE_HOMEis not specified~/.cacheis used.-t,--term=TERMโ Specifies the term to use when running a program in a terminal. This overrides the default terminal run order which iskitty,alacritty,wezterm,foot,termite,gnome-terminal,weston-terminalin that order.-P,--password [character]โ Runs wofi in password mode with an optional password character to use. If no character is specified*is used by default. Sneaky sneaky ๐-e,--exec-searchโ Activiating a search with enter will execute the search not the first result.-E,--no-custom-entryโ Only entries will be submitted to modes, never the content of the search box.-b,--hide-scrollโ Hides the scroll bars. Minimalism era โจ-M,--matching=MODEโ Specifies the matching mode, it can be eithercontains,strict-contains,multi-contains, orfuzzy, default iscontains.-i,--insensitiveโ Enables case insensitive search. Type however you want, queen ๐-q,--parse-searchโ Parses out image escapes and pango preventing them from being used for searching.-v,--versionโ Prints the version and then exits.-l,--location=LOCATIONโ Specifies the location. Seewofi(7)for more information, default iscenter.-a,--no-actionsโ Disables multiple actions for modes that support it.-D,--define=KEY=VALUEโ Sets a config option-L,--lines=LINESโ Specifies the height in number of lines instead of pixels.-w,--columns=COLUMNSโ Specifies the number of columns to display, default is1.-O,--sort-order=ORDERโ Specifies the default sort order. There are currently two orders,defaultandalphabetical. Seewofi(7)for details.-G,--gtk-darkโ Instructs wofi to use the dark variant of the current GTK theme, if available. Dark mode always ๐ค-Q,--searchโ Specifies something to search for immediately on opening-o,--monitorโ Sets the monitor to open on-r,--pre-display-cmdโ If set, the selectable entry won't be displayed as-is, but will instead be displayed based on the output of this command, which can be anything. Suggested to use with"echo %s | some_cmd"or"some_cmd %s", as the string gets replaced in a printf-like fashion. This will not affect the output of wofi once a selection has been done, allowing you to display something else than the original output.-j,--hide-searchโ Hides the search bar.
๐ง CONFIGURATION ๐ง
Wofi has 3 main files used for configuration. All files are completely optional. No pressure bestie, only vibes ๐ธ
- The config file which defaults to
/usr/etc/wofi/config, followed by/etc/wofi/config, and then finally$XDG_CONFIG_HOME/wofi/config. These are loaded in order in a layered fashion where each applies on top of the previous. Stacked like a cute little cake ๐ - The CSS file which defaults to
/usr/etc/wofi/style.css, followed by/etc/wofi/style.css, and then finally$XDG_CONFIG_HOME/wofi/style.css. These are loaded in order in a layered fashion where each applies on top of the previous. - The colors file which defaults to the pywal cache
$XDG_CACHE_HOME/wal/colors.
All 3 of these paths can be manually specified using the respective command line flag. In the case of the last 2 they can additionally be specified in the config file.
When manually specified paths are used nothing is loaded from the $XDG_CONFIG_HOME location, however the system wide files are still loaded first.
In the event $XDG_CONFIG_HOME is not specified it defaults to ~/.config โ likewise if $XDG_CACHE_HOME is not specified it defaults to ~/.cache.
Information about the formats for these files can be found in wofi(5).
and that's the whole page, bestie ๐ This was the wofi(1) manual page from the General Commands Manual, section 1 โ no cap, you read the whole thing, and honestly? that's iconic behavior. Go style something gorgeous ๐โจ๐
๐ฆ where this page comes from
- alpine 3.24: wofi-doc 1.5.3-r0 ยท GPL-3.0-only
- arch rolling: wofi 1.5.3-1 ยท GPL-3.0-or-later
- fedora 43: wofi 1.5.3-1.fc43 ยท GPL-3.0-only
- fedora 43: wofi 1.5.3-1.fc43 ยท GPL-3.0-only
- fedora 44: wofi 1.5.3-2.fc44 ยท GPL-3.0-only
- fedora 44: wofi 1.5.3-2.fc44 ยท GPL-3.0-only
- nixos 26.05: wofi 1.5.3
- nixpkgs unstable: wofi 1.5.3
- ubuntu stonking: wofi 1.5.3-1 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms