aboutsummaryrefslogtreecommitdiffstats
path: root/oni-core.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-11-13 23:04:21 -0800
committerGravatar Tom Willemse2022-11-13 23:04:21 -0800
commit67938489750ee4391c30daacb29d77fed9936afb (patch)
tree6b4c81bdcfd1f88ce227e5e8738645a0e52dd456 /oni-core.el
parent04be0ce1fe83cbd0d80fee3c96630e50723b338b (diff)
downloademacs-config-67938489750ee4391c30daacb29d77fed9936afb.tar.gz
emacs-config-67938489750ee4391c30daacb29d77fed9936afb.zip
[oni-core] Show a random tip in my initial scratch message
These tips come from “Pragmatic Thinking and Learning: Refactor Your Wetware” by Andy Hunt[1] [1]: https://pragprog.com/titles/ahptl/pragmatic-thinking-and-learning/
Diffstat (limited to 'oni-core.el')
-rw-r--r--oni-core.el39
1 files changed, 20 insertions, 19 deletions
diff --git a/oni-core.el b/oni-core.el
index 179ea2d..5384e45 100644
--- a/oni-core.el
+++ b/oni-core.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2022.1113.165538
+;; Version: 2022.1113.230412
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr)
;; This program is free software; you can redistribute it and/or modify
@@ -157,24 +157,25 @@ _s_: String list"
;; https://github.com/novoid/dot-emacs/blob/23c28944f1991c636ea71ec7d5c3d266e6dbeb8a/config.org#deletes-duplicate-entries-of-the-history-of-the-minibuffer
(setq history-delete-duplicates t)
-;; (setq dashboard-footer-messages
-;; '("Play more in order to learn more"
-;; "Learn from similarities, unlearn from differences"
-;; "Explore, invent, and apply in your environment - safely"
-;; "See without judging and then act"
-;; "Give yourself permission to fail; it’s the path to success"
-;; "Groove your mind for success"
-;; "Learn to focus"
-;; "Make thinking time"
-;; "Use a wiki to manage information and knowledge"
-;; "Establish rules of engagement to manage interruptions"
-;; "Send less email, and you’ll receive less email"
-;; "Choose your own tempo for an email conversation"
-;; "Mask interrupts to maintain focus"
-;; "Use multiple monitors to avoid context switching"
-;; "Optimize your personal workflow to maximize context"
-;; "Grab the wheel. You can’t steer on autopilot"
-;; "Can it be simpler?"))
+(let ((tips '("Play more in order to learn more"
+ "Learn from similarities, unlearn from differences"
+ "Explore, invent, and apply in your environment - safely"
+ "See without judging and then act"
+ "Give yourself permission to fail; it’s the path to success"
+ "Groove your mind for success"
+ "Learn to focus"
+ "Make thinking time"
+ "Use a wiki to manage information and knowledge"
+ "Establish rules of engagement to manage interruptions"
+ "Send less email, and you’ll receive less email"
+ "Choose your own tempo for an email conversation"
+ "Mask interrupts to maintain focus"
+ "Use multiple monitors to avoid context switching"
+ "Optimize your personal workflow to maximize context"
+ "Grab the wheel. You can’t steer on autopilot"
+ "Can it be simpler?")))
+ (setq initial-scratch-message
+ (concat initial-scratch-message ";; " (seq-random-elt tips) "\n\n")))
;; Increase the threshold for garbage collection for increased performance.
;; Apparently there are some (lsp-mode for example) packages that generate a lot