This commit is contained in:
airclay 2021-09-04 17:00:54 -05:00
parent b52ca31e17
commit d070416357
3 changed files with 9 additions and 3 deletions

View File

@ -2,8 +2,8 @@
Version=1.0
Type=Application
Name=SysTrayUpdater
Exec=/home/ez/Git/systrayUpdater/systrayUpdater.py
Icon=/home/ez/Git/systrayUpdater/blue-logo.png
Exec=/usr/bin/systrayUpdater
Icon=$HOME/.config/systrayUpdater/blue-logo.png
Terminal=false
StartupNotify=false
Categories=Utility;

2
systrayUpdater.py Executable file → Normal file
View File

@ -12,7 +12,7 @@ from PyQt5.QtWidgets import *
avail = ""
# 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:
conf = yaml.load(f, yaml.FullLoader)
term = str(conf['terminal'])

View File

@ -1,3 +1,9 @@
# ----------------#
# systrayUpdater #
# ----------------#
terminal: terminator
option: -x
# timer value is set to minutes
timer: 10
icon: white-logo.png