add support for multi monitor setups

yes, this patch is probably highly dubious as I honestly don't
have much clue about the wayland event loop. but hey, it seems
to work just fine
This commit is contained in:
Virt 2025-03-09 14:06:57 +01:00
commit 5f1da28f96
3 changed files with 60 additions and 6 deletions

View file

@ -1,4 +1,4 @@
.TH WAYNEKO 1 2024-03-24 "git.sr.ht/~leon_plickat/wayneko" "General Commands Manual"
.TH WAYNEKO 1 2024-03-24 "copeberg.org/virt/wayneko" "General Commands Manual"
.
.SH NAME
.P
@ -21,6 +21,7 @@ wayneko \- Neko on Wayland but with phases
.OP \-\-awake-phase seconds-seconds
.OP \-\-currently awake|asleep|random
.OP \-\-layer background|bottom|top|overlay
.OP \-\-output name
.OP \-\-survive\-close
.YS
.
@ -102,6 +103,14 @@ Background may conflict with wallpaper clients.
.RE
.
.P
\fB\-\-output\fR \fIname\fR
.RS
Sets the output where neko will live. Expects an output name (e.g. `eDP-1`)
and will fall back to the currently selected output if the monitor does not
exist. Defaults to the currently selected monitor.
.RE
.
.P
\fB\-\-survive\-close\fR
.RS
If this flag is used, wayneko will recreate the surface after it has been closed.
@ -116,7 +125,7 @@ close the surface for a different reason.
\fBSIGUSR1\fR
.RS
You can send `wayneko` this signal to wake Neko up spontaneously. Neko won't notice
anything it she is already awake. Example: `pkill -10 wayneko`
anything it she is already awake. Example usage: `pkill -10 wayneko`
.RE
.
.