diff --git a/.emacs.d/settings.org b/.emacs.d/settings.org index f63b170..2e939df 100644 --- a/.emacs.d/settings.org +++ b/.emacs.d/settings.org @@ -41,12 +41,19 @@ #+BEGIN_SRC emacs-lisp (menu-bar-mode -1) (setq inhibit-startup-screen t) ;; Startup screen - (if (display-graphic-p) - (funcall (lambda () - (tool-bar-mode -1) ;; System bar - (set-fringe-mode '(1 . 1)) ;; Minimize arrows before and after wrapped lines by setting fringe to 1px - (toggle-scroll-bar -1)))) ;; Scroll bar (setq frame-resize-pixelwise t) ;; Use 100% of window space + (defun do-frame-config () + (tool-bar-mode -1) ;; System bar + (set-fringe-mode '(1 . 1)) ;; Minimize arrows before and after wrapped lines by setting fringe to 1px + (toggle-scroll-bar -1)) + + (defun disable-scroll-bars (frame) + (modify-frame-parameters frame + '((vertical-scroll-bars . nil) + (horizontal-scroll-bars . nil)))) + (when (display-graphic-p) + (do-frame-config) + (add-hook 'after-make-frame-functions 'disable-scroll-bars)) #+END_SRC ** System path (macos) #+BEGIN_SRC emacs-lisp diff --git a/scripts/install.sh b/scripts/install.sh index a39df80..68c3195 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -61,6 +61,12 @@ pikaur -S asdf-vm thefuck echo ". /opt/asdf-vm/asdf.sh" >> $MACHINE_ZSH echo "eval \$(thefuck --alias)" >> $MACHINE_ZSH +# setup node versions +. /opt/asdf-vm/asdf.sh +asdf plugin add nodejs +asdf install nodejs lts-gallium +asdf global nodejs lts-gallium + # Now, generate ssh key ssh-keygen -t ed25519