mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 15:37:23 +00:00
New release 1.3.3:
edited reading temperature device rename
This commit is contained in:
parent
63a6ef5217
commit
e66e8c476b
7
README
7
README
@ -26,8 +26,11 @@ For edited output you must open Settings window and setup output format in lines
|
||||
|
||||
Label order will changed if you change slider position. HTML tags in label work normally.
|
||||
Attention: you don't may set to show $cpu in swap label for example. $cpu will work only in cpu label.
|
||||
Attention: gpu, gputemp and hddtemp labels require extsysmon dataengine!
|
||||
|
||||
|
||||
Dependencies:
|
||||
extsysmon
|
||||
kdebindings-python2
|
||||
|
||||
extsysmon (for GPU, GPU temp and HDD temp labels)
|
||||
lm_sensors (for definition temperature device)
|
||||
net-tools (for definition network device)
|
3
install_ext-sysmon.sh
Executable file
3
install_ext-sysmon.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
plasmapkg -t dataengine -i ext-sysmon-1.0.zip
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
plasmapkg -t dataengine -i extsysmon-1.0.zip
|
Binary file not shown.
@ -85,8 +85,8 @@ class pyTextWidget(plasmascript.Applet):
|
||||
commandOut = commands.getoutput("grep -c '^processor' /proc/cpuinfo")
|
||||
self.numCores = int(commandOut)
|
||||
# setup temperature device
|
||||
commandOut = commands.getoutput("sensors | grep Physical -B2")
|
||||
self.tempdev = "lmsensors/"+commandOut.split("\n")[0]+"/"+'_'.join(commandOut.split("\n")[2].split(":")[0].split())
|
||||
commandOut = commands.getoutput("sensors | grep adapter -B1 -A1 | grep °C -B2")
|
||||
self.tempdev = "lmsensors/" + commandOut.split("\n")[0] + "/" + '_'.join(commandOut.split("\n")[2].split(":")[0].split())
|
||||
|
||||
# create dictionaries
|
||||
self.dict_orders = {'6':'bat', '1':'cpu', '7':'cpuclock', '9':'gpu', 'a':'gputemp',
|
||||
|
@ -12,7 +12,7 @@ X-Plasma-RequiredExtensions=FileDialog,LaunchApp,LocalIO
|
||||
X-KDE-PluginInfo-Author=Evgeniy Alexeev aka arcanis
|
||||
X-KDE-PluginInfo-Email=esalexeev@gmail.com
|
||||
X-KDE-PluginInfo-Name=py-text-monitor
|
||||
X-KDE-PluginInfo-Version=1.3.2b
|
||||
X-KDE-PluginInfo-Version=1.3.3
|
||||
X-KDE-PluginInfo-Website=http://kde-look.org/
|
||||
X-KDE-PluginInfo-Category=System Information
|
||||
X-KDE-PluginInfo-Depends=
|
||||
|
Loading…
Reference in New Issue
Block a user