allow setting of position at startup

This commit is contained in:
Virt 2025-04-15 11:16:47 +02:00
commit 049860f3d2
2 changed files with 32 additions and 1 deletions

View file

@ -22,6 +22,7 @@ wayneko \- Neko on Wayland but with phases
.OP \-\-currently awake|asleep|random
.OP \-\-layer background|bottom|top|overlay
.OP \-\-output name
.OP \-\-position float
.OP \-\-survive\-close
.YS
.
@ -111,6 +112,14 @@ exist. Defaults to the currently selected monitor.
.RE
.
.P
\fB\-\-position\fR \fIfloat\fR|\fBrandom\fR
.RS
Set the position neko is at on startup. Expects a float between 0 and 1, where
0 is the leftmost position and 1 is to the rightmost one. Defaults to the
center, i.e. 0.5.
.RE
.
.P
\fB\-\-survive\-close\fR
.RS
If this flag is used, wayneko will recreate the surface after it has been closed.