From f38e811e2cbb8473994c7aa1ae7d7b20163e5548 Mon Sep 17 00:00:00 2001 From: lub Date: Sat, 16 May 2020 21:32:58 +0200 Subject: [PATCH] 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` --- dotfiles/bin/.bin/firefox | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 dotfiles/bin/.bin/firefox diff --git a/dotfiles/bin/.bin/firefox b/dotfiles/bin/.bin/firefox new file mode 100755 index 0000000..d547682 --- /dev/null +++ b/dotfiles/bin/.bin/firefox @@ -0,0 +1,6 @@ +#!/bin/sh +echo $@ + +real_firefox=$(which --skip-tilde firefox) + +GDK_BACKEND=wayland "${real_firefox}" "$@"