# ~/.config/uwsm/env
#
# This file is sourced by UWSM (your session/environment manager) and sets
# environment variables used by Hyprland/Wayland apps.
#
# What this does (for your Omarchy customizations):
# - Ensures Omarchy’s binaries are available in PATH for menu helpers like:
#     omarchy-menu, omarchy-launch-*, omarchy-cmd-*
# - Ensures ~/.local/bin is also in PATH (where your wrapper scripts live)
#
# Other settings:
# - Sets cursor theme + size
# - Sources UWSM defaults (terminal/editor)
# - Optionally activates `mise` if Omarchy’s present-command wrapper says it exists

# Changes require a relaunch of Hyprland to take effect.

# Ensure Omarchy bins are in the path
export OMARCHY_PATH=$HOME/.local/share/omarchy
export PATH=$HOME/.local/bin:$OMARCHY_PATH/bin:$PATH
export XCURSOR_THEME=Bibata-Modern-Ice
export XCURSOR_SIZE=24

# Set default terminal and editor
source ~/.config/uwsm/default

# Activate mise if present on the system
omarchy-cmd-present mise && eval "$(mise activate bash)"

