Skip to content

Instantly share code, notes, and snippets.

@looselyrigorous
Last active June 3, 2023 10:12
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save looselyrigorous/a1aa931ce48627cc39daccc9253b30c7 to your computer and use it in GitHub Desktop.
Save looselyrigorous/a1aa931ce48627cc39daccc9253b30c7 to your computer and use it in GitHub Desktop.
Pacman hook to replace GDM shell theme with Materia-compact
[Trigger]
Operation = Upgrade
Type = Package
Target = gnome-shell
[Action]
Description = Replace GDM theme with Materia-compact
When = PostTransaction
Exec = /usr/bin/sh -c "cd /usr/share/themes/Materia-compact/gnome-shell && glib-compile-resources --target=/usr/share/gnome-shell/gnome-shell-theme.gresource gnome-shell-theme.gresource.xml"
Depends = materia-gtk-theme
Depends = bash
Depends = glib2
@Alejandro3720
Copy link

[Trigger]
Operation = Upgrade
Type = Package
Target = gnome-shell

[Action]
Description = Replace GDM theme with Materia-compact
When = PostTransaction
Exec = /usr/bin/sh -c "cd /usr/share/themes/Materia-compact/gnome-shell && glib-compile-resources --target=/usr/share/gnome-shell/gnome-shell-theme.gresource gnome-shell-theme.gresource.xml"
Depends = materia-gtk-theme
Depends = bash
Depends = glib2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment