WIP
This commit is contained in:
parent
b52ca31e17
commit
d070416357
|
@ -2,8 +2,8 @@
|
||||||
Version=1.0
|
Version=1.0
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=SysTrayUpdater
|
Name=SysTrayUpdater
|
||||||
Exec=/home/ez/Git/systrayUpdater/systrayUpdater.py
|
Exec=/usr/bin/systrayUpdater
|
||||||
Icon=/home/ez/Git/systrayUpdater/blue-logo.png
|
Icon=$HOME/.config/systrayUpdater/blue-logo.png
|
||||||
Terminal=false
|
Terminal=false
|
||||||
StartupNotify=false
|
StartupNotify=false
|
||||||
Categories=Utility;
|
Categories=Utility;
|
||||||
|
|
|
@ -12,7 +12,7 @@ from PyQt5.QtWidgets import *
|
||||||
avail = ""
|
avail = ""
|
||||||
|
|
||||||
# Use config.yml file to allow for compatibility with
|
# Use config.yml file to allow for compatibility with
|
||||||
# most terminal emulators possible & custom icon
|
# 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'])
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
# ----------------#
|
||||||
|
# systrayUpdater #
|
||||||
|
# ----------------#
|
||||||
|
|
||||||
terminal: terminator
|
terminal: terminator
|
||||||
option: -x
|
option: -x
|
||||||
|
# timer value is set to minutes
|
||||||
|
timer: 10
|
||||||
icon: white-logo.png
|
icon: white-logo.png
|
||||||
|
|
Loading…
Reference in New Issue