]> git.armaanb.net Git - config.org.git/blobdiff - config.org
ash: use clang as CC
[config.org.git] / config.org
index 4532e36c59efa7e878c198341600f3767c4b1c74..4975fed4a6b5deb21ab23ad05ef99ee933f8c040 100644 (file)
@@ -49,7 +49,7 @@ Use the Modus Operandi theme by Protesilaos Stavrou. Its the best theme for Emac
     (modus-themes-mode-line '3d)
     (modus-themes-scale-headings t)
     (modus-themes-diffs 'desaturated)
-    :config (load-theme 'modus-vivendi t))
+    :config (load-theme 'modus-operandi t))
 #+end_src
 ** Typography
 *** Font
@@ -893,9 +893,7 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac
 
   export GOPATH="~/.local/share/go"
 
-  export MANPAGER='nvim +Man!'
   export PAGER='less'
-
   export GTK_USE_PORTAL=1
   export CDPATH=:~
   export LESSHISTFILE=/dev/null
@@ -932,8 +930,10 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac
 #+end_src
 **** Compilation flags
 #+begin_src shell :tangle ~/.config/ash/ashrc
+  export CC=clang
   export CFLAGS="-O3 -pipe -march=native"
-  export CXXFLAGS="$CFLAGS"
+  export CXX=clang++
+  export CXXFLAGS="$CFLAGS -stdlib=libc++"
   export MAKEFLAGS="-j$(nproc)"
   export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
 #+end_src
@@ -1167,7 +1167,5 @@ I use tmux in order to keep my st build light. Still learning how it works.
 #+end_src
 ** sx
 #+begin_src shell :tangle ~/.config/sx/sxrc :tangle-mode (identity #o755)
-  autostart &
-  dwmblocks &
   exec dwm
 #+end_src