Browse Source

update notification should be urgent

master
Von Random 5 years ago
parent
commit
d921f17f1c
  1. 2
      plugins/pacman.py

2
plugins/pacman.py

@ -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…
Cancel
Save