confOS/pacman.d/hooks/vesktop.hook

10 lines
314 B
Text

[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = /usr/share/applications/vesktop.desktop
[Action]
Description = Update Vesktop desktop entry on package upgrade
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/sed -i "s/Name=Vesktop/Name=Discord/g" /usr/share/applications/vesktop.desktop'