Update bash_profile

This commit is contained in:
Oliver Traber 2024-02-25 22:33:02 +01:00
parent 426c195d50
commit 13183d32ae
Signed by: Bluemedia
GPG key ID: C0674B105057136C

View file

@ -13,10 +13,10 @@ fi
# Fix gpg for git commit signing # Fix gpg for git commit signing
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
# Autostart sway at login # Autostart Hyprland at login
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
{% if isVm | bool %} {% if isVm | bool %}
export WLR_NO_HARDWARE_CURSORS=1 export WLR_NO_HARDWARE_CURSORS=1
{% endif %} {% endif %}
exec sway exec Hyprland
fi fi