|
|
@ -126,11 +126,8 @@ Variables for directories, leader keys, etc. |
|
|
|
(defvar dot/shell "/bin/zsh" |
|
|
|
(defvar dot/shell "/bin/zsh" |
|
|
|
"Command interpreter binary path.") |
|
|
|
"Command interpreter binary path.") |
|
|
|
|
|
|
|
|
|
|
|
(defvar dot/hidpi |
|
|
|
(defvar dot/hidpi (getenv "HIDPI") |
|
|
|
(let (resolution) |
|
|
|
"Whether the primary screen is HiDPI.") |
|
|
|
(setq resolution (nthcdr 3 (assoc 'geometry (car (display-monitor-attributes-list))))) |
|
|
|
|
|
|
|
(>= (* (car resolution) (car (cdr resolution))) (* 2560 1440))) |
|
|
|
|
|
|
|
"Return t if the primary screen is HiDPI, nil otherwise.") |
|
|
|
|
|
|
|
#+END_SRC |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
|
|
* Customizations |
|
|
|
* Customizations |
|
|
@ -311,8 +308,8 @@ Provides Emacs with a file tree. |
|
|
|
(neo-mode-line-type 'none) |
|
|
|
(neo-mode-line-type 'none) |
|
|
|
(neo-show-hidden-files t) |
|
|
|
(neo-show-hidden-files t) |
|
|
|
(neo-vc-integration '(face)) |
|
|
|
(neo-vc-integration '(face)) |
|
|
|
:hook (neotree-mode . dot/hook-disable-line-numbers)) |
|
|
|
:hook (neotree-mode . dot/hook-disable-line-numbers) |
|
|
|
:hook (neotree-mode . hl-line-mode) |
|
|
|
:hook (neotree-mode . hl-line-mode)) |
|
|
|
#+END_SRC |
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
|
|
*** Centaur Tabs |
|
|
|
*** Centaur Tabs |
|
|
@ -324,7 +321,7 @@ Places buffers as tabs in a bar at the top. |
|
|
|
:after all-the-icons |
|
|
|
:after all-the-icons |
|
|
|
:demand |
|
|
|
:demand |
|
|
|
:custom |
|
|
|
:custom |
|
|
|
(centaur-tabs-height (if dot/hidpi 26 18)) |
|
|
|
(centaur-tabs-height (if dot/hidpi 28 18)) |
|
|
|
(centaur-tabs-modified-marker "•") |
|
|
|
(centaur-tabs-modified-marker "•") |
|
|
|
(centaur-tabs-set-icons t) |
|
|
|
(centaur-tabs-set-icons t) |
|
|
|
(centaur-tabs-set-modified-marker t) |
|
|
|
(centaur-tabs-set-modified-marker t) |
|
|
|