support xdg_activation_v1 and implement passing to execution flag

This commit is contained in:
sewn 2024-06-27 02:44:26 +03:00
parent 6cef260109
commit 6d80584299
No known key found for this signature in database
4 changed files with 67 additions and 10 deletions

12
mew.1
View file

@ -3,7 +3,7 @@
mew \- menu for wayland
.SH SYNOPSIS
.B mew
.RB [ \-biv ]
.RB [ \-beiv ]
.RB [ \-l
.IR lines ]
.RB [ \-p
@ -28,13 +28,19 @@ to stdout and mew terminates. Entering text will narrow the items to those
matching the tokens in the input.
.P
.B mew-run
is a script spawned by the compositor that lists programs in the user's $PATH and
runs the result in their $SHELL.
is a script that lists programs in the user's $PATH and runs the result with
.BR mew\ -e .
.SH OPTIONS
.TP
.B \-b
appear at the bottom of the screen.
.TP
.B \-e
execute input or selection with
.BR /bin/sh ,
accompanied by a xdg activation token in it's environment, subsequently
passing focus to the application ran.
.TP
.B \-i
matches menu items case insensitively.
.TP