os/arch: add pacman hooks
This commit is contained in:
parent
b0a0a9b8d1
commit
5c194dc643
12
os/arch/pacman.d/hooks/lemonbar.hook
Normal file
12
os/arch/pacman.d/hooks/lemonbar.hook
Normal 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"
|
||||||
|
|
11
os/arch/pacman.d/hooks/nvidia.hook
Normal file
11
os/arch/pacman.d/hooks/nvidia.hook
Normal 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"
|
Loading…
Reference in a new issue