add chromium about:apps to desktop

This commit is contained in:
Aminda Suomalainen 2026-01-22 07:38:38 +02:00
parent 3992951a7e
commit 7bccc827de
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 15 additions and 4 deletions

View File

@ -184,7 +184,7 @@ if [ "$(id -u)" == "0" ]; then
# Desktop entries # Desktop entries
mkdir -vp /usr/local/share/applications/ mkdir -vp /usr/local/share/applications/
# These are bound to exist on my systems # These are bound to exist on my systems
cp -v local/share/applications/{a-signal,a-syncplay,plasma-update,a-firefox-cups,a-firefox,a-chromium}.desktop /usr/local/share/applications/ cp -v local/share/applications/{a-signal,a-syncplay,plasma-update,a-firefox-cups,a-firefox,a-chromium,chromium-apps}.desktop /usr/local/share/applications/
# If Steam is installed, chances are these work # If Steam is installed, chances are these work
if [ -f /var/lib/flatpak/exports/bin/com.valvesoftware.Steam ]; then if [ -f /var/lib/flatpak/exports/bin/com.valvesoftware.Steam ]; then
cp -v local/share/applications/{a-steam,com.valvesoftware.Steam,flatpak-steam-bigpicture,flatpak-steam-tray}.desktop /usr/local/share/applications/ cp -v local/share/applications/{a-steam,com.valvesoftware.Steam,flatpak-steam-bigpicture,flatpak-steam-tray}.desktop /usr/local/share/applications/
@ -461,9 +461,10 @@ else
fi fi
# scripts repo # scripts repo
ln -nsfv /usr/local/share/applications/a-firefox.desktop $DESKTOP/ ln -nsfv /usr/local/share/applications/a-firefox.desktop $DESKTOP/
#if [ -f "/usr/bin/chromium-browser" ]; then if [ -f "/usr/bin/chromium-browser" ]; then
# ln -nsfv /usr/local/share/applications/a-chromium.desktop $DESKTOP/ #ln -nsfv /usr/local/share/applications/a-chromium.desktop $DESKTOP/
#fi ln -nsfv /usr/local/share/applications/chromium-apps.desktop $DESKTOP/
fi
if [ -f "/usr/bin/google-chrome-stable" ]; then if [ -f "/usr/bin/google-chrome-stable" ]; then
ln -nsfv /usr/local/share/applications/a-google-chrome.desktop $DESKTOP/ ln -nsfv /usr/local/share/applications/a-google-chrome.desktop $DESKTOP/
ln -nsfv /usr/local/share/applications/chrome-apps.desktop $DESKTOP/ ln -nsfv /usr/local/share/applications/chrome-apps.desktop $DESKTOP/

View File

@ -0,0 +1,10 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=PWAs from Chromium
Name[fi]=PWAt Chromiumilla
Exec=chromium --profile-directory=Default --app-id=gdaidcenalcnoknjmiehdkgkcpndkigh
Icon=chrome-gdaidcenalcnoknjmiehdkgkcpndkigh-Default
StartupWMClass=crx_gdaidcenalcnoknjmiehdkgkcpndkigh