├── LICENSE ├── README.org ├── screenshot └── doomEmacsNord.png ├── script ├── recolor.sh └── template.svg └── svg ├── doom-emacs-splash-template.svg ├── doom ├── doom.svg ├── doomEmacs.svg ├── doomEmacsDoomOne.svg ├── doomEmacsDracula.svg ├── doomEmacsGruvbox.svg ├── doomEmacsRouge.svg ├── doomEmacsSolarized.svg ├── doomEmacsTokyoNight.svg ├── doomEmacsTokyoNight2.svg ├── doomEmacsTokyoNight3.svg └── doomWithShadow.svg └── emacs.svg /LICENSE: -------------------------------------------------------------------------------- 1 | Creative Commons Attribution-ShareAlike 4.0 International Public License 2 | 3 | By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. 4 | 5 | Section 1 – Definitions. 6 | 7 | Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. 8 | Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. 9 | BY-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License. 10 | Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. 11 | Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. 12 | Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. 13 | License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike. 14 | Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License. 15 | Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. 16 | Licensor means the individual(s) or entity(ies) granting rights under this Public License. 17 | Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. 18 | Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. 19 | You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. 20 | 21 | Section 2 – Scope. 22 | 23 | License grant. 24 | Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: 25 | reproduce and Share the Licensed Material, in whole or in part; and 26 | produce, reproduce, and Share Adapted Material. 27 | Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. 28 | Term. The term of this Public License is specified in Section 6(a). 29 | Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. 30 | Downstream recipients. 31 | Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. 32 | Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply. 33 | No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. 34 | No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). 35 | 36 | Other rights. 37 | Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. 38 | Patent and trademark rights are not licensed under this Public License. 39 | To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. 40 | 41 | Section 3 – License Conditions. 42 | 43 | Your exercise of the Licensed Rights is expressly made subject to the following conditions. 44 | 45 | Attribution. 46 | 47 | If You Share the Licensed Material (including in modified form), You must: 48 | retain the following if it is supplied by the Licensor with the Licensed Material: 49 | identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); 50 | a copyright notice; 51 | a notice that refers to this Public License; 52 | a notice that refers to the disclaimer of warranties; 53 | a URI or hyperlink to the Licensed Material to the extent reasonably practicable; 54 | indicate if You modified the Licensed Material and retain an indication of any previous modifications; and 55 | indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. 56 | You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. 57 | If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. 58 | ShareAlike. 59 | 60 | In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply. 61 | The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License. 62 | You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material. 63 | You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply. 64 | 65 | Section 4 – Sui Generis Database Rights. 66 | 67 | Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: 68 | 69 | for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; 70 | if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and 71 | You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. 72 | 73 | For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. 74 | 75 | Section 5 – Disclaimer of Warranties and Limitation of Liability. 76 | 77 | Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You. 78 | To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You. 79 | 80 | The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. 81 | 82 | Section 6 – Term and Termination. 83 | 84 | This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. 85 | 86 | Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: 87 | automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or 88 | upon express reinstatement by the Licensor. 89 | For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. 90 | For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. 91 | Sections 1, 5, 6, 7, and 8 survive termination of this Public License. 92 | 93 | Section 7 – Other Terms and Conditions. 94 | 95 | The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. 96 | Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. 97 | 98 | Section 8 – Interpretation. 99 | 100 | For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. 101 | To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. 102 | No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. 103 | Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. 104 | 105 | Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. 106 | 107 | Creative Commons may be contacted at creativecommons.org. 108 | -------------------------------------------------------------------------------- /README.org: -------------------------------------------------------------------------------- 1 | #+author: tachanka 2 | 3 | * Table Of Contents :toc: 4 | - [[#license][License]] 5 | - [[#doom][Doom]] 6 | - [[#description][Description]] 7 | - [[#variations][Variations]] 8 | - [[#make-your-own][Make your own]] 9 | - [[#automatically-generate-in-emacs][Automatically generate in Emacs]] 10 | - [[#gnu-emacs][GNU Emacs]] 11 | - [[#description-1][Description]] 12 | 13 | * License 14 | 15 | #+html:

16 | 17 | #+html:

18 | #+html: 19 | #+html: 20 | #+html: 21 | #+html:

22 | 23 | This work is licensed under [[https://creativecommons.org/licenses/by-sa/4.0/][Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)]]. 24 | 25 | #+begin_quote 26 | _You are free to:_ 27 | 28 | *Share* — copy and redistribute the material in any medium or format. 29 | 30 | *Adapt* — remix, transform, and build upon the material 31 | for any purpose, even commercially. 32 | 33 | _Under the following terms:_ 34 | 35 | *Attribution* — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. 36 | 37 | *ShareAlike* — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original. 38 | 39 | *No additional restrictions* — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. 40 | #+end_quote 41 | 42 | * Doom 43 | 44 | #+html:

45 | 46 | ** Description 47 | Doom logo using Nord colorscheme and [[https://www.fontspace.com/amaz-doom-font-f9098][AmazDoom]] font. 48 | Can be used as image as a dashboard image in Doom Emacs (and other Emacs distributions using =doom-dashboard=) using this code: 49 | 50 | #+begin_src elisp 51 | ;; .doom.d/config.el 52 | (setq fancy-splash-image "/path/to/image/doom.svg") 53 | #+end_src 54 | 55 | If you would like to have several logos and a logo to display is chosen by emacs randomly, put the logos in =~/.doom.d/splash=. 56 | Then use this code: 57 | 58 | #+begin_src elisp 59 | ;; .doom.d/config.el 60 | (let ((alternatives '("nameoffirstfile.svg" 61 | "nameofanotherfile.png" 62 | "nameofathirdfile.svg"))) 63 | (setq fancy-splash-image 64 | (concat doom-private-dir "splash/" 65 | (nth (random (length alternatives)) alternatives)))) 66 | #+end_src 67 | 68 | You can add or remove the images that can be chosen randomly into alternatives. 69 | 70 | ** Variations 71 | There are also some variations (both vector and raster): 72 | 73 | + doomWithShadow.svg 74 | 75 | #+html:

76 | 77 | + doomEmacs.svg 78 | 79 | #+html:

80 | 81 | + doomEmacsDoomOne.svg 82 | 83 | #+html:

84 | 85 | + doomEmacsDracula.svg 86 | 87 | #+html:

88 | 89 | + doomEmacsGruvbox.svg 90 | 91 | #+html:

92 | 93 | + doomEmacsSolarized.svg 94 | 95 | #+html:

96 | 97 | + doomEmacsRouge.svg 98 | 99 | #+html:

100 | 101 | + doomEmacsTokyoNight.svg by [[https://github.com/Schievel1][Schievel1]] 102 | 103 | #+html:

104 | 105 | #+begin_quote 106 | [[https://www.fontspace.com/amaz-doom-font-f9098][AmazDoom]] font was used 107 | #+end_quote 108 | 109 | ** Make your own 110 | To change to colors of the svg, download the =doomEmacs.svg= file, get the hexadecimal codes of the colors you want to have and run the following commands to change the colors: 111 | 112 | #+begin_src sh 113 | sed -i 's/5e81ac/xxxxxx/g' doomEmacs.svg # top gradient color of the text 114 | sed -i 's/b48ead/xxxxxx/g' doomEmacs.svg # bottom gradient color of the text 115 | sed -i 's/4c566a/xxxxxx/g' doomEmacs.svg # the upper outlines of the 'DOOM' text 116 | sed -i 's/3b4252/xxxxxx/g' doomEmacs.svg # the shadow 117 | sed -i 's/2e3440/xxxxxx/g' doomEmacs.svg # the background 118 | sed -i 's/434c5e/xxxxxx/g' doomEmacs.svg # dot in the middle that the background gradients to 119 | #+end_src 120 | 121 | Where xxxxxx is the color you chose. 122 | 123 | Or just use [[https://github.com/tachanka61/graphics/blob/main/script/recolor.sh][really weird bash script]] :P 124 | 125 | Save the script =recolor.sh= and the file =template.svg= together into one directory, run =recolor.sh=: 126 | 127 | #+begin_src sh 128 | ./recolor.sh nameoftheoutputfile # without a file extension like .svg 129 | #+end_src 130 | 131 | The script will ask you for several colors to give as an input. Input the colors as hexadecimal color code without a preceding: =434c5e=. It will then spit out a file with the given colors into the directory it is run in. 132 | 133 | Make sure to make a pull request to this repo if you created some awesome images for a colorscheme that isn't added yet. =;-)= 134 | 135 | ** Automatically generate in Emacs 136 | Emacs can automatically generate the Doom Emacs logo for you. When ever you switch the color scheme, a new set of images is created and used. 137 | 138 | To do this, put the file ~doom-emacs-splash-template.svg~ (in the folder ~svg~ on this GitHub) into a subfolder ~splash~ in your Doom config directory (so usually ~~/.doom.d/splash/~). 139 | 140 | The elisp code below is shamelessly stolen from [[https://github.com/tecosaur/emacs-config][Tecosaur]] and slightly modified. 141 | 142 | #+begin_src elisp 143 | (defvar fancy-splash-image-template 144 | (expand-file-name "splash/doom-emacs-splash-template.svg" doom-private-dir) 145 | "Default template svg used for the splash image, with substitutions from ") 146 | 147 | (defvar fancy-splash-sizes 148 | `((:height 500 :min-height 50 :padding (0 . 2)) 149 | (:height 450 :min-height 42 :padding (2 . 4)) 150 | (:height 400 :min-height 35 :padding (3 . 3)) 151 | (:height 350 :min-height 28 :padding (3 . 3)) 152 | (:height 200 :min-height 20 :padding (2 . 2)) 153 | (:height 150 :min-height 15 :padding (2 . 1)) 154 | (:height 100 :min-height 13 :padding (2 . 1)) 155 | (:height 75 :min-height 12 :padding (2 . 1)) 156 | (:height 50 :min-height 10 :padding (1 . 0)) 157 | (:height 1 :min-height 0 :padding (0 . 0))) 158 | "list of plists with the following properties 159 | :height the height of the image 160 | :min-height minimum `frame-height' for image 161 | :padding `+doom-dashboard-banner-padding' (top . bottom) to apply 162 | :template non-default template file 163 | :file file to use instead of template") 164 | 165 | (defvar fancy-splash-template-colours 166 | '(("$color1" . functions) ("$color2" . keywords) ("$color3" . highlight) ("$color4" . bg) ("$color5" . bg) ("$color6" . base0)) 167 | ;; 1: Text up, 2: Text low, 3: upper outlines, 4: shadow, 5: background, 6: gradient to middle 168 | "list of colour-replacement alists of the form (\"$placeholder\" . 'theme-colour) which applied the template") 169 | 170 | (unless (file-exists-p (expand-file-name "theme-splashes" doom-cache-dir)) 171 | (make-directory (expand-file-name "theme-splashes" doom-cache-dir) t)) 172 | 173 | (defun fancy-splash-filename (theme-name height) 174 | (expand-file-name (concat (file-name-as-directory "theme-splashes") 175 | theme-name 176 | "-" (number-to-string height) ".svg") 177 | doom-cache-dir)) 178 | 179 | (defun fancy-splash-clear-cache () 180 | "Delete all cached fancy splash images" 181 | (interactive) 182 | (delete-directory (expand-file-name "theme-splashes" doom-cache-dir) t) 183 | (message "Cache cleared!")) 184 | 185 | (defun fancy-splash-generate-image (template height) 186 | "Read TEMPLATE and create an image if HEIGHT with colour substitutions as 187 | described by `fancy-splash-template-colours' for the current theme" 188 | (with-temp-buffer 189 | (insert-file-contents template) 190 | (re-search-forward "$height" nil t) 191 | (replace-match (number-to-string height) nil nil) 192 | (replace-match (number-to-string height) nil nil) 193 | (dolist (substitution fancy-splash-template-colours) 194 | (goto-char (point-min)) 195 | (while (re-search-forward (car substitution) nil t) 196 | (replace-match (doom-color (cdr substitution)) nil nil))) 197 | (write-region nil nil 198 | (fancy-splash-filename (symbol-name doom-theme) height) nil nil))) 199 | 200 | (defun fancy-splash-generate-images () 201 | "Perform `fancy-splash-generate-image' in bulk" 202 | (dolist (size fancy-splash-sizes) 203 | (unless (plist-get size :file) 204 | (fancy-splash-generate-image (or (plist-get size :template) 205 | fancy-splash-image-template) 206 | (plist-get size :height))))) 207 | 208 | (defun ensure-theme-splash-images-exist (&optional height) 209 | (unless (file-exists-p (fancy-splash-filename 210 | (symbol-name doom-theme) 211 | (or height 212 | (plist-get (car fancy-splash-sizes) :height)))) 213 | (fancy-splash-generate-images))) 214 | 215 | (defun get-appropriate-splash () 216 | (let ((height (frame-height))) 217 | (cl-some (lambda (size) (when (>= height (plist-get size :min-height)) size)) 218 | fancy-splash-sizes))) 219 | 220 | (setq fancy-splash-last-size nil) 221 | (setq fancy-splash-last-theme nil) 222 | (defun set-appropriate-splash (&rest _) 223 | (let ((appropriate-image (get-appropriate-splash))) 224 | (unless (and (equal appropriate-image fancy-splash-last-size) 225 | (equal doom-theme fancy-splash-last-theme))) 226 | (unless (plist-get appropriate-image :file) 227 | (ensure-theme-splash-images-exist (plist-get appropriate-image :height))) 228 | (setq fancy-splash-image 229 | (or (plist-get appropriate-image :file) 230 | (fancy-splash-filename (symbol-name doom-theme) (plist-get appropriate-image :height)))) 231 | (setq +doom-dashboard-banner-padding (plist-get appropriate-image :padding)) 232 | (setq fancy-splash-last-size appropriate-image) 233 | (setq fancy-splash-last-theme doom-theme) 234 | (+doom-dashboard-reload))) 235 | 236 | (add-hook 'window-size-change-functions #'set-appropriate-splash) 237 | (add-hook 'doom-load-theme-hook #'set-appropriate-splash) 238 | 239 | #+end_src 240 | 241 | Look in your theme what the different colors are called. If you want to use a different color, but still want to keep the automatic generation, you can change the line: 242 | 243 | #+begin_src elisp 244 | '(("$color1" . functions) ("$color2" . keywords) ("$color3" . highlight) ("$color4" . bg) ("$color5" . bg) ("$color6" . base0)) 245 | #+end_src 246 | 247 | This snippet above automatically generates a set of images and puts them into your Emacs' temp folder. So it does not always generate new images every time you start up Emacs. If you changed some of the colors and want to generate new images, use @@html:@@M-x@@html:@@ ~fancy-splash-clear-cache~. 248 | 249 | * GNU Emacs 250 | 251 | #+html:

252 | 253 | ** Description 254 | Emacs logo, inspired and based on Papirus icon theme. 255 | Like Doom, also can be used as a dashboard image. 256 | 257 | #+begin_quote 258 | Inspired and based on [[https://icon-icons.com/icon/emacs/93840][Papirus]] 259 | #+end_quote 260 | -------------------------------------------------------------------------------- /screenshot/doomEmacsNord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Schievel1/doom-emacs-splash/8a7b7ef1adc5579d09e95a1b5a7d9130f61469e6/screenshot/doomEmacsNord.png -------------------------------------------------------------------------------- /script/recolor.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env bash 2 | # 3 | # ████████╗ | GRAPHICS | ______ _____ 4 | # ╚══██╔══╝ | tachanka61 and Schievel1 | |_ __ \ |_ _| 5 | # ██║ | | | |__) | | | 6 | # ██║ | https://github.com/tachanka61/graphics | | ___/ _ | | 7 | # ██║ | Dependencies: sed, doomEmacs.svg | _| |_ | |_| | 8 | # ╚═╝ | Optional: feh | |_____| \.___.' 9 | # | | 10 | 11 | # Shellcheck stuff: 12 | # shellcheck disable=SC2162 13 | 14 | # This makes program more secure 15 | # Also you can enable 'x' flag to enable debug 16 | set -euo pipefail 17 | 18 | GREEN=$'\033[0;32m' 19 | RED=$'\033[0;31m' 20 | CYAN=$'\033[;36m' 21 | RESET=$'\033[0m' 22 | 23 | # Check for arguments 24 | if [[ $# -ne 1 ]]; then 25 | # Print error to stderr 26 | echo -e "${RED}[!] $# arguments passed, 1 required${RESET}" >&2 27 | # Print usage 28 | echo -e "${CYAN}[?] usage: ./recolor.sh [output filename]${RESET}" 29 | exit 2 30 | fi 31 | 32 | # Recolor 33 | # get the colors from the user 34 | colors=(topgradient bottomgradient doomoutlines shadow background middledot) 35 | color_msg=("Input the top gradient color of the text. It should be in HEX format, e.g. 434C5E or f13: " \ 36 | "Input the bottom gradient color of the text: " \ 37 | "Input the upper outlines color of the Doom text: " \ 38 | "Input the color of the shadows: " \ 39 | "Input the background color: " \ 40 | "Input the color of the dot in the middle that the background gradients to: ") 41 | for i in {0..5} 42 | do 43 | while ! [[ ${colors[i]} =~ ^([[:xdigit:]]{3}){1,2}$ ]] 44 | do read -p "${CYAN}[>] ${color_msg[i]}${RESET}" color 45 | colors[i]=$color 46 | if ! [[ ${colors[i]} =~ ^([[:xdigit:]]{3}){1,2}$ ]]; then 47 | echo -e "${RED}[!] Invalid color!${RESET}" 48 | echo -e "${CYAN}[?] Colors must be in HEX format: 434C5E, f13${RESET}" 49 | echo -e "${CYAN}[-] Try again. Abort with CTRL+C.${RESET}" 50 | fi 51 | done 52 | done 53 | 54 | cp "template.svg" "${1}.svg" # Copy output file 55 | output_file=${1}".svg" 56 | 57 | sed -i "s/fffff9/${colors[0]}/g" "$output_file" # Top gradient color of the text 58 | sed -i "s/fffffa/${colors[1]}/g" "$output_file" # Bottom gradient color of the text 59 | sed -i "s/fffffb/${colors[2]}/g" "$output_file" # The upper outlines of the 'DOOM' text 60 | sed -i "s/fffffc/${colors[3]}/g" "$output_file" # The shadow 61 | sed -i "s/fffffd/${colors[4]}/g" "$output_file" # The background 62 | sed -i "s/fffffe/${colors[5]}/g" "$output_file" # Dot in the middle that the background gradients to 63 | 64 | echo -e "${GREEN}[+] Success!${RESET}" 65 | 66 | # Ask user for image preview 67 | if [[ $(command -v emacs) ]]; then 68 | read -r -n 1 -p "${CYAN}[>] Do you want to preview your image in Emacs? ${RESET}" input 69 | 70 | case "$input" in 71 | [yY]) 72 | echo "" 73 | echo -e "${CYAN} Opening Emacs...${RESET}" 74 | emacs "$output_file" 75 | ;; 76 | [nN]) 77 | exit 0 78 | ;; 79 | *) 80 | echo -e "${RED}[!] Incorrect input!${RESET}" 81 | ;; 82 | esac 83 | fi 84 | -------------------------------------------------------------------------------- /script/template.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 17 | 19 | 23 | 27 | 28 | 35 | 38 | 39 | 47 | 55 | 63 | 71 | 79 | 86 | 89 | 90 | 91 | 94 | 96 | 102 | 104 | 107 | 113 | 120 | 121 | 124 | 126 | 130 | 134 | 138 | 142 | 146 | 150 | 151 | 154 | 159 | 164 | 169 | 174 | 179 | 180 | 181 | 183 | 187 | 191 | 195 | 199 | 203 | 204 | 207 | 211 | 215 | 219 | 223 | 224 | 227 | 231 | 235 | 239 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 251 | 252 | 254 | 256 | 257 | 259 | 261 | 263 | 265 | 267 | 269 | 271 | 272 | 273 | 274 | 275 | -------------------------------------------------------------------------------- /svg/doom-emacs-splash-template.svg: -------------------------------------------------------------------------------- 1 | 2 | 13 | 15 | 17 | 21 | 25 | 26 | 33 | 36 | 37 | 45 | 53 | 61 | 69 | 77 | 84 | 87 | 88 | 89 | 92 | 94 | 100 | 102 | 105 | 111 | 118 | 119 | 122 | 124 | 128 | 132 | 136 | 140 | 144 | 148 | 149 | 152 | 157 | 162 | 167 | 172 | 177 | 178 | 179 | 181 | 185 | 189 | 193 | 197 | 201 | 202 | 205 | 209 | 213 | 217 | 221 | 222 | 225 | 229 | 233 | 237 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 249 | 250 | 252 | 254 | 255 | 257 | 259 | 261 | 263 | 265 | 267 | 269 | 270 | 271 | 272 | 273 | -------------------------------------------------------------------------------- /svg/doom/doom.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 17 | 19 | 23 | 27 | 28 | 30 | 34 | 38 | 39 | 41 | 45 | 49 | 50 | 58 | 66 | 73 | 76 | 77 | 84 | 87 | 88 | 95 | 98 | 99 | 109 | 110 | 113 | 116 | 122 | 128 | 131 | 135 | 139 | 143 | 147 | 151 | 155 | 156 | 157 | 158 | 160 | 161 | 163 | 165 | 166 | 168 | 170 | 172 | 174 | 176 | 178 | 180 | 181 | 182 | 183 | 184 | -------------------------------------------------------------------------------- /svg/doom/doomEmacs.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 17 | 19 | 23 | 27 | 28 | 35 | 38 | 39 | 47 | 55 | 63 | 71 | 79 | 86 | 89 | 90 | 91 | 94 | 96 | 102 | 104 | 107 | 113 | 120 | 121 | 124 | 126 | 130 | 134 | 138 | 142 | 146 | 150 | 151 | 154 | 159 | 164 | 169 | 174 | 179 | 180 | 181 | 183 | 187 | 191 | 195 | 199 | 203 | 204 | 207 | 211 | 215 | 219 | 223 | 224 | 227 | 231 | 235 | 239 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 251 | 252 | 254 | 256 | 257 | 259 | 261 | 263 | 265 | 267 | 269 | 271 | 272 | 273 | 274 | 275 | -------------------------------------------------------------------------------- /svg/doom/doomEmacsDoomOne.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 17 | 19 | 23 | 27 | 28 | 35 | 38 | 39 | 48 | 55 | 58 | 59 | 68 | 77 | 86 | 87 | 90 | 93 | 95 | 101 | 107 | 114 | 115 | 117 | 119 | 121 | 125 | 129 | 133 | 137 | 141 | 142 | 144 | 148 | 152 | 156 | 160 | 164 | 165 | 166 | 168 | 170 | 174 | 178 | 182 | 186 | 187 | 189 | 193 | 197 | 201 | 205 | 206 | 208 | 212 | 216 | 220 | 224 | 225 | 226 | 227 | 228 | 229 | 231 | 232 | 234 | 236 | 237 | 239 | 241 | 243 | 245 | 247 | 249 | 251 | 252 | 253 | 254 | 255 | -------------------------------------------------------------------------------- /svg/doom/doomEmacsDracula.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 17 | 19 | 23 | 27 | 28 | 30 | 34 | 38 | 39 | 41 | 45 | 49 | 50 | 52 | 56 | 60 | 61 | 68 | 71 | 72 | 81 | 90 | 99 | 108 | 115 | 118 | 119 | 120 | 123 | 126 | 132 | 134 | 140 | 147 | 148 | 150 | 153 | 157 | 161 | 165 | 169 | 173 | 174 | 177 | 181 | 185 | 189 | 193 | 197 | 198 | 199 | 201 | 203 | 207 | 211 | 215 | 219 | 220 | 224 | 228 | 232 | 236 | 240 | 241 | 245 | 249 | 253 | 257 | 261 | 262 | 263 | 264 | 265 | 267 | 268 | 270 | 272 | 273 | 275 | 277 | 279 | 281 | 283 | 285 | 287 | 288 | 289 | 290 | 291 | -------------------------------------------------------------------------------- /svg/doom/doomEmacsGruvbox.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 17 | 19 | 23 | 27 | 28 | 30 | 34 | 38 | 39 | 41 | 45 | 49 | 50 | 52 | 56 | 60 | 61 | 68 | 71 | 72 | 79 | 82 | 83 | 92 | 101 | 110 | 119 | 120 | 123 | 126 | 132 | 138 | 145 | 147 | 149 | 152 | 156 | 160 | 164 | 168 | 172 | 173 | 177 | 181 | 185 | 189 | 193 | 197 | 198 | 199 | 201 | 203 | 207 | 211 | 215 | 219 | 220 | 224 | 228 | 232 | 236 | 240 | 241 | 245 | 249 | 253 | 257 | 261 | 262 | 263 | 264 | 265 | 266 | 268 | 269 | 271 | 273 | 274 | 276 | 278 | 280 | 282 | 284 | 286 | 288 | 289 | 290 | 291 | 292 | -------------------------------------------------------------------------------- /svg/doom/doomEmacsRouge.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 17 | 19 | 23 | 27 | 28 | 30 | 34 | 38 | 39 | 41 | 45 | 49 | 50 | 52 | 56 | 60 | 61 | 68 | 71 | 72 | 81 | 90 | 99 | 108 | 115 | 118 | 119 | 120 | 123 | 126 | 128 | 134 | 140 | 147 | 148 | 150 | 152 | 154 | 158 | 162 | 166 | 170 | 174 | 175 | 179 | 183 | 187 | 191 | 195 | 199 | 200 | 201 | 203 | 205 | 209 | 213 | 217 | 221 | 222 | 226 | 230 | 234 | 238 | 242 | 243 | 246 | 250 | 254 | 258 | 262 | 263 | 264 | 265 | 266 | 267 | 269 | 270 | 272 | 274 | 275 | 277 | 279 | 281 | 283 | 285 | 287 | 289 | 290 | 291 | 292 | 293 | -------------------------------------------------------------------------------- /svg/doom/doomEmacsSolarized.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 17 | 19 | 23 | 27 | 28 | 30 | 34 | 38 | 39 | 41 | 45 | 49 | 50 | 52 | 56 | 60 | 61 | 68 | 71 | 72 | 79 | 82 | 83 | 92 | 101 | 110 | 119 | 120 | 123 | 126 | 132 | 138 | 145 | 147 | 149 | 152 | 156 | 160 | 164 | 168 | 172 | 173 | 177 | 181 | 185 | 189 | 193 | 197 | 198 | 199 | 201 | 203 | 207 | 211 | 215 | 219 | 220 | 224 | 228 | 232 | 236 | 240 | 241 | 244 | 248 | 252 | 256 | 260 | 261 | 262 | 263 | 264 | 265 | 267 | 268 | 270 | 272 | 273 | 275 | 277 | 279 | 281 | 283 | 285 | 287 | 288 | 289 | 290 | 291 | -------------------------------------------------------------------------------- /svg/doom/doomEmacsTokyoNight.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 17 | 19 | 23 | 27 | 28 | 30 | 34 | 38 | 39 | 41 | 45 | 49 | 50 | 52 | 56 | 60 | 61 | 68 | 71 | 72 | 81 | 90 | 99 | 108 | 115 | 118 | 119 | 120 | 123 | 126 | 128 | 134 | 140 | 147 | 148 | 150 | 152 | 154 | 158 | 162 | 166 | 170 | 174 | 175 | 179 | 183 | 187 | 191 | 195 | 199 | 200 | 201 | 203 | 205 | 209 | 213 | 217 | 221 | 222 | 226 | 230 | 234 | 238 | 242 | 243 | 246 | 250 | 254 | 258 | 262 | 263 | 264 | 265 | 266 | 267 | 269 | 270 | 272 | 274 | 275 | 277 | 279 | 281 | 283 | 285 | 287 | 289 | 290 | 291 | 292 | 293 | -------------------------------------------------------------------------------- /svg/doom/doomWithShadow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 17 | 19 | 23 | 27 | 28 | 30 | 34 | 38 | 39 | 41 | 45 | 49 | 50 | 58 | 66 | 73 | 76 | 77 | 84 | 87 | 88 | 95 | 98 | 99 | 109 | 116 | 119 | 120 | 121 | 124 | 127 | 134 | 137 | 143 | 149 | 152 | 156 | 160 | 164 | 168 | 172 | 176 | 177 | 178 | 179 | 180 | 182 | 183 | 185 | 187 | 188 | 190 | 192 | 194 | 196 | 198 | 200 | 202 | 203 | 204 | 205 | 206 | -------------------------------------------------------------------------------- /svg/emacs.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 17 | 19 | 23 | 27 | 28 | 37 | 38 | 41 | 43 | 46 | 50 | 54 | 58 | 59 | 61 | 66 | 71 | 72 | 73 | 74 | 75 | 77 | 78 | 80 | 82 | 83 | 85 | 87 | 89 | 91 | 93 | 95 | 97 | 98 | 99 | 100 | 101 | --------------------------------------------------------------------------------