From 5cc0c3a3cf90ffff8b48c0fbcc44d66ebe80c2de Mon Sep 17 00:00:00 2001 From: Nulo Date: Thu, 8 Feb 2024 17:46:42 -0300 Subject: [PATCH] Chromium: mejorar script --- x/Chromium.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x/Chromium.md b/x/Chromium.md index 4f8d6c2..1a6896f 100644 --- a/x/Chromium.md +++ b/x/Chromium.md @@ -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* ```