confOS/pacman.d/hooks/gnome-terminal-shortcut.hook

11 lines
326 B
Text
Raw Normal View History

[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = gnome-terminal
[Action]
Description = Update Gnome Terminal 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\]=Terminal/Name\[fr\]=Gnome Terminal/g" /usr/share/applications/org.gnome.Terminal.desktop'