Refactor for use with Hyprland

This commit is contained in:
Oliver Traber 2024-02-25 20:30:31 +01:00
parent 67f4db010d
commit e38ba9220b
Signed by: Bluemedia
GPG key ID: C0674B105057136C
26 changed files with 457 additions and 398 deletions

View file

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