From 7ace52db3577c0cac945b2749dfab921f4454a00 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Fri, 17 Feb 2023 11:58:39 +0200 Subject: emacs: Add emojify && change vterm shell to bash --- emacs.org | 91 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 48 insertions(+), 43 deletions(-) (limited to 'emacs.org') diff --git a/emacs.org b/emacs.org index 3c92199..a573d6f 100644 --- a/emacs.org +++ b/emacs.org @@ -76,6 +76,7 @@ Request the following packages: all-the-icons-ivy-rich dap-mode toc-org + emojify general doom-themes doom-modeline @@ -154,50 +155,54 @@ Contains the list of packages that need to be installed.") ** Basic UI Fonts and basic appearance settings #+begin_src emacs-lisp -(setq inhibit-startup-message nil) -;; Transparency -(set-frame-parameter (selected-frame) 'alpha '(90 90)) -(add-to-list 'default-frame-alist '(alpha 90 90)) + (setq inhibit-startup-message nil) + ;; Transparency + (set-frame-parameter (selected-frame) 'alpha '(90 90)) + (add-to-list 'default-frame-alist '(alpha 90 90)) + + (add-hook 'dired-mode-hook 'all-the-icons-dired-mode) + + (scroll-bar-mode -1) + (tool-bar-mode -1) + (tooltip-mode -1) + (set-fringe-mode 10) + (menu-bar-mode -1) + (blink-cursor-mode -1) + (menu-bar--visual-line-mode-enable) + + (require 'emojify) + (emojify-mode 1) + + (setq visible-bell t) + + + (column-number-mode) + (global-display-line-numbers-mode 0) + (menu-bar--display-line-numbers-mode-relative) + ;;Disable line numbers for some modes + (dolist (mode '(pdf-view-mode-hook + org-mode-hook + term-mode-hook + shell-mode-hook + eshell-mode-hook + vterm-mode-hook + elfeed)) + (add-hook mode (lambda () (display-line-numbers-mode 0)))) + + (defvar apollo/default-font-size 140) + + (set-face-attribute 'default nil + :font "JetBrains Mono" + :height apollo/default-font-size) -(add-hook 'dired-mode-hook 'all-the-icons-dired-mode) + (set-face-attribute 'fixed-pitch nil + :font "JetBrains Mono" + :height apollo/default-font-size) -(scroll-bar-mode -1) -(tool-bar-mode -1) -(tooltip-mode -1) -(set-fringe-mode 10) -(menu-bar-mode -1) -(blink-cursor-mode -1) -(menu-bar--visual-line-mode-enable) - -(setq visible-bell t) - -(column-number-mode) -(global-display-line-numbers-mode 0) -(menu-bar--display-line-numbers-mode-relative) -;;Disable line numbers for some modes -(dolist (mode '(pdf-view-mode-hook - org-mode-hook - term-mode-hook - shell-mode-hook - eshell-mode-hook - vterm-mode-hook - elfeed)) - (add-hook mode (lambda () (display-line-numbers-mode 0)))) - -(defvar apollo/default-font-size 140) - -(set-face-attribute 'default nil - :font "JetBrains Mono" - :height apollo/default-font-size) - -(set-face-attribute 'fixed-pitch nil - :font "JetBrains Mono" - :height apollo/default-font-size) - -(set-face-attribute 'variable-pitch nil - :font "JetBrains Mono" - :height apollo/default-font-size - :weight 'regular) + (set-face-attribute 'variable-pitch nil + :font "JetBrains Mono" + :height apollo/default-font-size + :weight 'regular) #+end_src ** Dashboard @@ -399,7 +404,7 @@ Hook with ~dired-mode~ (if (or (string= (system-name) "fsociety") (string= (system-name) "heisenberg")) - (setq vterm-shell "~/.guix-profile/bin/zsh") + (setq vterm-shell "~/.guix-profile/bin/bash") (setq vterm-shell "/bin/zsh"))) #+end_src ** Eshell -- cgit v1.2.3