mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-07-27 00:47:20 +02:00
install: begin ensuring a-firefox.desktop has an icon
This commit is contained in:
parent
17f469fa41
commit
f08a1f8a7c
@ -72,8 +72,6 @@ fi
|
||||
# Desktop menu integration
|
||||
mkdir -p ~/.local/share/applications
|
||||
ln -nsfv ~/.shell-things/local/share/applications ~/.local/share/applications/shell-things
|
||||
mkdir -p ~/.local/share/icons/hicolor/128x128/apps/
|
||||
ln -nsfv ~/.local/firefox/browser/chrome/icons/default/default128.png ~/.local/share/icons/hicolor/128x128/apps/a-firefox.png
|
||||
|
||||
# Update desktop menu entries
|
||||
if hash update-desktop-database 2>/dev/null; then
|
||||
|
8
install
8
install
@ -290,6 +290,14 @@ else
|
||||
ln -nsfv /var/lib/flatpak/exports/share/applications/org.torproject.torbrowser-launcher.desktop $DESKTOP/
|
||||
fi
|
||||
|
||||
# Ensure a-firefox.desktop has an icon
|
||||
mkdir -p $HOME/.local/share/icons/hicolor/128x128/apps/
|
||||
if [ -f "$HOME/.local/firefox/browser/chrome/icons/default/default128.png" ]; then
|
||||
ln -nsfv $HOME/.local/firefox/browser/chrome/icons/default/default128.png ~/.local/share/icons/hicolor/128x128/apps/a-firefox.png
|
||||
elif [ -f "/usr/share/icons/HighContrast/256x256/apps/firefox.png" ]; then
|
||||
ln -nsfv /usr/share/icons/HighContrast/256x256/apps/firefox.png ~/.local/share/icons/hicolor/128x128/apps/a-firefox.png
|
||||
fi
|
||||
|
||||
# Remove dead symlinks
|
||||
if hash symlinks 2> /dev/null; then
|
||||
symlinks -d $DESKTOP/
|
||||
|
Loading…
x
Reference in New Issue
Block a user