Initial commit
This commit is contained in:
commit
209ba130c0
4852 changed files with 1517959 additions and 0 deletions
20
.config/ml4w/scripts/nm-applet.sh
Executable file
20
.config/ml4w/scripts/nm-applet.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
# __ __
|
||||
# ___ __ _ ___ ____ ___ / /__ / /_
|
||||
# / _ \/ ' \/ _ `/ _ \/ _ \/ / -_) __/
|
||||
# /_//_/_/_/_/\_,_/ .__/ .__/_/\__/\__/
|
||||
# /_/ /_/
|
||||
#
|
||||
if [[ "$1" == "stop" ]]; then
|
||||
killall nm-applet
|
||||
elif [[ "$1" == "toggle" ]]; then
|
||||
if pgrep -x "nm-applet" >/dev/null; then
|
||||
echo "Running"
|
||||
killall nm-applet
|
||||
else
|
||||
echo "Stopped"
|
||||
nm-applet --indicator &
|
||||
fi
|
||||
else
|
||||
nm-applet --indicator &
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue