summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
authorMehdi Sadeghi <mehdi@mehdix.org>2023-03-31 19:18:14 +0200
committerMehdi Sadeghi <mehdi@mehdix.org>2023-04-09 15:52:46 +0200
commit45a6e760ebc4438ff05f1a689518e50b4567fe93 (patch)
tree68cbff3009c29265fe10bba6fbf34ef496fde6a0 /.profile
parentd47e3f8702458bb73d1f656333eb49ba317cdf2f (diff)
Export GOPATH and some cleanup
Moreover, make sure KDE is not running in xinitrc before exec
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"