Last active
June 3, 2023 10:12
-
-
Save looselyrigorous/a1aa931ce48627cc39daccc9253b30c7 to your computer and use it in GitHub Desktop.
Pacman hook to replace GDM shell theme with Materia-compact
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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
[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