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 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;

2
systrayUpdater.py Executable file → Normal file
View File

@ -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'])

View File

@ -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