polybar: add msg.sh for pacman hook

This commit is contained in:
Henrik Lissner 2017-05-25 11:45:16 +02:00
parent 23966f151e
commit a4af4eb308
2 changed files with 8 additions and 8 deletions

View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
echo hook:module/pkg1 >>/tmp/polybar_mqueue.*

View file

@ -1,12 +1,10 @@
[Trigger] [Trigger]
Operation=Install
Operation = Upgrade Operation = Upgrade
Operation=Remove
Type = Package Type = Package
Target = * Target = *
[Action] [Action]
Description = "Updating polybar" Description = "Updating polybar"
When = PostTransaction When = PostTransaction
Exec="/usr/bin/polybar-msg hook pkg 1" Exec = /home/hlissner/.config/polybar/msg.sh