mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 15:37:23 +00:00
release 2.0.2
This commit is contained in:
parent
17bef06c98
commit
84b93098f2
@ -1,6 +1,7 @@
|
|||||||
Ver.2.0.2:
|
Ver.2.0.2:
|
||||||
+ add $fan* tags
|
+ add $fan* tags
|
||||||
+ add Chinese translation (thanks to @Lemueler)
|
+ add Chinese translation (thanks to @Lemueler)
|
||||||
|
+ add net devices checking is it p2p device
|
||||||
- remove ps stats from notification
|
- remove ps stats from notification
|
||||||
* yet another fix cpu* and cpucl*
|
* yet another fix cpu* and cpucl*
|
||||||
* rewrite DP configuration interface
|
* rewrite DP configuration interface
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
Вер.2.0.2:
|
Вер.2.0.2:
|
||||||
+ добавлены теги $fan*
|
+ добавлены теги $fan*
|
||||||
+ добавлен китайский перевод (спасибо @Lemueler)
|
+ добавлен китайский перевод (спасибо @Lemueler)
|
||||||
|
+ добавлена проверка сетевых устройств на p2p
|
||||||
- удалено ps stats из уведомлений
|
- удалено ps stats из уведомлений
|
||||||
* еще один фикс тегов cpu* и cpucl
|
* еще один фикс тегов cpu* и cpucl
|
||||||
* переписан конфигурационный интерфейс DP
|
* переписан конфигурационный интерфейс DP
|
||||||
|
4
PKGBUILD
4
PKGBUILD
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgname=kdeplasma-applets-awesome-widgets
|
pkgname=kdeplasma-applets-awesome-widgets
|
||||||
_pkgname=awesome-widgets
|
_pkgname=awesome-widgets
|
||||||
pkgver=2.0.1
|
pkgver=2.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Collection of minimalistic Plasmoids which look like Awesome WM widgets (ex-PyTextMonitor)"
|
pkgdesc="Collection of minimalistic Plasmoids which look like Awesome WM widgets (ex-PyTextMonitor)"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -19,7 +19,7 @@ optdepends=("amarok: for music player monitor"
|
|||||||
makedepends=('automoc4' 'cmake')
|
makedepends=('automoc4' 'cmake')
|
||||||
source=(https://github.com/arcan1s/awesome-widgets/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
|
source=(https://github.com/arcan1s/awesome-widgets/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
|
||||||
install=${pkgname}.install
|
install=${pkgname}.install
|
||||||
md5sums=('3ffa5c0456ee124900373f106c2649cd')
|
md5sums=('6c1c66fc24fe8efe273367351e3d589b')
|
||||||
backup=('usr/share/config/extsysmon.conf')
|
backup=('usr/share/config/extsysmon.conf')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -98,7 +98,8 @@ QString AwesomeWidget::getNetworkDevice()
|
|||||||
QList<QNetworkInterface> rawInterfaceList = QNetworkInterface::allInterfaces();
|
QList<QNetworkInterface> rawInterfaceList = QNetworkInterface::allInterfaces();
|
||||||
for (int i=0; i<rawInterfaceList.count(); i++)
|
for (int i=0; i<rawInterfaceList.count(); i++)
|
||||||
if ((rawInterfaceList[i].flags().testFlag(QNetworkInterface::IsUp)) &&
|
if ((rawInterfaceList[i].flags().testFlag(QNetworkInterface::IsUp)) &&
|
||||||
(!rawInterfaceList[i].flags().testFlag(QNetworkInterface::IsLoopBack)))
|
(!rawInterfaceList[i].flags().testFlag(QNetworkInterface::IsLoopBack)) &&
|
||||||
|
(!rawInterfaceList[i].flags().testFlag(QNetworkInterface::IsPointToPoint)))
|
||||||
device = rawInterfaceList[i].name();
|
device = rawInterfaceList[i].name();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user