summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2023-02-17 11:58:39 +0200
committerThanosApollo <[email protected]>2023-02-17 11:58:39 +0200
commit7ace52db3577c0cac945b2749dfab921f4454a00 (patch)
treee602f0548018bc3025b78a30624c2e80d394eaea /emacs.org
parent6bf0cb955846c6efa90b9c9090c8c00b3415c49d (diff)
emacs: Add emojify && change vterm shell to bash
Diffstat (limited to 'emacs.org')
-rw-r--r--emacs.org91
1 files changed, 48 insertions, 43 deletions
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