summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authornoa2024-11-11 11:57:36 +0800
committernoa2024-11-11 11:57:36 +0800
commitd8cfd5dcc06d70238b0626b6a0cdb036ee2854f9 (patch)
tree754ed3f4f8eac76472be9252e450283d572f19df /emacs
parent8170e72ef090e4e4db034f98da992f233d78bd1b (diff)
Update tubthumping theme to use-package
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index ecb65de..29d0454 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -52,8 +52,9 @@
(minibuffer-depth-indicate-mode t))
;; This is my emacs theme. It's a monochrome theme which, unlike most monochrome themes, really does have only two colours. I define a few faces, and set every other face as one of them. There are a few things i want to do with it before i make it properly public: make the colours configurable and able to update on the fly, and in general iron out some of the janky parts. A few things defined it are quite specific to this configuration, like the way i define the borders for the tab and header bars, and there is no mode line configuration because i don't use it.
-(require 'tubthumping-theme)
-(load-theme 'tubthumping t)
+(use-package tubthumping-theme
+ :config
+ (load-theme 'tubthumping t))
;;; Fonts
;; Using a proportional font is the right way to do things, but emacs is very old and comes from a time before the innovation of legibility. As a result, there are some things that require a monospaced font, so i set one here.