# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# laut ki.. wegen portal QT probleme
export QT_QPA_PLATFORM=xcb
export QT_QPA_PLATFORMTHEME=off
export GTK_USE_PORTAL=0


# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
	. "$HOME/.bashrc"
    fi
fi

# PATH: ~/bin und ~/.local/bin nur einmal eintragen (.bashrc macht dasselbe)
case ":$PATH:" in
    *":$HOME/bin:"*) ;;
    *) [ -d "$HOME/bin" ] && PATH="$HOME/bin:$PATH" ;;
esac
case ":$PATH:" in
    *":$HOME/.local/bin:"*) ;;
    *) [ -d "$HOME/.local/bin" ] && PATH="$HOME/.local/bin:$PATH" ;;
esac
export PATH
. "$HOME/.cargo/env"

# Helix: brew-runtime (queries/grammars); user-overlay at ~/.config/helix/runtime
export HELIX_RUNTIME="/home/linuxbrew/.linuxbrew/opt/helix/libexec/runtime"


# Added by Antigravity CLI installer
export PATH="/home/calmar/.local/bin:$PATH"
