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; -*-
|
||||
|
||||
;; Time-stamp: <2020-11-30T09:58:13+0100>
|
||||
;; Time-stamp: <2020-11-30T15:50:27+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -61,8 +61,7 @@
|
|||
(not (my/font-installed-p "all-the-icons")))
|
||||
(all-the-icons-install-fonts t)))
|
||||
|
||||
(unless slow-computer
|
||||
(use-package doom-themes
|
||||
(use-package doom-themes
|
||||
:demand t
|
||||
:after (all-the-icons)
|
||||
:custom ((doom-themes-treemacs-theme "doom-colors")
|
||||
|
@ -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
|
||||
|
|
|
@ -1,17 +1,14 @@
|
|||
;;; 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
|
||||
(use-package tramp
|
||||
:straight (:type built-in)
|
||||
:defer 2
|
||||
:custom ((tramp-use-ssh-controlmaster-options nil
|
||||
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user