Closed destx0 closed 1 year ago
can you confirm that you can run other programs from your hyprland.conf ?
I also have a similar issue, it doesn't auto-start when added to Hyprland.conf
, however waybar
and hyprpaper
do. It works fine when ran from the terminal or from rofi -show run
, but not rofi -show drun
(this errors saying it can't find the file)
any ideas?
If you have ~/.cargo/bin in your PATH
I don't know why the programs aren't finding it. Maybe add /home/<user>/.cargo/bin/hypr-empty
in Hyprland.conf instead of just hypr-empty?
but not
rofi -show drun
(this errors saying it can't find the file)
Is the error from hypr-emty? if so can you send the backtrace?
For some reason that solves it! I don't know if its because of how I edited $PATH
(I just added an EXPORT
line to the end of my .bashrc
) or what but Hyprland seems to start hypr-empty
fine with the full path
I think that it may be that Hyprland has its own copy of $PATH
that it loads apps from (or it skips .bashrc
initialisation?) and that doesn't have /home/<user>/.cargo/bin
in its list
Anyways thank you for the solution :)
exec-once = hypr-empty in hyprland.conf doesnot work ..but if i do hypr-empty in terminal starts it