update notification should be urgent
This commit is contained in:
parent
47d9cf14dc
commit
d921f17f1c
1 changed files with 2 additions and 0 deletions
|
@ -12,8 +12,10 @@ class PluginThread(plugins.PluginThreadCommon):
|
|||
self.status['full_text'] = 'UPD: ' + str(count)
|
||||
if count > 0:
|
||||
self.hide = False
|
||||
self.status['urgent'] = True
|
||||
else:
|
||||
self.hide = True
|
||||
self.status['urgent'] = False
|
||||
|
||||
def main(self):
|
||||
updates = subprocess.getoutput('/usr/bin/pacman -Sup').count("\n")
|
||||
|
|
Loading…
Reference in a new issue