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]
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue