confOS/pacman.d/hooks/gnome-terminal-shortcut.hook
2024-06-22 11:39:56 +02:00

10 lines
343 B
Text

[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = usr/share/applications/org.gnome.Terminal.desktop
[Action]
Description = Update Gnome Terminal desktop entry
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/sed -i "s/Name\[fr\]=Terminal/Name\[fr\]=Gnome Terminal/g" /usr/share/applications/org.gnome.Terminal.desktop'