Emacs: Load doom-themes and TRAMP on slow computers.
This commit is contained in:
parent
dd68a950d2
commit
03a18144a1
|
@ -1,6 +1,6 @@
|
||||||
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-11-30T09:58:13+0100>
|
;; Time-stamp: <2020-11-30T15:50:27+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -61,7 +61,6 @@
|
||||||
(not (my/font-installed-p "all-the-icons")))
|
(not (my/font-installed-p "all-the-icons")))
|
||||||
(all-the-icons-install-fonts t)))
|
(all-the-icons-install-fonts t)))
|
||||||
|
|
||||||
(unless slow-computer
|
|
||||||
(use-package doom-themes
|
(use-package doom-themes
|
||||||
:demand t
|
:demand t
|
||||||
:after (all-the-icons)
|
:after (all-the-icons)
|
||||||
|
@ -104,7 +103,6 @@
|
||||||
(advice-add #'doom-themes-hide-fringes-maybe
|
(advice-add #'doom-themes-hide-fringes-maybe
|
||||||
:after #'my/treemacs-reset-fringe))
|
:after #'my/treemacs-reset-fringe))
|
||||||
:hook (server-after-make-frame . my/reload-theme))
|
:hook (server-after-make-frame . my/reload-theme))
|
||||||
) ; unless slow-computer.
|
|
||||||
|
|
||||||
;; Neat modeline.
|
;; Neat modeline.
|
||||||
(use-package doom-modeline
|
(use-package doom-modeline
|
||||||
|
|
|
@ -1,16 +1,13 @@
|
||||||
;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*-
|
;;; server.el --- Set up network stuff.. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-11-29T15:17:55+0100>
|
;; Time-stamp: <2020-11-30T15:48:09+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(require 'basics/package-management)
|
(require 'basics/package-management)
|
||||||
(require 'basics/global-variables)
|
|
||||||
|
|
||||||
;; Edit remote files.
|
|
||||||
(unless slow-computer
|
|
||||||
(use-package tramp
|
(use-package tramp
|
||||||
:straight (:type built-in)
|
:straight (:type built-in)
|
||||||
:defer 2
|
:defer 2
|
||||||
|
@ -31,7 +28,6 @@
|
||||||
(concat user-emacs-directory "backups/") "Auto-save locally."))
|
(concat user-emacs-directory "backups/") "Auto-save locally."))
|
||||||
:config (add-to-list
|
:config (add-to-list
|
||||||
'tramp-remote-path 'tramp-own-remote-path)) ; Respect remote PATH.
|
'tramp-remote-path 'tramp-own-remote-path)) ; Respect remote PATH.
|
||||||
) ; unless slow-computer.
|
|
||||||
|
|
||||||
;; Run server on TCP socket if:
|
;; Run server on TCP socket if:
|
||||||
;; - Our EUID is not 0,
|
;; - Our EUID is not 0,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user