#!/bin/bash

(pidof nm-applet && killall nm-applet) || (nm-applet &)