summaryrefslogtreecommitdiffstats
path: root/lisp/bandali-theme.el
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-09-27 12:06:44 -0400
committerAmin Bandali <bandali@gnu.org>2020-09-27 12:07:10 -0400
commitc84be134273e6baa0633d194c9524658e221ee7f (patch)
treef4875124e79efae46b2f275a8c7e4d6629abe6b8 /lisp/bandali-theme.el
parentc49fa11a90f9b17159062e3ab2f4a960f1048ffd (diff)
downloadconfigs-c84be134273e6baa0633d194c9524658e221ee7f.tar.gz
configs-c84be134273e6baa0633d194c9524658e221ee7f.tar.xz
configs-c84be134273e6baa0633d194c9524658e221ee7f.zip
Drop use-package
along with some unused stuff
Diffstat (limited to '')
-rw-r--r--lisp/bandali-theme.el39
1 files changed, 16 insertions, 23 deletions
diff --git a/lisp/bandali-theme.el b/lisp/bandali-theme.el
index 13be391..7706bcc 100644
--- a/lisp/bandali-theme.el
+++ b/lisp/bandali-theme.el
@@ -24,24 +24,18 @@
;;; Code:
-(use-package refinery-theme
- :demand
- :config
- (load-theme 'refinery t))
-
-(use-package smart-mode-line
- :commands (sml/apply-theme)
- :demand
- :config
- ;; thanks, but no thnaks; don't make fixed-width fills.
- (defun sml/fill-for-buffer-identification () "")
- (setq sml/theme 'respectful)
- (sml/setup)
- (smart-mode-line-enable))
-
-(use-package minions
- :demand
- :config (minions-mode))
+(require 'refinery-theme)
+(load-theme 'refinery t)
+
+(require 'smart-mode-line)
+;; thanks, but no thanks; don't make fixed-width fills.
+(defun sml/fill-for-buffer-identification nil "")
+(setq sml/theme 'respectful)
+(sml/setup)
+(smart-mode-line-enable)
+
+(require 'minions)
+(minions-mode)
(defvar b/org-mode-font-lock-keywords
'(("[ \t]*\\(#\\+\\(BEGIN\\|END\\|begin\\|end\\)_\\(\\S-+\\)\\)[ \t]*\\([^\n:]*\\)"
@@ -72,9 +66,9 @@
"Go dark."
(interactive)
(mapc #'disable-theme custom-enabled-themes)
- (load-theme 'tango-dark t)
+ (load-theme 'refinery-dark t)
(when (featurep 'smart-mode-line)
- (sml/apply-theme 'automatic))
+ (sml/apply-theme 'dark))
(font-lock-add-keywords
'org-mode b/org-mode-font-lock-keywords t)
(when (featurep 'erc-hl-nicks)
@@ -82,9 +76,8 @@
(when (featurep 'exwm-systemtray)
(exwm-systemtray--refresh)))
-(bind-keys
- ("C-c t d" . b/lights-off)
- ("C-c t l" . b/lights-on))
+(global-set-key (kbd "C-c t d") #'b/lights-off)
+(global-set-key (kbd "C-c t l") #'b/lights-on)
(provide 'bandali-theme)
;;; bandali-theme.el ends here