wait on error when started via desktop file
This commit is contained in:
parent
f9ab379abc
commit
5fe430b3f2
3 changed files with 10 additions and 1 deletions
8
desktop/remote-touchpad-wait-on-error
Normal file
8
desktop/remote-touchpad-wait-on-error
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
remote-touchpad "$@"
|
||||
if [ $? -eq 1 ]; then
|
||||
echo
|
||||
read -n 1 -s -r -p "Press any key to close"
|
||||
echo
|
||||
fi
|
||||
|
|
@ -4,6 +4,6 @@ Type=Application
|
|||
Name=Remote Touchpad
|
||||
Comment=Control mouse and keyboard from a smartphone
|
||||
Terminal=true
|
||||
Exec=remote-touchpad
|
||||
Exec=remote-touchpad-wait-on-error
|
||||
Icon=remote-touchpad
|
||||
Categories=Network;RemoteAccess;ConsoleOnly;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue