#!/usr/bin/env bash

# omarchy:summary=Reload hyprland configuration (used by the Omarchy theme switching).

# hyprctl reaches Hyprland through HYPRLAND_INSTANCE_SIGNATURE. Under another
# compositor there is nothing to reload, and hyprctl need not be installed.
[[ -n ${HYPRLAND_INSTANCE_SIGNATURE:-} ]] || exit 0

hyprctl reload >/dev/null
