waycast/.envrc

20 lines
750 B
Bash

use flake
# Environment variables for GTK4/Wayland
export GDK_BACKEND=wayland
# Show development environment info (only once per shell session)
if [[ -z "$WAYCAST_DEV_SHOWN" ]]; then
export WAYCAST_DEV_SHOWN=1
echo "=== Waycast Development Environment ==="
echo "gtk4: $(pkg-config --modversion gtk4 2>/dev/null || echo missing)"
echo "gtk4-layer-shell: $(pkg-config --modversion gtk4-layer-shell-0 2>/dev/null || echo missing)"
echo "wayland-client: $(pkg-config --modversion wayland-client 2>/dev/null || echo missing)"
echo ""
echo "Environment:"
echo " XDG_SESSION_TYPE=$XDG_SESSION_TYPE"
echo " WAYLAND_DISPLAY=$WAYLAND_DISPLAY"
echo " GDK_BACKEND=$GDK_BACKEND"
echo ""
echo "Ready for Waycast development! 🚀"
fi