mirror of
https://github.com/basecamp/omarchy.git
synced 2026-01-09 05:10:54 +08:00
21 lines
765 B
Bash
Executable File
21 lines
765 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Ensure all default .desktop, web apps, and TUIs are installed.
|
|
|
|
# Copy and sync icon files
|
|
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/
|
|
|
|
# Refresh the webapps and TUIs
|
|
bash $OMARCHY_PATH/install/packaging/icons.sh
|
|
bash $OMARCHY_PATH/install/packaging/webapps.sh
|
|
bash $OMARCHY_PATH/install/packaging/tuis.sh
|
|
|
|
update-desktop-database ~/.local/share/applications
|