mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
16 lines
557 B
Bash
16 lines
557 B
Bash
OMARCHY_DESCRIPTION="Icons"
|
|
|
|
omarchy_install() {
|
|
# Copy all bundled icons to the applications/icons directory
|
|
ICON_DIR="$HOME/.local/share/applications/icons"
|
|
mkdir -p "$ICON_DIR"
|
|
cp ~/.local/share/omarchy/applications/icons/*.png "$ICON_DIR/"
|
|
}
|
|
|
|
omarchy_verify() {
|
|
[[ -d "$HOME/.local/share/applications/icons" ]] || add_error "Icons directory missing"
|
|
|
|
local icon_count=$(find "$HOME/.local/share/applications/icons" -name "*.png" 2>/dev/null | wc -l)
|
|
[[ $icon_count -gt 0 ]] || add_error "No icons found in icons directory"
|
|
}
|