guix-config

guix system configuration/declaration
git clone git://git.eonn.xyz/guix-config.git
Log | Files | Refs | LICENSE

commit 86e673c5964fa8a1edf486e8b42722c0d5951195
parent 683ed316f986d428a608735366fd2513164ad9b7
Author: Ian Ressa <ian@eonn.xyz>
Date:   Thu, 17 Nov 2022 20:38:28 -0500

[home] [emacs] Remove dashboard footnote, put in cool 'welcome to your computer batman' message in the header

Diffstat:
Mmodules/shmage/guix/dotfiles/emacs.d/init.el | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/shmage/guix/dotfiles/emacs.d/init.el b/modules/shmage/guix/dotfiles/emacs.d/init.el @@ -10,8 +10,10 @@ (require 'dashboard) (dashboard-setup-startup-hook) (setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))) -(setq dashboard-banner-logo-title "Hot Chicken Hot Chicken, what combo you pickin?" - dashboard-startup-banner "/home/ian/assets/emacs-dashboard-logo.gif" +(let ((hour (nth 2 (decode-time)))) + (setq dashboard-banner-logo-title (format "Good %s, Ian." (if (< hour 12) (if (> hour 3) "morning" "evening") (if (< hour 18) "afternoon" "evening"))))) +(setq dashboard-startup-banner "/home/ian/assets/emacs-dashboard-logo.gif" + dashboard-set-footer nil dashboard-center-content t dashboard-items '((recents . 5) (agenda . 5)))