Skip to content

Commit

Permalink
tweak(splash): add a banner to the splash screen
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 4, 2023
1 parent 244b883 commit b35987b
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 0 deletions.
136 changes: 136 additions & 0 deletions assets/images/minemacs-black.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/minemacs-small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions core/me-splash.el
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
;; Vertical padding to center
(insert-char ?\n padding-center)

(when (display-graphic-p)
(insert-image (create-image (concat minemacs-assets-dir "images/minemacs-small.png")))
(insert-char ?\n))

;; Central text
(insert-char ?\s 10)
(insert (propertize "MinEmacs" 'face 'bold))
Expand Down

0 comments on commit b35987b

Please sign in to comment.