mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-06-28 06:41:40 +00:00
release 1.10.2
This commit is contained in:
@ -1,3 +1,6 @@
|
||||
Ver.1.10.2:
|
||||
- fix error with tempUnits in hddtemp label
|
||||
|
||||
Ver.1.10.1:
|
||||
- fix error with number formats in ps label
|
||||
- fix first initialization of DataEngine
|
||||
|
@ -1,3 +1,6 @@
|
||||
Вер.1.10.2:
|
||||
- фикс ошибки с tempUnits в поле hddtemp
|
||||
|
||||
Вер.1.10.1:
|
||||
- пофикшена ошибка с форматами чисел в поле ps
|
||||
- пофикшена инициализация значений в DataEngine
|
||||
|
4
PKGBUILD
4
PKGBUILD
@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=kdeplasma-applets-pytextmonitor
|
||||
_pkgname=pytextmonitor
|
||||
pkgver=1.10.1
|
||||
pkgver=1.10.2
|
||||
pkgrel=1
|
||||
pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in Awesome WM"
|
||||
arch=('i686' 'x86_64')
|
||||
@ -21,7 +21,7 @@ optdepends=("amarok: for music player monitor"
|
||||
makedepends=('automoc4' 'cmake')
|
||||
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
|
||||
install=${pkgname}.install
|
||||
md5sums=('a494d131062ef26037cf273fe581a1f1')
|
||||
md5sums=('62b7cb57cb996282bb7decc2dbdf27c1')
|
||||
backup=('usr/share/config/extsysmon.conf')
|
||||
|
||||
prepare() {
|
||||
|
@ -8,7 +8,7 @@ cmake_policy (SET CMP0015 NEW)
|
||||
project (pytextmonitor)
|
||||
set (PROJECT_VERSION_MAJOR 1)
|
||||
set (PROJECT_VERSION_MINOR 10)
|
||||
set (PROJECT_VERSION_PATCH 1)
|
||||
set (PROJECT_VERSION_PATCH 2)
|
||||
set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
||||
|
||||
message (STATUS "Version: ${PROJECT_VERSION}")
|
||||
|
@ -510,7 +510,7 @@ class pyTextWidget(plasmascript.Applet):
|
||||
for i in devices:
|
||||
if (line.split('$hddtemp' + str(i))[0] != line):
|
||||
line = line.split('$hddtemp' + str(i))[0] +\
|
||||
getTemp(str(self.ptm['values']['hddtemp'][self.ptm['names']['hddtemp'][i]]), self.ptm['vars']['adv']['tempUnit']) +\
|
||||
getTemp(str(self.ptm['values']['hddtemp'][self.ptm['names']['hddtemp'][i]]), self.ptm['vars']['adv']['tempUnits']) +\
|
||||
line.split('$hddtemp' + str(i))[1]
|
||||
text = self.ptm['vars']['app']['format'][0] + line + self.ptm['vars']['app']['format'][1]
|
||||
self.setText("hddtemp", text)
|
||||
|
Reference in New Issue
Block a user