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

log "Installing Rnote (Flatpak)..."
ensure_flatpak
sudo flatpak install --system -y flathub com.github.flxzt.rnote
apply_flatpak_theme "com.github.flxzt.rnote"

log "Rnote installed."
