I installed hyprland and it crashes when i try to open alacritty with keybind. It does not crash when i add "exec-once alacritty" in config and alacritty opens. but keybind makes it to crash. I searched online but no success. I also have pipewire , pipewire-pulse, wireplumber installed and i copied files to .config and add created a start script from which tries to run hyprland and pipewire.
however, when i try to 1st launch pipewire using script then it shows error that DISPLAY variable is not set as that time hyprland is not started yet. but when i 1st try to start hyprland and then pipewire using script then waybar is also not shown.
i just change position of hyprland execution command and pipewire exec command in script. please help.
Install another terminal like foot, kitty or xfce4- terminal and check if they work properly. For pipewire no need to copy any configs. Just start pipewire, wireplumber and pipewire-pulse with exec-once in hyprland.conf.
You can start hyprland from tty as:
dbus-run-session Hyprland
Try adding a slight delay before launching Alacritty with the keybind or adjust the order of execution in the script to ensure everything starts properly.