Chromium: mejorar script
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
3bed8da97c
commit
5cc0c3a3cf
1 changed files with 2 additions and 1 deletions
|
@ -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*
|
||||
```
|
||||
|
|
Reference in a new issue