init
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
ps_out=`ps -ef | grep conky | grep -v 'grep' | grep -v $0`
|
||||
result=$(echo $ps_out | grep "$1")
|
||||
echo $result
|
||||
if [[ "$result" != "" ]];then
|
||||
killall conky
|
||||
else
|
||||
conky -c ~/.config/conky/mocha.conf
|
||||
fi
|
||||
Reference in New Issue
Block a user