Use wayland for firefox whenever applicable
This commit is contained in:
parent
828d2c1a71
commit
41b7fdfae0
1 changed files with 5 additions and 5 deletions
10
.profile
10
.profile
|
|
@ -5,13 +5,13 @@ export PAGER=less
|
||||||
export BROWSER=/usr/bin/firefox
|
export BROWSER=/usr/bin/firefox
|
||||||
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||||
|
|
||||||
CONTAINER_OR_VM=false
|
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
if [ -z "$(which systemd-detect-virt)" ] || [ "$(systemd-detect-virt)" != "none" ]; then
|
export MOZ_DBUS_REMOTE=1
|
||||||
CONTAINER_OR_VM=true
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export CONTAINER_OR_VM
|
# for KDE browser integration
|
||||||
|
export GTK_USE_PORTAL=1
|
||||||
|
|
||||||
# if running bash
|
# if running bash
|
||||||
if [ -n "$BASH_VERSION" ]; then
|
if [ -n "$BASH_VERSION" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue