typo
This commit is contained in:
parent
16986713b4
commit
0af7ad3e0d
4
PKGBUILD
4
PKGBUILD
|
@ -1,6 +1,6 @@
|
|||
# Maintainer: Eric Lay <ericlaytm@gmail.com>
|
||||
pkgname=systrayupdater
|
||||
pkgver=0.1
|
||||
pkgver=r34.1698671
|
||||
pkgrel=1
|
||||
pkgdesc="PyQt5 system tray applet to notify of available updates"
|
||||
arch=('x86_64')
|
||||
|
@ -26,4 +26,4 @@ package() {
|
|||
install -Dm755 systrayUpdater -t "$pkgdir/usr/bin"
|
||||
install -Dm666 SysTrayUpdater.desktop -t "$pkgdir/usr/share/applications"
|
||||
install -Dm755 ./*.png systrayupdater.yml -t "$pkgdir/$HOME/.config/$pkgname"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,12 +17,12 @@ outputList = ""
|
|||
|
||||
# Use config.yml file to allow for compatibility with
|
||||
# most terminal emulators possible & custom icon / timer duration
|
||||
with open(path.expanduser("~/.config/systrayUpdater/systrayUpdater.yml")) as f:
|
||||
with open(path.expanduser("~/.config/systrayUpdater/systrayupdater.yml")) as f:
|
||||
conf = yaml.load(f, yaml.FullLoader)
|
||||
term = str(conf['terminal'])
|
||||
opt = str(conf['option'])
|
||||
wait = int(conf['timer']) * 60000
|
||||
icn = path.join(path.expanduser("~/.config/systrayUpdater/"), str(conf['icon']))
|
||||
icn = path.join(path.expanduser("~/.config/systrayupdater/"), str(conf['icon']))
|
||||
f.close()
|
||||
|
||||
# Run checkupdates command
|
||||
|
|
Loading…
Reference in New Issue