From 7c224de6c6da313bb58c6074381fa2484ba675c7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 18 Dec 2017 01:14:27 -0500 Subject: [PATCH] base/arch-desktop: reformat + fix pacman hooks --- base/arch-desktop/etc/pacman/nvidia.hook | 16 ++++++++-------- base/arch-desktop/etc/pacman/polybar.hook | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/base/arch-desktop/etc/pacman/nvidia.hook b/base/arch-desktop/etc/pacman/nvidia.hook index 3633560d..fa921667 100644 --- a/base/arch-desktop/etc/pacman/nvidia.hook +++ b/base/arch-desktop/etc/pacman/nvidia.hook @@ -1,11 +1,11 @@ [Trigger] -Operation=Install -Operation=Upgrade -Operation=Remove -Type=Package -Target=nvidia +Operation = Install +Operation = Upgrade +Operation = Remove +Type = Package +Target = nvidia [Action] -Depends=mkinitcpio -When=PostTransaction -Exec="/usr/bin/mkinitcpio -p linux" +Depends = mkinitcpio +When = PostTransaction +Exec = /usr/bin/mkinitcpio -p linux diff --git a/base/arch-desktop/etc/pacman/polybar.hook b/base/arch-desktop/etc/pacman/polybar.hook index 46bc771f..1a3d3a34 100644 --- a/base/arch-desktop/etc/pacman/polybar.hook +++ b/base/arch-desktop/etc/pacman/polybar.hook @@ -6,5 +6,5 @@ Target = * [Action] Description = "Updating polybar" When = PostTransaction -Exec = /home/hlissner/.config/polybar/msg.sh +Exec = /usr/bin/polybar-msg hook pkg 1