#!/usr/bin/env bash

# omarchy:summary=Install Emacs from Debian

# Based: Debian's emacs in place of the omarchy-emacs AUR package, which only
# Arch builds. Its theme and font integration stay with that package.
echo "Installing Emacs..."
omarchy-pkg-add emacs || exit 1

# emacsclient opens a frame on the running daemon, not a second Emacs
setsid uwsm-app -- gtk-launch emacsclient >/dev/null 2>&1 &
