X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=config.org;h=e7fd1dc91438c4ab3449cc0b409bc001802abd59;hb=01fb50ab6cdc8624a65be3890f6816e5343400f5;hp=96bab4081d75e725700cd78dee2c7d0dae705ace;hpb=9b1f1164633d221e6d7399218f92bdb93da15f12;p=config.org.git diff --git a/config.org b/config.org index 96bab40..e7fd1dc 100644 --- a/config.org +++ b/config.org @@ -704,6 +704,14 @@ Style is basically ddevault's style guide but with 4 spaces instead of 8 char ta (add-hook 'before-save-hook 'clang-format-buffer-smart nil) #+end_src +** KISS +#+begin_src emacs-lisp + (append auto-mode-alist '("/home/armaa/repos/" . sh-mode)) +#+end_src +** Shell +#+begin_src emacs-lisp + (add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p) +#+end_src * General text editing ** Spell checking Spell check in text mode, and in prog-mode comments. @@ -904,6 +912,7 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac export GOPATH="$HOME/.local/share/go" export JUPYTER_CONFIG_DIR="$HOME/.config/jupyter" export IPYTHON_DIR="$HOME/.local/share/ipython" + export DISTCC_DIR="$HOME/.local/state/distcc" export PAGER='less' export GTK_USE_PORTAL=1 @@ -1108,26 +1117,12 @@ Make MPV play a little bit smoother. The best document reader! *** Options #+begin_src conf :tangle ~/.config/zathura/zathurarc - map recolor - map toggle_statusbar set selection-clipboard clipboard set scroll-step 200 set window-title-basename "true" set selection-clipboard "clipboard" #+end_src -*** Colors -#+begin_src conf :tangle ~/.config/zathura/zathurarc - set default-bg "#000000" - set default-fg "#ffffff" - set render-loading true - set render-loading-bg "#000000" - set render-loading-fg "#ffffff" - - set recolor-lightcolor "#000000" # bg - set recolor-darkcolor "#ffffff" # fg - set recolor "true" -#+end_src ** Tmux I use tmux in order to keep my st build light. Still learning how it works. #+begin_src conf :tangle ~/.config/tmux/tmux.conf @@ -1178,5 +1173,6 @@ 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) + xhost + exec dwm #+end_src