mirror of
https://github.com/ksyasuda/rice.git
synced 2024-10-28 09:04:10 -07:00
add polybar hook
This commit is contained in:
parent
5f2fc5d2b1
commit
5061945a2e
11
pacman-hooks/polybar.hook
Normal file
11
pacman-hooks/polybar.hook
Normal file
@ -0,0 +1,11 @@
|
||||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Operation = Remove
|
||||
Type = Package
|
||||
Target = *
|
||||
|
||||
[Action]
|
||||
Description = Updating Polybar package count...
|
||||
Depends = polybar
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/bash -c '/usr/bin/polybar-msg hook package-updates 1 &>/dev/null || true'
|
Loading…
Reference in New Issue
Block a user