confOS/pacman.d/hooks/blackbox-shortcut.hook

11 lines
327 B
Text
Raw Normal View History

[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
2024-05-20 22:03:52 +02:00
Target = blackbox-terminal
[Action]
Description = Update BlackBox desktop entry on package upgrade
When = PostTransaction
2024-05-20 22:17:17 +02:00
Exec = /bin/sh -c 'sudo sed -i "s/Name\[fr\]=Boîte Noire/Name\[fr\]=Terminal/g" /usr/share/applications/com.raggesilver.BlackBox.desktop'