add script for forced-wayland firefox

you can set this e.g. as xdg-open target to correctly invoke wayland-
enabled firefox for programs which need `unset GDK_BACKEND`
master
lub 5 years ago
parent fad309bcd3
commit f38e811e2c

@ -0,0 +1,6 @@
#!/bin/sh
echo $@
real_firefox=$(which --skip-tilde firefox)
GDK_BACKEND=wayland "${real_firefox}" "$@"
Loading…
Cancel
Save