typo
This commit is contained in:
parent
16986713b4
commit
0af7ad3e0d
2
PKGBUILD
2
PKGBUILD
|
@ -1,6 +1,6 @@
|
||||||
# Maintainer: Eric Lay <ericlaytm@gmail.com>
|
# Maintainer: Eric Lay <ericlaytm@gmail.com>
|
||||||
pkgname=systrayupdater
|
pkgname=systrayupdater
|
||||||
pkgver=0.1
|
pkgver=r34.1698671
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="PyQt5 system tray applet to notify of available updates"
|
pkgdesc="PyQt5 system tray applet to notify of available updates"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
|
@ -17,12 +17,12 @@ outputList = ""
|
||||||
|
|
||||||
# Use config.yml file to allow for compatibility with
|
# Use config.yml file to allow for compatibility with
|
||||||
# most terminal emulators possible & custom icon / timer duration
|
# 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)
|
conf = yaml.load(f, yaml.FullLoader)
|
||||||
term = str(conf['terminal'])
|
term = str(conf['terminal'])
|
||||||
opt = str(conf['option'])
|
opt = str(conf['option'])
|
||||||
wait = int(conf['timer']) * 60000
|
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()
|
f.close()
|
||||||
|
|
||||||
# Run checkupdates command
|
# Run checkupdates command
|
||||||
|
|
Loading…
Reference in New Issue