mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
25 lines
948 B
Bash
Executable File
25 lines
948 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Ensure all default .desktop, web apps, TUIs, and npx wrappers are installed.
|
|
|
|
mkdir -p ~/.local/share/icons/hicolor/48x48/apps/
|
|
cp ~/.local/share/omarchy/applications/icons/*.png ~/.local/share/icons/hicolor/48x48/apps/
|
|
gtk-update-icon-cache ~/.local/share/icons/hicolor &>/dev/null
|
|
|
|
# Copy .desktop declarations
|
|
mkdir -p ~/.local/share/applications
|
|
cp ~/.local/share/omarchy/applications/*.desktop ~/.local/share/applications/
|
|
cp ~/.local/share/omarchy/applications/hidden/*.desktop ~/.local/share/applications/
|
|
|
|
if omarchy-cmd-present foot; then
|
|
cp ~/.local/share/omarchy/default/foot/foot.desktop ~/.local/share/applications/
|
|
fi
|
|
|
|
# Refresh the webapps, TUIs, and npx wrappers
|
|
bash $OMARCHY_PATH/install/packaging/icons.sh
|
|
bash $OMARCHY_PATH/install/packaging/webapps.sh
|
|
bash $OMARCHY_PATH/install/packaging/tuis.sh
|
|
bash $OMARCHY_PATH/install/packaging/npx.sh
|
|
|
|
update-desktop-database ~/.local/share/applications
|