dotfiles/DUFRESNE/Linux/home/burchettm/.config/awesome/scripts/synergys

30 lines
550 B
Plaintext
Raw Normal View History

2015-04-12 23:06:28 +00:00
#!/bin/zsh
SERVICE=synergys
if pidof $SERVICE > /dev/null
then
echo "$SERVICE is running."
#echo "Starting $SERVICE ..."
#synergys -c /home/burchettm/.quicksynergy/synergy.conf
# if pgrep $SERVICE > /dev/null
# then
# echo "$SERVICE started ..."
# else
# echo "$SERVICE failed to start ..."
# fi
else
echo "$SERVICE is NOT running."
echo "Starting $SERVICE ..."
synergys -c /home/burchettm/.quicksynergy/synergy.conf
if pidof $SERVICE > /dev/null
then
echo "$SERVICE started ..."
else
echo "$SERVICE failed to start ..."
fi
fi