summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile3
1 files changed, 2 insertions, 1 deletions
diff --git a/.profile b/.profile
index 51412e0..ba156f1 100644
--- a/.profile
+++ b/.profile
@@ -7,7 +7,8 @@ export LANGUAGE=en
export LC_ALL=en_US.UTF-8
export EDITOR=vim
-export GDK_BACKEND=wayland
+# Try wayland for GTK apps first, allow x11 fallback
+export GDK_BACKEND=wayland,x11
export MAKEFLAGS=-j`lscpu | grep '^CPU(s):' | awk -F' ' '{ print $2 }'`
export CFLAGS="-O2 -pipe -march=native"