add theme to emacs
This commit is contained in:
@@ -6,6 +6,19 @@
|
|||||||
|
|
||||||
;; Disable lockfiles (.#file)
|
;; Disable lockfiles (.#file)
|
||||||
(setq create-lockfiles nil)
|
(setq create-lockfiles nil)
|
||||||
|
|
||||||
|
;; Initialize the built-in package manager.
|
||||||
|
(require 'package)
|
||||||
|
(package-initialize)
|
||||||
|
|
||||||
|
;; Download Gruber Darker if it is not installed yet.
|
||||||
|
(unless (package-installed-p 'gruber-darker-theme)
|
||||||
|
(package-refresh-contents)
|
||||||
|
(package-install 'gruber-darker-theme))
|
||||||
|
|
||||||
|
;; Enable the theme without a confirmation prompt.
|
||||||
|
(load-theme 'gruber-darker t)
|
||||||
|
|
||||||
;; Display a greeting after startup.
|
;; Display a greeting after startup.
|
||||||
(add-hook 'emacs-startup-hook
|
(add-hook 'emacs-startup-hook
|
||||||
(lambda () (message "Hello world")))
|
(lambda () (message "Hello world")))
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# Emacs config
|
||||||
|
|
||||||
|
- [Inspiration](https://github.com/rexim/dotfiles)
|
||||||
Reference in New Issue
Block a user