mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-01-25 04:27:54 +01:00
add chromium about:apps to desktop
This commit is contained in:
parent
3992951a7e
commit
7bccc827de
7
install
7
install
@ -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/
|
||||||
|
|||||||
10
local/share/applications/chromium-apps.desktop
Executable file
10
local/share/applications/chromium-apps.desktop
Executable 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
|
||||||
Loading…
x
Reference in New Issue
Block a user