Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diminish dashboard from mode-line? #497

Open
JPRuehmann opened this issue Feb 20, 2024 · 2 comments
Open

diminish dashboard from mode-line? #497

JPRuehmann opened this issue Feb 20, 2024 · 2 comments
Labels

Comments

@JPRuehmann
Copy link

JPRuehmann commented Feb 20, 2024

Hello,
Is there a Way use the "diminish" order of "use-package" to not show it in the "mode-line"?
I've tried everything I've found and could think off.

My actual config is this.

(use-package dashboard-hackernews
  :config
  (require 'json))

(use-package dashboard
  :after dashboard-hackernews
  :diminish (dashboard-mode dashboard-mode-hook)
  :init (add-hook 'after-init-hook
		  #'(lambda() (progn (dashboard-insert-startupify-lists)
		      (dashboard-refresh-buffer))))
  :config
  (setq initial-buffer-choice (lambda() (get-buffer "*dashboard*")))
  (setq dashboard-banner-logo-title      "My Dashboard"    ; set the title
        dashboard-startup-banner         'logo                  ; show the logo in the banner area
        dashboard-set-init-info          t                      ; show package load / init time
        dashboard-set-heading-icons      t
        dashboard-set-file-icons         t
        dashboard-items                  '((recents . 5)        ; this is where the magic happens
                                           (bookmarks . 5)
                                           (hackernews . 5)
					   (projects . 5)
					   (agenda . 5))
	dashboard-center-content         t                      ; center the dashboard
        dashboard-week-agenda            t)			; set the agenda
(dashboard-setup-startup-hook))

Thanks,

@JPRuehmann JPRuehmann changed the title diminish dashboard from mose-line? diminish dashboard from mode-line? Feb 20, 2024
@jcs090218
Copy link
Member

dashboard is not a minor mode; therefore, you cannot diminish it. 🤔

@JPRuehmann
Copy link
Author

Yasnippet and company too.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants