Skip to content

Instantly share code, notes, and snippets.

@specter119
Last active November 11, 2019 11:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save specter119/49d9fbb74816f559b7a5d7eb4315f2f8 to your computer and use it in GitHub Desktop.
Save specter119/49d9fbb74816f559b7a5d7eb4315f2f8 to your computer and use it in GitHub Desktop.
papirus-icon-kde.hook should put in /usr/share/libalpm/hooks/, fix "gnome" not found.
[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = usr/share/icons/*Papirus*/index.theme
[Action]
Description = Remove unused theme name from papirus-icon-theme
When = PostTransaction
Exec = /bin/sh -c "/usr/bin/sed -i.orig '/Inherits/ s/gnome,\?//g' /usr/share/icons/{ePapirus,Papirus,Papirus-Light,Papirus-Dark}/index.theme"
NeedsTargets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment