os/arch: add pacman hooks

This commit is contained in:
Henrik Lissner 2016-11-03 19:04:12 +01:00
parent b0a0a9b8d1
commit 5c194dc643
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
Target=*
[Action]
Description="Updating lemonbar updates segemnt"
When=PostTransaction
Exec="/home/hlissner/.config/panel/lemons/updates.sh"

View file

@ -0,0 +1,11 @@
[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
Target=nvidia
[Action]
Depends=mkinitcpio
When=PostTransaction
Exec="/usr/bin/mkinitcpio -p linux"