mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-25 07:57:19 +00:00
Release 1.8.1
This commit is contained in:
parent
9c8be61855
commit
a3576275cc
@ -1,3 +1,6 @@
|
|||||||
|
Ver.1.8.1:
|
||||||
|
* change pkg update time to hour
|
||||||
|
|
||||||
Ver.1.8.0:
|
Ver.1.8.0:
|
||||||
+ added scrollbar to configuration interface
|
+ added scrollbar to configuration interface
|
||||||
+ added AC lines configuration
|
+ added AC lines configuration
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
Вер.1.8.1:
|
||||||
|
* поле pkg теперь обновляется раз в час
|
||||||
|
|
||||||
Вер.1.8.0:
|
Вер.1.8.0:
|
||||||
+ добавлены скроллбары в конфигурационный интерфейс
|
+ добавлены скроллбары в конфигурационный интерфейс
|
||||||
+ добавлена настройка значений AC
|
+ добавлена настройка значений AC
|
||||||
|
4
PKGBUILD
4
PKGBUILD
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgname=kdeplasma-applets-pytextmonitor
|
pkgname=kdeplasma-applets-pytextmonitor
|
||||||
_pkgname=pytextmonitor
|
_pkgname=pytextmonitor
|
||||||
pkgver=1.8.0
|
pkgver=1.8.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in Awesome WM"
|
pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in Awesome WM"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -20,7 +20,7 @@ optdepends=("amarok: for music player monitor"
|
|||||||
makedepends=('automoc4' 'cmake')
|
makedepends=('automoc4' 'cmake')
|
||||||
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
|
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
|
||||||
install=${pkgname}.install
|
install=${pkgname}.install
|
||||||
md5sums=('9052985dc219e75ffbed88ce3ebf5a32')
|
md5sums=('de872b28c48b9b4903dcfa50158595dc')
|
||||||
backup=('usr/share/config/extsysmon.conf')
|
backup=('usr/share/config/extsysmon.conf')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -8,7 +8,7 @@ cmake_policy (SET CMP0015 NEW)
|
|||||||
project (pytextmonitor)
|
project (pytextmonitor)
|
||||||
set (PROJECT_VERSION_MAJOR 1)
|
set (PROJECT_VERSION_MAJOR 1)
|
||||||
set (PROJECT_VERSION_MINOR 8)
|
set (PROJECT_VERSION_MINOR 8)
|
||||||
set (PROJECT_VERSION_PATCH 0)
|
set (PROJECT_VERSION_PATCH 1)
|
||||||
set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
||||||
|
|
||||||
message (STATUS "Version: ${PROJECT_VERSION}")
|
message (STATUS "Version: ${PROJECT_VERSION}")
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
from PyQt4.QtCore import *
|
from PyQt4.QtCore import *
|
||||||
from PyQt4.QtGui import *
|
from PyQt4.QtGui import *
|
||||||
|
from PyKDE4.plasma import Plasma
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
@ -65,7 +66,7 @@ class DataEngine:
|
|||||||
dataEngines['system'].connectSource("network/interfaces/" + names['net'] + "/transmitter/data", self.parent, interval)
|
dataEngines['system'].connectSource("network/interfaces/" + names['net'] + "/transmitter/data", self.parent, interval)
|
||||||
dataEngines['system'].connectSource("network/interfaces/" + names['net'] + "/receiver/data", self.parent, interval)
|
dataEngines['system'].connectSource("network/interfaces/" + names['net'] + "/receiver/data", self.parent, interval)
|
||||||
if (bools['pkg'] > 0):
|
if (bools['pkg'] > 0):
|
||||||
dataEngines['ext'].connectSource("pkg", self.parent, interval)
|
dataEngines['ext'].connectSource("pkg", self.parent, 60*60*1000, Plasma.AlignToHour)
|
||||||
if (bools['player'] > 0):
|
if (bools['player'] > 0):
|
||||||
dataEngines['ext'].connectSource("player", self.parent, interval)
|
dataEngines['ext'].connectSource("player", self.parent, interval)
|
||||||
if (bools['ps'] > 0):
|
if (bools['ps'] > 0):
|
||||||
|
Loading…
Reference in New Issue
Block a user