I am using wofi
on an arch-linux
system with swaywm
.
I want to use the Wofi drun
menu to launch the Brave Browser. Sadly Brave doesn't support wayland
by default so I have to add these parameters to make it work
--enable-features=UseOzonePlatform --ozone-platform=wayland
Is there a way to configure wofi
to call
/usr/bin/brave --enable-features=UseOzonePlatform --ozone-platform=wayland
instead of just /usr/bin/brave
?
I have found a fix but sadly not how to call custom parameters with wofi. For sway if you want to enable software to run nativly on wayland you need to set these enviroment variables. This allows Brave to run fine without having to use parameters.
NOTE: You don't need all these Parameters just to run Brave but with these you will be able to run almost every software naively.