#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[ru_RU]=xfce4_xicon1
Exec=/mnt/po/client.sh
Icon=xfce4_xicon1
var1=`ps -ax | grep client-process-name | grep -v grep`
if [ $#var1 -ne 0 ]; then
echo 'Тапки заняты!'
exit 100
fi