Release ext-sysmon-1.3

+ added music players support: amarok, mpd and qmmp
This commit is contained in:
arcan1s
2013-11-05 23:01:34 +04:00
parent 60f1cd8c58
commit 7d5803fec8
5 changed files with 112 additions and 8 deletions

View File

@ -43,7 +43,6 @@ class PTMNotify:
output = commands.getoutput("grep 'model name' /proc/cpuinfo | head -1")
text = text + "Model: %s\n" %(' '.join(output.split()[3:]))
output = commands.getoutput("sar -u | tail -1")
print "1"
text = text + "CPU Usage: %s%%\n" %(str(100-float(output.split()[-1])))
output = commands.getoutput("grep MHz /proc/cpuinfo | head -1")
text = text + "CPU Freq: %s MHz\n" %(str(int(float(output.split()[-1]))))