polybar: add msg.sh for pacman hook
This commit is contained in:
parent
23966f151e
commit
a4af4eb308
2
os/+arch/.config/polybar/msg.sh
Executable file
2
os/+arch/.config/polybar/msg.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
echo hook:module/pkg1 >>/tmp/polybar_mqueue.*
|
|
@ -1,12 +1,10 @@
|
||||||
[Trigger]
|
[Trigger]
|
||||||
Operation=Install
|
Operation = Upgrade
|
||||||
Operation=Upgrade
|
Type = Package
|
||||||
Operation=Remove
|
Target = *
|
||||||
Type=Package
|
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue