wofi \- A rofi inspired launcher for wlroots compositors
.SHSYNOPSIS
.Bwofi
[options]
.SHDESCRIPTION
.Bwofi
is a rofi inspired menu program for wlroots compositors such as sway. It is intended to be highly customizable and flexible with the help of CSS styling and a dmenu mode that allows for endless scriptability. Wofi can be run cacheless in dmenu mode automatically by invoking it as dmenu with symlink.
Wofi was designed specifically for wlroots and makes use of the wlr\-layer\-shell protocol. If your compositor does not support this protocol or if you are in a non\-wayland environment then wofi must be run with \fB\-\-normal\-window\fR or it will crash. If you wish to run wofi this way you can also place \fBnormal_window=true\fR in your config file to avoid specifying the option on the command line.
.SHOPTIONS
.TP
.B\-h,\-\-help
Prints the help message and then exits.
.TP
.B\-f,\-\-fork
Forks the menu so the terminal running it can be closed.
.TP
.B\-c,\-\-conf=\fIPATH\fR
Specifies the config file to use.
.TP
.B\-s,\-\-style=\fIPATH\fR
Specifies the CSS file to use as the stylesheet.
.TP
.B\-C,\-\-color=\fIPATH\fR
Specifies the colors file to use.
.TP
.B\-d,\-\-dmenu
Runs wofi in dmenu mode.
.TP
.B\-S,\-\-show=\fIMODE\fR
Specifies the mode to run in. A list of modes can be found in \fBwofi\fR(7).
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_HOME is not specified ~/.cache is used.
Specifies the term to use when running a program in a terminal. This overrides the default terminal run order which is kitty, termite, alacritty, foot, gnome\-terminal, weston\-terminal in that order.
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 \fB"echo %s | some_cmd"\fR or \fB"some_cmd %s"\fR, 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.
Wofi has 3 main files used for configuration. All files are completely optional.
.IP1.4
The config file which defaults to $XDG_CONFIG_HOME/wofi/config.
.IP2.4
The CSS file which defaults to $XDG_CONFIG_HOME/wofi/style.css.
.IP3.4
The colors file which defaults to the pywal cache $XDG_CACHE_HOME/wal/colors.
.P
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.
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