Chromium: mejorar script
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Cat /dev/Nulo 2024-02-08 17:46:42 -03:00
parent 3bed8da97c
commit 5cc0c3a3cf

View file

@ -4,6 +4,7 @@ El StartupWMClass es incorrecto, el correcto es igual al Icon. Entonces copiamos
```fish
cd ~/.local/share/applications/
mkdir bak && cp *chrome* bak/
for i in *chrome*; do cp $i $i.bak; done
# es idempotente :)
sed -Ei 's/StartupWMClass=(.*)//g' *chrome* && sed -Ei 's/Icon=(.*)/Icon=\\1\nStartupWMClass=\\1/g' *chrome*
```