use Hyprland as first option with alacritty and master layout

This commit is contained in:
2024-09-09 21:45:56 +02:00
parent 9e9ccd0fde
commit 00a77bf58a
2 changed files with 8 additions and 8 deletions

View File

@ -29,10 +29,10 @@ export PATH
# start X or Hyprland at login
if [[ -z "$DISPLAY" && -z "$WAYLAND_DISPLAY" && "$XDG_VTNR" -eq 1 ]]; then
if which river > /dev/null && [ -d ~/.config/river ]; then
exec river
elif which Hyprland > /dev/null && [ -d ~/.config/hypr ]; then
if which Hyprland > /dev/null && [ -d ~/.config/hypr ]; then
exec Hyprland
elif which river > /dev/null && [ -d ~/.config/river ]; then
exec river
elif which /usr/bin/sx > /dev/null; then
exec /usr/bin/sx ~/.xsession
fi