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]
Operation=Install
Operation = Upgrade
Operation=Remove
Type = Package
Target = *
[Action]
Description = "Updating polybar"
When = PostTransaction
Exec="/usr/bin/polybar-msg hook pkg 1"
Exec = /home/hlissner/.config/polybar/msg.sh