update README.md and check_dependencies.sh, use Hyprland without path

This commit is contained in:
2024-06-29 18:12:34 +02:00
parent 30793b5a46
commit 728b00c2ca
3 changed files with 78 additions and 35 deletions

View File

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