confOS/pacman.d/hooks/vesktop.hook
2024-06-21 21:43:14 +02:00

10 lines
311 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 'sudo sed -i "s/Name=Vesktop/NName=Discord/g" /usr/share/applications/vesktop.desktop'