Hello jerry,
I chose to implement the kill on right-click instead of a contextual menu for simplicity purpose and
because wmalauncher has no way to directly change the position of the slit, and thus an option
"move" would be useless. I think it would be better to offer this through a wmalauncher instance
that run a dialog (yad/zenity/...) with the possible locations (buttons-radio)and moves the slit accordingly.
You'll find a beta release of wmalauncher with included feature to terminate a wmalaucher
when user right-click on it.This feature is disabled by default. To enable it, you must pass
option --exit-on-right-click (or simply -x) to wmalauncher.
The user is notified that wmalauncher instance is about to be terminated using the following
effects: The icon is shrinked (-4 pixels), displayed in grayscale, and, a red cross (thickness=4) is drawn on it.
I tested this on my system (slackware) and on a mxlinux VM. I didn't' noticed any issue nor regression,
but this does not mean I didn't make any mistakes ;-P.
In attachment, you'll find the following :
* An image that show the effects when you right-click on a wmalauncher instance.
* the source-archive of wmalauncher-2020.0123 (beta)
* the binary of wmalauncher build on mxlinux (VM) so that you can try it without to have to build it from source.
As a reminder, to build wmalauncher from source :
8<----------------------------------------
# required packages on mxlinux
$ apt install libx11-dev libxpm-dev librsvg2-dev libimlib2-dev cmake pkg-config
$ tar xf wmalauncher-2020.0123-beta.tar.gz
$ cd wmalauncher-2020.0123-beta
$ mkdir _build
$ cd _build
$ cmake ..
$ make
# small test in _build folder :
$ ./wmalauncher --config conf/frame-onthefly.conf --prefix mozilla-firefox -x &
8<----------------------------------------
attachments:
1adefb517d3cbc2f340868fdf555621b mxlinux-wmlauncher-2020.0123-beta.png
492c8e6ed00d16cfa14f2d8d3668f4c5 wmalauncher-2020.0123-beta.tar.gz
fd3812b631d76488fe21e89e83dd38c5 wmalauncher
Once these changes are validated, I'll update wmalauncher and publish a new version.
Greetings.
P.S: sorry for my broken english.
--
SeB
Le jeu. 23 janv. 2020 à 14:47, jerry bond <
jerry@mxlinux.org> a écrit :
Hi SeB --
By far the most useful change I have seen after almost a month of use
would be what I first approached you about:
right-click launcher to kill
If you would need to create a context menu to do that, I can imagine
also including a "move" command. I am attaching an image of the current
template I mentioned in case that would be useful.
ATM I have a generic menu entry, but it is not intuitive for a user to
think of going there, and the right-click would be the first thought for
average users.
FWIW
Jerry
mxlinux-wmlauncher-2020.0123-beta.png