diff --git a/SysTrayUpdater.desktop b/SysTrayUpdater.desktop index b10cac8..8952879 100644 --- a/SysTrayUpdater.desktop +++ b/SysTrayUpdater.desktop @@ -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; diff --git a/systrayUpdater.py b/systrayUpdater.py old mode 100755 new mode 100644 index eeb45c3..c90e466 --- a/systrayUpdater.py +++ b/systrayUpdater.py @@ -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']) diff --git a/systrayupdater.yml b/systrayupdater.yml index 1dac1f4..800c3b4 100644 --- a/systrayupdater.yml +++ b/systrayupdater.yml @@ -1,3 +1,9 @@ +# ----------------# +# systrayUpdater # +# ----------------# + terminal: terminator option: -x +# timer value is set to minutes +timer: 10 icon: white-logo.png