#!/bin/bash
set -euo pipefail
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"

log "Installing Obsidian (Flatpak)..."
ensure_flatpak
sudo flatpak install --system -y flathub md.obsidian.Obsidian
apply_flatpak_theme "md.obsidian.Obsidian"

log "Obsidian installed."
