Emacs: Load doom-themes and TRAMP on slow computers.

This commit is contained in:
tastytea 2020-11-30 15:50:41 +01:00
parent dd68a950d2
commit 03a18144a1
2 changed files with 61 additions and 67 deletions

View File

@ -1,6 +1,6 @@
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-11-30T09:58:13+0100>
;; Time-stamp: <2020-11-30T15:50:27+0100>
;;; Commentary:
@ -61,7 +61,6 @@
(not (my/font-installed-p "all-the-icons")))
(all-the-icons-install-fonts t)))
(unless slow-computer
(use-package doom-themes
:demand t
:after (all-the-icons)
@ -104,7 +103,6 @@
(advice-add #'doom-themes-hide-fringes-maybe
:after #'my/treemacs-reset-fringe))
:hook (server-after-make-frame . my/reload-theme))
) ; unless slow-computer.
;; Neat modeline.
(use-package doom-modeline

View File

@ -1,16 +1,13 @@
;;; 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:
;;; Code:
(require 'basics/package-management)
(require 'basics/global-variables)
;; Edit remote files.
(unless slow-computer
(use-package tramp
:straight (:type built-in)
:defer 2
@ -31,7 +28,6 @@
(concat user-emacs-directory "backups/") "Auto-save locally."))
:config (add-to-list
'tramp-remote-path 'tramp-own-remote-path)) ; Respect remote PATH.
) ; unless slow-computer.
;; Run server on TCP socket if:
;; - Our EUID is not 0,