remove wayland support section, instead arguments in the list are now

marked with X11 only.
This commit is contained in:
speedie 2023-06-09 08:16:00 +02:00
parent f8e2763d57
commit 263eca5820
6 changed files with 69 additions and 188 deletions

View file

@ -291,37 +291,6 @@ directory</strong>.</p>
<strong>in the current directory</strong>. If you want to generate a <strong>in the current directory</strong>. If you want to generate a
pacman package, run <code>scripts/make/generate-pacman-pkg.sh</code> pacman package, run <code>scripts/make/generate-pacman-pkg.sh</code>
instead.</p> instead.</p>
<h2 id="wayland-support">Wayland support</h2>
<p>Note that Wayland support is still experimental, and some features do
not currently work under Wayland. Some will never work under Wayland due
to limitations. These are:</p>
<ul>
<li><code>--x-position</code> and <code>--y-position</code> arguments
<ul>
<li>These arguments do not work under Wayland, because the layer_shell
protocol doesnt allow clients to be placed on a specific position.</li>
</ul></li>
<li>Embedding <code>-w</code> and window manager managed
<code>-wm</code>
<ul>
<li>These arguments do not make much sense on Wayland, and embedding is
not possible due to the original implementation using XEmbed. If the
embed argument is passed it will simply be ignored and the window will
be layered as normal.</li>
</ul></li>
<li><code>--monitor</code> argument
<ul>
<li>Possible under Wayland, but not really useful.</li>
</ul></li>
<li><code>--vertical-padding</code> and
<code>--horizontal-padding</code> arguments
<ul>
<li>Not possible under Wayland due to layer_shell not supporting
it.</li>
</ul></li>
<li>Window borders</li>
<li>Pasting</li>
</ul>
<h2 id="scripts">Scripts</h2> <h2 id="scripts">Scripts</h2>
<p>Theres a page dedicated to user scripts <a <p>Theres a page dedicated to user scripts <a
href="https://spmenu.speedie.site/index.php/User+scripts">over on the href="https://spmenu.speedie.site/index.php/User+scripts">over on the

View file

@ -116,26 +116,6 @@ To generate a tarball, run `scripts/make/generate-pkg.sh` **in the current
directory**. If you want to generate a pacman package, run directory**. If you want to generate a pacman package, run
`scripts/make/generate-pacman-pkg.sh` instead. `scripts/make/generate-pacman-pkg.sh` instead.
## Wayland support
Note that Wayland support is still experimental, and some features do not
currently work under Wayland. Some will never work under Wayland due to limitations.
These are:
- `--x-position` and `--y-position` arguments
- These arguments do not work under Wayland, because the layer_shell
protocol doesn't allow clients to be placed on a specific position.
- Embedding `-w` and window manager managed `-wm`
- These arguments do not make much sense on Wayland, and embedding is not possible
due to the original implementation using XEmbed. If the embed argument is passed
it will simply be ignored and the window will be layered as normal.
- `--monitor` argument
- Possible under Wayland, but not really useful.
- `--vertical-padding` and `--horizontal-padding` arguments
- Not possible under Wayland due to layer_shell not supporting it.
- Window borders
- Pasting
## Scripts ## Scripts
There's a page dedicated to user scripts There's a page dedicated to user scripts

View file

@ -33,7 +33,7 @@ You may use long, descriptive arguments or the shorter arguments.
: Set spmenu line height to height : Set spmenu line height to height
`-mw, --min-width width` `-mw, --min-width width`
: Set minimum width to width : Set minimum width to width when centered
`-g, --columns grid` `-g, --columns grid`
: Set the number of grids to grid : Set the number of grids to grid
@ -126,10 +126,10 @@ You may use long, descriptive arguments or the shorter arguments.
: Don't allow typing, the user must select an option : Don't allow typing, the user must select an option
`-x, --x-position x offset` `-x, --x-position x offset`
: Offset spmenu x position by x offset : Offset spmenu x position by x offset (X11 only)
`-y, --y-position y offset` `-y, --y-position y offset`
: Offset spmenu y position by y offset : Offset spmenu y position by y offset (X11 only)
`-n, --preselect line` `-n, --preselect line`
: Preselect line line in the list of items : Preselect line line in the list of items
@ -150,7 +150,7 @@ You may use long, descriptive arguments or the shorter arguments.
: Set caps lock off text to text : Set caps lock off text to text
`-bw, --border-width width` `-bw, --border-width width`
: Set width of the border to width . 0 will disable the border : Set width of the border to width. 0 will disable the border (X11 only)
`-so, --sort` `-so, --sort`
: Sort matches : Sort matches
@ -255,22 +255,22 @@ You may use long, descriptive arguments or the shorter arguments.
: Show caps lock indicator : Show caps lock indicator
`-xrdb, --xrdb` `-xrdb, --xrdb`
: Load .Xresources on runtime : Load .Xresources on runtime (X11 only)
`-nxrdb, --no-xrdb` `-nxrdb, --no-xrdb`
: Don't load .Xresources on runtime : Don't load .Xresources on runtime (X11 only)
`-gbc, --global-colors` `-gbc, --global-colors`
: Recognize global colors (such as *.color1) on runtime : Recognize global colors (such as \*.color1) on runtime (X11 only)
`-ngbc, --no-global-colors` `-ngbc, --no-global-colors`
: Don't recognize global colors (such as *.color1) on runtime : Don't recognize global colors (such as \*.color1) on runtime (X11 only)
`-m, --monitor monitor` `-m, --monitor monitor`
: Specify a monitor to run spmenu on : Specify a monitor to run spmenu on (X11 only)
`-w, --embed window id` `-w, --embed window id`
: Embed spmenu inside window id : Embed spmenu inside window id (X11 only)
`-H, --hist-file hist file` `-H, --hist-file hist file`
: Specify a file to save the history to : Specify a file to save the history to
@ -285,16 +285,16 @@ You may use long, descriptive arguments or the shorter arguments.
: Set text padding to padding : Set text padding to padding
`-vem, --vertical-margin margin` `-vem, --vertical-margin margin`
: Set the vertical margin : Set the vertical margin to margin
`-hom, --horizontal-margin margin` `-hom, --horizontal-margin margin`
: Set the horizontal margin : Set the horizontal margin to margin
`-lp, --vertical-padding padding` `-lp, --vertical-padding padding`
: Set the vertical padding : Set the vertical padding to padding
`-hp, --horizontal-padding padding` `-hp, --horizontal-padding padding`
: Set the horizontal padding : Set the horizontal padding to padding
`-la, --left-arrow-symbol symbol` `-la, --left-arrow-symbol symbol`
: Set the left arrow to symbol : Set the left arrow to symbol
@ -318,10 +318,10 @@ You may use long, descriptive arguments or the shorter arguments.
: Position the image in the top center : Position the image in the top center
`-wm, --managed, --x11-client` `-wm, --managed, --x11-client`
: Spawn spmenu as a window manager controlled client/window. Useful for testing : Spawn spmenu as a window manager controlled client/window (X11 only)
`-nwm, --unmanaged` `-nwm, --unmanaged`
: Don't spawn spmenu as a window manager controlled client/window. Useful for testing : Don't spawn spmenu as a window manager controlled client/window (X11 only)
`-cf, --config-file file` `-cf, --config-file file`
: Set config file to load to file : Set config file to load to file
@ -824,23 +824,6 @@ run `printf 'spmenu:version' | spmenu`. There are a few of these.
`spmenu:license` `spmenu:license`
: Print the spmenu license : Print the spmenu license
## Wayland support
Note that Wayland support is still experimental, and some features do not
currently work under Wayland. Some will never work under Wayland due to limitations.
These are:
- `--x-position` and `--y-position` arguments
- These arguments do not work under Wayland, because the layer_shell
protocol doesn't allow clients to be placed on a specific position.
- Embedding `-w` and window manager managed `-wm`
- These arguments do not make much sense on Wayland, and embedding is not possible
due to the original implementation using XEmbed. If the embed argument is passed
it will simply be ignored and the window will be layered as normal.
- `--monitor` argument
- Window borders
- Pasting
## License ## License
spmenu is licensed under the MIT license because that's the original suckless spmenu is licensed under the MIT license because that's the original suckless

View file

@ -529,7 +529,7 @@ void usage(int status) {
"- Arguments -\n" "- Arguments -\n"
"spmenu -l, --lines <line> Set line count to stdin\n" "spmenu -l, --lines <line> Set line count to stdin\n"
"spmenu -mh, --line-height <height> Set spmenu line height to <height>\n" "spmenu -mh, --line-height <height> Set spmenu line height to <height>\n"
"spmenu -mw, --min-width <width> Set minimum width to <width>\n" "spmenu -mw, --min-width <width> Set minimum width to <width> when centered\n"
"spmenu -g, --columns <grid> Set the number of grids to <grid>\n" "spmenu -g, --columns <grid> Set the number of grids to <grid>\n"
"spmenu -gc, --generate-cache Generate image cache\n" "spmenu -gc, --generate-cache Generate image cache\n"
"spmenu -ngc, --no-generate-cache Don't generate image cache\n" "spmenu -ngc, --no-generate-cache Don't generate image cache\n"
@ -562,15 +562,15 @@ void usage(int status) {
"spmenu -nt, --no-allow-typing Don't allow typing, the user must select an option\n" "spmenu -nt, --no-allow-typing Don't allow typing, the user must select an option\n"
, status ? stderr : stdout); , status ? stderr : stdout);
fputs("spmenu -x, --x-position <x offset> Offset spmenu x position by <x offset>\n" fputs("spmenu -x, --x-position <x offset> Offset spmenu x position by <x offset> (X11 only)\n"
"spmenu -y, --y-position <y offset> Offset spmenu y position by <y offset>\n" "spmenu -y, --y-position <y offset> Offset spmenu y position by <y offset> (X11 only)\n"
"spmenu -n, --preselect <line> Preselect <line> in the list of items\n" "spmenu -n, --preselect <line> Preselect <line> in the list of items\n"
"spmenu -z, --width <width> Width of the spmenu window\n" "spmenu -z, --width <width> Width of the spmenu window\n"
"spmenu -nmt, --normal-mode-text <text> Set normal mode text to <text>\n" "spmenu -nmt, --normal-mode-text <text> Set normal mode text to <text>\n"
"spmenu -imt, --insert-mode-text <text> Set insert mode text to <text>\n" "spmenu -imt, --insert-mode-text <text> Set insert mode text to <text>\n"
"spmenu -clon, --caps-lock-on-text <text> Set caps lock on text to <text>\n" "spmenu -clon, --caps-lock-on-text <text> Set caps lock on text to <text>\n"
"spmenu -clof, --caps-lock-off-text <text> Set caps lock off text to <text>\n" "spmenu -clof, --caps-lock-off-text <text> Set caps lock off text to <text>\n"
"spmenu -bw, --border-width <width> Set width of the border to <width>. 0 will disable the border\n" "spmenu -bw, --border-width <width> Set width of the border to <width>. 0 will disable the border (X11 only)\n"
"spmenu -so, --sort Sort matches\n" "spmenu -so, --sort Sort matches\n"
"spmenu -nso, --no-sort Don't sort matches\n" "spmenu -nso, --no-sort Don't sort matches\n"
"spmenu -pri, --priority <pri1,pri2,pri3> Specify a list of items that take priority\n" "spmenu -pri, --priority <pri1,pri2,pri3> Specify a list of items that take priority\n"
@ -608,23 +608,23 @@ void usage(int status) {
"spmenu -shl, --show-highlighting Show highlight\n" "spmenu -shl, --show-highlighting Show highlight\n"
"spmenu -si, --show-image Show image\n" "spmenu -si, --show-image Show image\n"
"spmenu -scl, --show-caps Show caps lock indicator\n" "spmenu -scl, --show-caps Show caps lock indicator\n"
"spmenu -xrdb, --xrdb Load .Xresources on runtime\n" "spmenu -xrdb, --xrdb Load .Xresources on runtime (X11 only)\n"
"spmenu -nxrdb, --no-xrdb Don't load .Xresources on runtime\n" "spmenu -nxrdb, --no-xrdb Don't load .Xresources on runtime (X11 only)\n"
"spmenu -gbc, --global-colors Recognize global colors (such as *.color1) on runtime\n" "spmenu -gbc, --global-colors Recognize global colors (such as *.color1) on runtime (X11 only)\n"
"spmenu -ngbc, --no-global-colors Don't recognize global colors (such as *.color1) on runtime\n" "spmenu -ngbc, --no-global-colors Don't recognize global colors (such as *.color1) on runtime (X11 only)\n"
"spmenu -m, --monitor <monitor> Specify a monitor to run spmenu on\n" "spmenu -m, --monitor <monitor> Specify a monitor to run spmenu on (X11 only)\n"
"spmenu -w, --embed <window id> Embed spmenu inside <window id>\n" "spmenu -w, --embed <window id> Embed spmenu inside <window id> (X11 only)\n"
"spmenu -H, --hist-file <hist file> Specify a file to save the history to\n" "spmenu -H, --hist-file <hist file> Specify a file to save the history to\n"
"spmenu -lf, --list-file <list file> Specify a file to load entries from\n" "spmenu -lf, --list-file <list file> Specify a file to load entries from\n"
"spmenu -ig, --image-gaps <gaps> Set image gaps to <gaps>\n" "spmenu -ig, --image-gaps <gaps> Set image gaps to <gaps>\n"
"spmenu -txp, --text-padding <padding> Set text padding to <padding>\n" "spmenu -txp, --text-padding <padding> Set text padding to <padding>\n"
"spmenu -lp, --vertical-padding <padding> Set the vertical padding\n" "spmenu -lp, --vertical-padding <padding> Set the vertical padding to <padding>\n"
"spmenu -hp, --horizontal-padding <padding> Set the horizontal padding\n" "spmenu -hp, --horizontal-padding <padding> Set the horizontal padding to <padding>\n"
"spmenu -vem, --vertical-margin <margin> Set the vertical margin\n" "spmenu -vem, --vertical-margin <margin> Set the vertical margin to <margin>\n"
"spmenu -hom, --horizontal-margin <margin> Set the horizontal margin\n" "spmenu -hom, --horizontal-margin <margin> Set the horizontal margin to <margin>\n"
"spmenu -la, --left-arrow-symbol <symbol> Set the left arrow to <symbol>\n" "spmenu -la, --left-arrow-symbol <symbol> Set the left arrow to <symbol>\n"
"spmenu -ra, --right-arrow-symbol <symbol> Set the right arrow to <symbol>\n" "spmenu -ra, --right-arrow-symbol <symbol> Set the right arrow to <symbol>\n"
"spmenu -is, --image-size <size> Image size\n" "spmenu -is, --image-size <size> Set image size to <size>\n"
"spmenu -it, --image-top Position the image at the top\n" "spmenu -it, --image-top Position the image at the top\n"
"spmenu -ib, --image-bottom Position the image at the bottom\n" "spmenu -ib, --image-bottom Position the image at the bottom\n"
"spmenu -ic, --image-center Position the image in the center\n" "spmenu -ic, --image-center Position the image in the center\n"
@ -632,8 +632,8 @@ void usage(int status) {
, status ? stderr : stdout); , status ? stderr : stdout);
// general/config related // general/config related
fputs("spmenu -wm, --managed, --x11-client Spawn spmenu as a window manager controlled client/window. Useful for testing\n" fputs("spmenu -wm, --managed, --x11-client Spawn spmenu as a window manager controlled client/window (X11 only)\n"
"spmenu -nwm, --unmanaged Don't spawn spmenu as a window manager controlled client/window. Useful for testing\n" "spmenu -nwm, --unmanaged Don't spawn spmenu as a window manager controlled client/window (X11 only)\n"
"spmenu -cf, --config-file <file> Set config file to load to <file>\n" "spmenu -cf, --config-file <file> Set config file to load to <file>\n"
"spmenu -lcfg, --load-config Load spmenu configuration (~/.config/spmenu/spmenu.conf)\n" "spmenu -lcfg, --load-config Load spmenu configuration (~/.config/spmenu/spmenu.conf)\n"
"spmenu -ncfg, --no-load-config Don't load spmenu configuration (~/.config/spmenu/spmenu.conf)\n" "spmenu -ncfg, --no-load-config Don't load spmenu configuration (~/.config/spmenu/spmenu.conf)\n"

View file

@ -55,7 +55,7 @@ You may use long, descriptive arguments or the shorter arguments.
Set spmenu line height to height Set spmenu line height to height
.TP .TP
\f[V]-mw, --min-width width\f[R] \f[V]-mw, --min-width width\f[R]
Set minimum width to width Set minimum width to width when centered
.TP .TP
\f[V]-g, --columns grid\f[R] \f[V]-g, --columns grid\f[R]
Set the number of grids to grid Set the number of grids to grid
@ -148,10 +148,10 @@ Allow the user to type
Don\[cq]t allow typing, the user must select an option Don\[cq]t allow typing, the user must select an option
.TP .TP
\f[V]-x, --x-position x offset\f[R] \f[V]-x, --x-position x offset\f[R]
Offset spmenu x position by x offset Offset spmenu x position by x offset (X11 only)
.TP .TP
\f[V]-y, --y-position y offset\f[R] \f[V]-y, --y-position y offset\f[R]
Offset spmenu y position by y offset Offset spmenu y position by y offset (X11 only)
.TP .TP
\f[V]-n, --preselect line\f[R] \f[V]-n, --preselect line\f[R]
Preselect line line in the list of items Preselect line line in the list of items
@ -173,7 +173,7 @@ Set caps lock off text to text
.TP .TP
\f[V]-bw, --border-width width\f[R] \f[V]-bw, --border-width width\f[R]
Set width of the border to width. Set width of the border to width.
0 will disable the border 0 will disable the border (X11 only)
.TP .TP
\f[V]-so, --sort\f[R] \f[V]-so, --sort\f[R]
Sort matches Sort matches
@ -278,22 +278,23 @@ Show image
Show caps lock indicator Show caps lock indicator
.TP .TP
\f[V]-xrdb, --xrdb\f[R] \f[V]-xrdb, --xrdb\f[R]
Load .Xresources on runtime Load .Xresources on runtime (X11 only)
.TP .TP
\f[V]-nxrdb, --no-xrdb\f[R] \f[V]-nxrdb, --no-xrdb\f[R]
Don\[cq]t load .Xresources on runtime Don\[cq]t load .Xresources on runtime (X11 only)
.TP .TP
\f[V]-gbc, --global-colors\f[R] \f[V]-gbc, --global-colors\f[R]
Recognize global colors (such as *.color1) on runtime Recognize global colors (such as *.color1) on runtime (X11 only)
.TP .TP
\f[V]-ngbc, --no-global-colors\f[R] \f[V]-ngbc, --no-global-colors\f[R]
Don\[cq]t recognize global colors (such as *.color1) on runtime Don\[cq]t recognize global colors (such as *.color1) on runtime (X11
only)
.TP .TP
\f[V]-m, --monitor monitor\f[R] \f[V]-m, --monitor monitor\f[R]
Specify a monitor to run spmenu on Specify a monitor to run spmenu on (X11 only)
.TP .TP
\f[V]-w, --embed window id\f[R] \f[V]-w, --embed window id\f[R]
Embed spmenu inside window id Embed spmenu inside window id (X11 only)
.TP .TP
\f[V]-H, --hist-file hist file\f[R] \f[V]-H, --hist-file hist file\f[R]
Specify a file to save the history to Specify a file to save the history to
@ -308,16 +309,16 @@ Set image gaps to gaps
Set text padding to padding Set text padding to padding
.TP .TP
\f[V]-vem, --vertical-margin margin\f[R] \f[V]-vem, --vertical-margin margin\f[R]
Set the vertical margin Set the vertical margin to margin
.TP .TP
\f[V]-hom, --horizontal-margin margin\f[R] \f[V]-hom, --horizontal-margin margin\f[R]
Set the horizontal margin Set the horizontal margin to margin
.TP .TP
\f[V]-lp, --vertical-padding padding\f[R] \f[V]-lp, --vertical-padding padding\f[R]
Set the vertical padding Set the vertical padding to padding
.TP .TP
\f[V]-hp, --horizontal-padding padding\f[R] \f[V]-hp, --horizontal-padding padding\f[R]
Set the horizontal padding Set the horizontal padding to padding
.TP .TP
\f[V]-la, --left-arrow-symbol symbol\f[R] \f[V]-la, --left-arrow-symbol symbol\f[R]
Set the left arrow to symbol Set the left arrow to symbol
@ -341,12 +342,11 @@ Position the image in the center
Position the image in the top center Position the image in the top center
.TP .TP
\f[V]-wm, --managed, --x11-client\f[R] \f[V]-wm, --managed, --x11-client\f[R]
Spawn spmenu as a window manager controlled client/window. Spawn spmenu as a window manager controlled client/window (X11 only)
Useful for testing
.TP .TP
\f[V]-nwm, --unmanaged\f[R] \f[V]-nwm, --unmanaged\f[R]
Don\[cq]t spawn spmenu as a window manager controlled client/window. Don\[cq]t spawn spmenu as a window manager controlled client/window (X11
Useful for testing only)
.TP .TP
\f[V]-cf, --config-file file\f[R] \f[V]-cf, --config-file file\f[R]
Set config file to load to file Set config file to load to file
@ -1525,34 +1525,6 @@ Print the spmenu version
.TP .TP
\f[V]spmenu:license\f[R] \f[V]spmenu:license\f[R]
Print the spmenu license Print the spmenu license
.SS Wayland support
.PP
Note that Wayland support is still experimental, and some features do
not currently work under Wayland.
Some will never work under Wayland due to limitations.
These are:
.IP \[bu] 2
\f[V]--x-position\f[R] and \f[V]--y-position\f[R] arguments
.RS 2
.IP \[bu] 2
These arguments do not work under Wayland, because the layer_shell
protocol doesn\[cq]t allow clients to be placed on a specific position.
.RE
.IP \[bu] 2
Embedding \f[V]-w\f[R] and window manager managed \f[V]-wm\f[R]
.RS 2
.IP \[bu] 2
These arguments do not make much sense on Wayland, and embedding is not
possible due to the original implementation using XEmbed.
If the embed argument is passed it will simply be ignored and the window
will be layered as normal.
.RE
.IP \[bu] 2
\f[V]--monitor\f[R] argument
.IP \[bu] 2
Window borders
.IP \[bu] 2
Pasting
.SS License .SS License
.PP .PP
spmenu is licensed under the MIT license because that\[cq]s the original spmenu is licensed under the MIT license because that\[cq]s the original

View file

@ -197,7 +197,7 @@ Set spmenu line height to height
</dd> </dd>
<dt><code>-mw, --min-width width</code></dt> <dt><code>-mw, --min-width width</code></dt>
<dd> <dd>
Set minimum width to width Set minimum width to width when centered
</dd> </dd>
<dt><code>-g, --columns grid</code></dt> <dt><code>-g, --columns grid</code></dt>
<dd> <dd>
@ -321,11 +321,11 @@ Dont allow typing, the user must select an option
</dd> </dd>
<dt><code>-x, --x-position x offset</code></dt> <dt><code>-x, --x-position x offset</code></dt>
<dd> <dd>
Offset spmenu x position by x offset Offset spmenu x position by x offset (X11 only)
</dd> </dd>
<dt><code>-y, --y-position y offset</code></dt> <dt><code>-y, --y-position y offset</code></dt>
<dd> <dd>
Offset spmenu y position by y offset Offset spmenu y position by y offset (X11 only)
</dd> </dd>
<dt><code>-n, --preselect line</code></dt> <dt><code>-n, --preselect line</code></dt>
<dd> <dd>
@ -353,7 +353,7 @@ Set caps lock off text to text
</dd> </dd>
<dt><code>-bw, --border-width width</code></dt> <dt><code>-bw, --border-width width</code></dt>
<dd> <dd>
Set width of the border to width . 0 will disable the border Set width of the border to width. 0 will disable the border (X11 only)
</dd> </dd>
<dt><code>-so, --sort</code></dt> <dt><code>-so, --sort</code></dt>
<dd> <dd>
@ -493,27 +493,27 @@ Show caps lock indicator
</dd> </dd>
<dt><code>-xrdb, --xrdb</code></dt> <dt><code>-xrdb, --xrdb</code></dt>
<dd> <dd>
Load .Xresources on runtime Load .Xresources on runtime (X11 only)
</dd> </dd>
<dt><code>-nxrdb, --no-xrdb</code></dt> <dt><code>-nxrdb, --no-xrdb</code></dt>
<dd> <dd>
Dont load .Xresources on runtime Dont load .Xresources on runtime (X11 only)
</dd> </dd>
<dt><code>-gbc, --global-colors</code></dt> <dt><code>-gbc, --global-colors</code></dt>
<dd> <dd>
Recognize global colors (such as *.color1) on runtime Recognize global colors (such as *.color1) on runtime (X11 only)
</dd> </dd>
<dt><code>-ngbc, --no-global-colors</code></dt> <dt><code>-ngbc, --no-global-colors</code></dt>
<dd> <dd>
Dont recognize global colors (such as *.color1) on runtime Dont recognize global colors (such as *.color1) on runtime (X11 only)
</dd> </dd>
<dt><code>-m, --monitor monitor</code></dt> <dt><code>-m, --monitor monitor</code></dt>
<dd> <dd>
Specify a monitor to run spmenu on Specify a monitor to run spmenu on (X11 only)
</dd> </dd>
<dt><code>-w, --embed window id</code></dt> <dt><code>-w, --embed window id</code></dt>
<dd> <dd>
Embed spmenu inside window id Embed spmenu inside window id (X11 only)
</dd> </dd>
<dt><code>-H, --hist-file hist file</code></dt> <dt><code>-H, --hist-file hist file</code></dt>
<dd> <dd>
@ -533,19 +533,19 @@ Set text padding to padding
</dd> </dd>
<dt><code>-vem, --vertical-margin margin</code></dt> <dt><code>-vem, --vertical-margin margin</code></dt>
<dd> <dd>
Set the vertical margin Set the vertical margin to margin
</dd> </dd>
<dt><code>-hom, --horizontal-margin margin</code></dt> <dt><code>-hom, --horizontal-margin margin</code></dt>
<dd> <dd>
Set the horizontal margin Set the horizontal margin to margin
</dd> </dd>
<dt><code>-lp, --vertical-padding padding</code></dt> <dt><code>-lp, --vertical-padding padding</code></dt>
<dd> <dd>
Set the vertical padding Set the vertical padding to padding
</dd> </dd>
<dt><code>-hp, --horizontal-padding padding</code></dt> <dt><code>-hp, --horizontal-padding padding</code></dt>
<dd> <dd>
Set the horizontal padding Set the horizontal padding to padding
</dd> </dd>
<dt><code>-la, --left-arrow-symbol symbol</code></dt> <dt><code>-la, --left-arrow-symbol symbol</code></dt>
<dd> <dd>
@ -577,13 +577,12 @@ Position the image in the top center
</dd> </dd>
<dt><code>-wm, --managed, --x11-client</code></dt> <dt><code>-wm, --managed, --x11-client</code></dt>
<dd> <dd>
Spawn spmenu as a window manager controlled client/window. Useful for Spawn spmenu as a window manager controlled client/window (X11 only)
testing
</dd> </dd>
<dt><code>-nwm, --unmanaged</code></dt> <dt><code>-nwm, --unmanaged</code></dt>
<dd> <dd>
Dont spawn spmenu as a window manager controlled client/window. Useful Dont spawn spmenu as a window manager controlled client/window (X11
for testing only)
</dd> </dd>
<dt><code>-cf, --config-file file</code></dt> <dt><code>-cf, --config-file file</code></dt>
<dd> <dd>
@ -1537,28 +1536,6 @@ Print the spmenu version
Print the spmenu license Print the spmenu license
</dd> </dd>
</dl> </dl>
<h2 id="wayland-support">Wayland support</h2>
<p>Note that Wayland support is still experimental, and some features do
not currently work under Wayland. Some will never work under Wayland due
to limitations. These are:</p>
<ul>
<li><code>--x-position</code> and <code>--y-position</code> arguments
<ul>
<li>These arguments do not work under Wayland, because the layer_shell
protocol doesnt allow clients to be placed on a specific position.</li>
</ul></li>
<li>Embedding <code>-w</code> and window manager managed
<code>-wm</code>
<ul>
<li>These arguments do not make much sense on Wayland, and embedding is
not possible due to the original implementation using XEmbed. If the
embed argument is passed it will simply be ignored and the window will
be layered as normal.</li>
</ul></li>
<li><code>--monitor</code> argument</li>
<li>Window borders</li>
<li>Pasting</li>
</ul>
<h2 id="license">License</h2> <h2 id="license">License</h2>
<p>spmenu is licensed under the MIT license because thats the original <p>spmenu is licensed under the MIT license because thats the original
suckless license. See the included LICENSE file for more suckless license. See the included LICENSE file for more