mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-14 14:25:50 +00:00
prepare to release 1.9.0
+ added support of several custom commands * fix parsing pkg label
This commit is contained in:
@ -118,8 +118,9 @@ class DataEngine:
|
||||
updatedData['value'] = value
|
||||
elif (sourceName == "custom"):
|
||||
updatedData['name'] = "custom"
|
||||
value = str(data[QString(u'custom')].toUtf8()).decode("utf-8")
|
||||
updatedData['value'] = value
|
||||
updatedData['value'] = {}
|
||||
for singleData in data.keys():
|
||||
updatedData['value'][str(singleData.toLower())] = str(data[singleData].toUtf8()).decode("utf-8")
|
||||
elif ((sourceName[:4] == "disk") and (sourceName[-4:] == "rblk")):
|
||||
updatedData['name'] = "disk-r"
|
||||
updatedData['type'] = '/'.join(str(sourceName).split('/')[0:2])
|
||||
|
Reference in New Issue
Block a user