Remove container/vm settings & enable firefox wayland backend

This commit is contained in:
Sonny Bakker 2023-07-15 19:46:44 +02:00
parent 828d2c1a71
commit 3a1d5d5139
2 changed files with 6 additions and 14 deletions

View file

@ -5,14 +5,6 @@ export PAGER=less
export BROWSER=/usr/bin/firefox
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
CONTAINER_OR_VM=false
if [ -z "$(which systemd-detect-virt)" ] || [ "$(systemd-detect-virt)" != "none" ]; then
CONTAINER_OR_VM=true
fi
export CONTAINER_OR_VM
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
@ -21,4 +13,9 @@ if [ -n "$BASH_VERSION" ]; then
fi
fi
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
fi
PATH="$HOME/.local/bin:$PATH"