summarylogtreecommitdiffstats
path: root/99-gdm-use-materia-theme.hook
diff options
context:
space:
mode:
authorlelgenio2019-09-21 03:59:23 -0300
committerlelgenio2019-09-21 03:59:23 -0300
commit6f8a433a473f87e6a8876ed09f305d0b64d6ccfc (patch)
tree2bbbccd297ee1efb692dde97bd06b7b7cee3e49d /99-gdm-use-materia-theme.hook
downloadaur-6f8a433a473f87e6a8876ed09f305d0b64d6ccfc.tar.gz
first commit
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 00000000000..ba2b625c15c
--- /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