aboutsummaryrefslogtreecommitdiffstats
path: root/gtk3/gtk-update-icon-cache.hook
diff options
context:
space:
mode:
Diffstat (limited to 'gtk3/gtk-update-icon-cache.hook')
-rw-r--r--gtk3/gtk-update-icon-cache.hook13
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk3/gtk-update-icon-cache.hook b/gtk3/gtk-update-icon-cache.hook
new file mode 100644
index 0000000..fca3fdc
--- /dev/null
+++ b/gtk3/gtk-update-icon-cache.hook
@@ -0,0 +1,13 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/icons/*/
+Target = !usr/share/icons/*/?*
+
+[Action]
+Description = Updating icon theme caches...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/gtk-update-icon-cache
+NeedsTargets