From 0d8d7b0bd394f685ab7ded4073bb94dc99db936a Mon Sep 17 00:00:00 2001 From: Morgan Aldridge Date: Tue, 25 Jul 2023 16:20:59 -0400 Subject: [PATCH] Added new mlvwm-restart tool which can restart a running mlvwm using xdotool --- README.md | 1 + bin/mlvwm-restart | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100755 bin/mlvwm-restart diff --git a/README.md b/README.md index 4478ae4..e7a99ec 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ MLVWM includes a very rudimentary set of rc ([run command](https://en.wikipedia. * `locale` * `curl` * `make` +* `xdotool` * ImageMagick ## USAGE diff --git a/bin/mlvwm-restart b/bin/mlvwm-restart new file mode 100755 index 0000000..247c842 --- /dev/null +++ b/bin/mlvwm-restart @@ -0,0 +1,11 @@ +#!/bin/sh -e + +# mlvwm-restart - Restart MLVWM by sending it a restart key code +# +# Assumes that your ~/.mlvwmrc contains the following: +# +# ShortCut +# Escape M Restart mlvwm +# END + +xdotool key --window root --clearmodifiers alt+Escape