diff --git a/dotfiles/bash/.bashrc b/dotfiles/bash/.bashrc index 278505c..cd8ac96 100644 --- a/dotfiles/bash/.bashrc +++ b/dotfiles/bash/.bashrc @@ -20,7 +20,7 @@ fi # enable wayland export QT_QPA_PLATFORM=wayland-egl -export GDK_BACKEND=wayland +export MOZ_ENABLE_WAYLAND=1 function q1 { echo 'Important and Urgent' diff --git a/dotfiles/bin/.bin/code b/dotfiles/bin/.bin/code deleted file mode 120000 index 9fb7ce9..0000000 --- a/dotfiles/bin/.bin/code +++ /dev/null @@ -1 +0,0 @@ -disable_wayland \ No newline at end of file diff --git a/dotfiles/bin/.bin/disable_wayland b/dotfiles/bin/.bin/disable_wayland deleted file mode 100755 index c50ba8d..0000000 --- a/dotfiles/bin/.bin/disable_wayland +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# links to this script disable wayland backends -# to workaround wayland incompatibilities - -unset GDK_BACKEND -unset QT_QPA_PLATFORM - -# name of the link that was called -called_script=$(basename "$0") - -real_bin=$(which --skip-tilde "$called_script") -"${real_bin}" "$@" \ No newline at end of file diff --git a/dotfiles/bin/.bin/firefox b/dotfiles/bin/.bin/firefox deleted file mode 100755 index d547682..0000000 --- a/dotfiles/bin/.bin/firefox +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -echo $@ - -real_firefox=$(which --skip-tilde firefox) - -GDK_BACKEND=wayland "${real_firefox}" "$@" diff --git a/dotfiles/bin/.bin/riot-desktop b/dotfiles/bin/.bin/riot-desktop deleted file mode 120000 index 9fb7ce9..0000000 --- a/dotfiles/bin/.bin/riot-desktop +++ /dev/null @@ -1 +0,0 @@ -disable_wayland \ No newline at end of file diff --git a/dotfiles/bin/.bin/zygor b/dotfiles/bin/.bin/zygor index af34516..9c268a0 100755 --- a/dotfiles/bin/.bin/zygor +++ b/dotfiles/bin/.bin/zygor @@ -7,5 +7,4 @@ mkdir Zygor cp -a Settings Zygor/ # disable wayland -unset GDK_BACKEND "$HOME/.zygor.AppImage"