1wofi(1)                     General Commands Manual                    wofi(1)
2
3
4

NAME

6       wofi - A rofi inspired launcher for wlroots compositors
7
8

SYNOPSIS

10       wofi [options]
11
12

DESCRIPTION

14       wofi  is  a  rofi inspired menu program for wlroots compositors such as
15       sway. It is intended to be highly customizable and  flexible  with  the
16       help  of  CSS  styling and a dmenu mode that allows for endless script‐
17       ability. Wofi can be run  cacheless  in  dmenu  mode  automatically  by
18       invoking it as dmenu with symlink.
19
20       Wofi  was  designed  specifically  for  wlroots  and  makes  use of the
21       wlr-layer-shell protocol. If your compositor does not support this pro‐
22       tocol  or if you are in a non-wayland environment then wofi must be run
23       with --normal-window or it will crash. If you wish to run wofi this way
24       you  can  also  place  normal_window=true  in your config file to avoid
25       specifying the option on the command line.
26
27

OPTIONS

29       -h, --help
30              Prints the help message and then exits.
31
32       -f, --fork
33              Forks the menu so the terminal running it can be closed.
34
35       -c, --conf=PATH
36              Specifies the config file to use.
37
38       -s, --style=PATH
39              Specifies the CSS file to use as the stylesheet.
40
41       -C, --color=PATH
42              Specifies the colors file to use.
43
44       -d, --dmenu
45              Runs wofi in dmenu mode.
46
47       -S, --show=MODE
48              Specifies the mode to run in. A list of modes can  be  found  in
49              wofi(7).
50
51       -W, --width=WIDTH
52              Specifies  the  menu  width in pixels or percent of screen size,
53              default is 50%. Pixels are used unless the number ends with a %.
54
55       -H, --height=HEIGHT
56              Specifies the menu height in pixels or percent of  screen  size,
57              default is 40%. Pixels are used unless the number ends with a %.
58
59       -p, --prompt=PROMPT
60              Sets  the prompt to be display in the search box, default is the
61              name of the mode.
62
63       -x, --xoffset=OFFSET
64              Sets the x offset from the location in pixels, default is 0.
65
66       -y, --yoffset=OFFSET
67              Sets the y offset from the location in pixels, default is 0.
68
69       -n, --normal-window
70              Runs wofi in a normal window instead of using wlr-layer-shell.
71
72       -I, --allow-images
73              Allows image escape sequences to be processed and rendered.
74
75       -m, --allow-markup
76              Allows pango markup to be processed and rendered.
77
78       -k, --cache-file=PATH
79              Specifies  the  cache  file  to  load/store  cache,  default  is
80              $XDG_CACHE_HOME/wofi-<mode  name>  where <mode name> is the name
81              of the mode, if $XDG_CACHE_HOME is  not  specified  ~/.cache  is
82              used.
83
84       -t, --term=TERM
85              Specifies  the term to use when running a program in a terminal.
86              This overrides the default terminal run order  which  is  kitty,
87              termite, gnome-terminal, weston-terminal in that order.
88
89       -P, --password [character]
90              Runs  wofi  in password mode with an optional password character
91              to use. If no character is specified * is used by default.
92
93       -e, --exec-search
94              Activiating a search with enter will execute the search not  the
95              first result.
96
97       -b, --hide-scroll
98              Hides the scroll bars.
99
100       -M, --matching=MODE
101              Specifies the matching mode, it can be either contains or fuzzy,
102              default is contains.
103
104       -i, --insensitive
105              Enables case insensitive search.
106
107       -q, --parse-search
108              Parses out image escapes and pango preventing  them  from  being
109              used for searching.
110
111       -v, --version
112              Prints the version and then exits.
113
114       -l, --location=LOCATION
115              Specifies  the  location.  See  wofi(7)  for  more  information,
116              default is center.
117
118       -a, --no-actions
119              Disables multiple actions for modes that support it.
120
121       -D, --define=KEY=VALUE
122              Sets a config option
123
124       -L, --lines=LINES
125              Specifies the height in number of lines instead of pixels.
126
127       -w, --columns=COLUMNS
128              Specifies the number of columns to display, default is 1.
129
130       -O, --sort-order=ORDER
131              Specifies the  default  sort  order.  There  are  currently  two
132              orders, default and alphabetical. See wofi(7) for details.
133
134       -G, --gtk-dark
135              Instructs wofi to use the dark variant of the current GTK theme,
136              if available.
137
138       -Q, --search
139              Specifies something to search for immediately on opening
140
141       -o, --monitor
142              Sets the monitor to open on
143
144

CONFIGURATION

146       Wofi has 3 main files used for configuration. All files are  completely
147       optional.
148
149       1.  The config file which defaults to $XDG_CONFIG_HOME/wofi/config.
150
151       2.  The CSS file which defaults to $XDG_CONFIG_HOME/wofi/style.css.
152
153       3.  The    colors    file   which   defaults   to   the   pywal   cache
154           $XDG_CACHE_HOME/wal/colors.
155
156
157       All 3 of these paths can be manually  specified  using  the  respective
158       command  line  flag. In the case of the last 2 they can additionally be
159       specified in the config file.
160
161       In the event $XDG_CONFIG_HOME is not specified it defaults to ~/.config
162       likewise if $XDG_CACHE_HOME is not specified it defaults to ~/.cache.
163
164       Information about the formats for these files can be found in wofi(5).
165
166
167
168                                                                       wofi(1)
Impressum