Decouple screenshot script from Xmd, Xmd session from Mwm

This commit is contained in:
Sasha Koshka
2024-01-17 11:30:25 -05:00
parent b341fbe6ca
commit 45425c91d1
4 changed files with 18 additions and 3 deletions

8
session/src/xmd-end-session Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
if [ -z "$XMD_SESSION_PID" ]; then
echo "ERR session is not running (\$XMD_SESSION_PID not set)"
exit 1
fi
kill "$XMD_SESSION_PID"