mirror of
https://github.com/nwg-piotr/nwg-shell.git
synced 2024-10-27 01:01:39 +03:00
delay sending notification
This commit is contained in:
parent
92cfa75f5b
commit
8507e422f2
@ -61,7 +61,7 @@ def main():
|
||||
|
||||
if last_upgrade is not None and ver is not None:
|
||||
if last_upgrade < ver and __version__ in need_upgrade:
|
||||
time.sleep(3)
|
||||
time.sleep(5)
|
||||
subprocess.Popen(
|
||||
'exec {}'.format("notify-send -i /usr/share/pixmaps/nwg-shell.svg 'Upgrade to nwg-shell v{} "
|
||||
"available' 'Run \"nwg-shell-installer -u\" in terminal.'".format(__version__)),
|
||||
|
Loading…
Reference in New Issue
Block a user