This commit is contained in:
arcan1s 2014-09-21 21:50:03 +04:00
parent 1f9e8221f0
commit fe822518d5
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ optdepends=("amarok: for music player monitor"
makedepends=('automoc4' 'cmake')
source=(https://github.com/arcan1s/awesome-widgets/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
install=${pkgname}.install
md5sums=('706c71a403b6dc058de9de31c9c2e67e')
md5sums=('21a3de6376bb7ebb779bfc927e98eb91')
backup=('usr/share/config/extsysmon.conf')
prepare() {

View File

@ -324,7 +324,7 @@ QStringList AwesomeWidget::getKeys()
allKeys.append(QString("netdev"));
// battery
allKeys.append(QString("ac"));
for (int i=0; i<counts[QString("bat")]; i++)
for (int i=counts[QString("bat")]-1; i>=0; i--)
allKeys.append(QString("bat") + QString::number(i));
allKeys.append(QString("bat"));
// player