dotfiles/Old/NOVA-FD/home/burchettm/.config/awesome/scripts/nm-applet
2015-04-12 18:06:28 -05:00

30 lines
507 B
Bash
Executable File

#!/bin/zsh
SERVICE=nm-applet
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 ..."
$SERVICE &
if pidof $SERVICE > /dev/null
then
echo "$SERVICE started ..."
else
echo "$SERVICE failed to start ..."
fi
fi