summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVon Random <von@vdrandom.org>2017-01-13 11:22:08 +0300
committerVon Random <von@vdrandom.org>2017-01-13 11:22:08 +0300
commitd921f17f1ca59fd91bc2d8f5c6a7aa016ea6388f (patch)
treebc8a0daae98f23a95d1a36e93a38007ffa56169a
parent47d9cf14dca75e28bcb90164ab93515a1e42c138 (diff)
update notification should be urgent
-rw-r--r--plugins/pacman.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/pacman.py b/plugins/pacman.py
index c6184f7..b6eba34 100644
--- a/plugins/pacman.py
+++ b/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")