summarylogtreecommitdiffstats
path: root/99-gdm-use-materia-theme.hook
diff options
context:
space:
mode:
Diffstat (limited to '99-gdm-use-materia-theme.hook')
-rw-r--r--99-gdm-use-materia-theme.hook13
1 files changed, 13 insertions, 0 deletions
diff --git a/99-gdm-use-materia-theme.hook b/99-gdm-use-materia-theme.hook
new file mode 100644
index 000000000000..ba2b625c15ca
--- /dev/null
+++ b/99-gdm-use-materia-theme.hook
@@ -0,0 +1,13 @@
+[Trigger]
+Operation = Upgrade
+Operation = Install
+Type = Package
+Target = gnome-shell
+Target = materia-custom-accent
+
+[Action]
+Description = Replace GDM theme with Materia with custom accent
+When = PostTransaction
+Exec = /usr/bin/sh -c "cd /usr/share/themes/materia-custom-accent/gnome-shell && glib-compile-resources --target=/usr/share/gnome-shell/gnome-shell-theme.gresource gnome-shell-theme.gresource.xml"
+Depends = bash
+Depends = glib2