diff --git a/os/arch/pacman.d/hooks/lemonbar.hook b/os/arch/pacman.d/hooks/lemonbar.hook new file mode 100644 index 00000000..b751f54b --- /dev/null +++ b/os/arch/pacman.d/hooks/lemonbar.hook @@ -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" + diff --git a/os/arch/pacman.d/hooks/nvidia.hook b/os/arch/pacman.d/hooks/nvidia.hook new file mode 100644 index 00000000..3633560d --- /dev/null +++ b/os/arch/pacman.d/hooks/nvidia.hook @@ -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"