Added new mlvwm-restart tool which can restart a running mlvwm using xdotool

This commit is contained in:
Morgan Aldridge 2023-07-25 16:20:59 -04:00
parent 82e4facb5f
commit 0d8d7b0bd3
2 changed files with 12 additions and 0 deletions

View File

@ -18,6 +18,7 @@ MLVWM includes a very rudimentary set of rc ([run command](https://en.wikipedia.
* `locale`
* `curl`
* `make`
* `xdotool`
* ImageMagick
## USAGE

11
bin/mlvwm-restart Executable file
View File

@ -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