Skip to content

jaidetree/doom-icon

Repository files navigation

DOOM Icon

A fancy alternative Doom Emacs icon.

./cute-doom/src/doom.iconset/icon_128x128.png

./abject-doom/src/doom.iconset/icon_128x128.png

Inspiration

After spending the past 10 days learning Emacs Doom, I’ve been really enjoying learning more about emacs, org, doom, and especially emacs-lisp. It’s no longer intimidating! When installing Emacs Plus it comes (or at least, it used to) come with the Spacemacs icon. It looks good, but it’s just not Doom. This is Doom.

The game Doom inspired the emacs hacker Henrik Lissner so naturally a cacodemon felt like the most interesting source to draw from and now here we are.

What’s next?

Collect feedback

Make alterations, refine shapes, fix any bad resizes

Try digitally painting a version

Can pull more life, texture, and structure out of the character

Try 3D modeling a version

Seems like good practice for Blender’s sculpting tools

Goals

  • Create a PR for emacs-plus 📦
  • Push myself creatively 🎨
  • Have fun 😎

Questions

How do I use this icon?

On OS X

  • Download the doom.icns file from one of the available icon directories
  • In another tab or window, open the directory containing your Emacs.app
  • Right or option-click Emacs.app and select “Get Info”
  • Drag the `doom.icns` file to the icon on the top-left of the “Get Info” window

./howto-use-icon.gif

Or (Thanks to @smallwat3r)

EMACS_APP="/Applications/Emacs.app"
curl -o /tmp/doom.png https://raw.githubusercontent.com/eccentric-j/doom-icon/master/cute-doom/doom.png &&
  sips -i /tmp/doom.png >/dev/null &&
  DeRez -only icns /tmp/doom.png >/tmp/icns.rsrc &&
  Rez -append /tmp/icns.rsrc -o "$EMACS_APP"$'/Icon\r' &&
  SetFile -a C "$EMACS_APP" &&
  SetFile -a V "$EMACS_APP"$'/Icon\r'

Linux

(Thanks to @drchsl)

ICON="$HOME/.local/share/icons/doom.png"
DESKTOP_FILE=/usr/local/share/applications/emacs.desktop
wget https://raw.githubusercontent.com/eccentric-j/doom-icon/master/cute-doom/doom.png -O "$ICON" &&
sudo --preserve-env=ICON,DESKTOP_FILE sed -i "s|Icon=.*|Icon=$ICON|" $DESKTOP_FILE

Windows

(Thanks to @elken)

  • Download the doom.ico file from one of the available icon directories
  • Keep the containing directory open
  • Download Resource Hacker
  • Save in a useful place

Repeat the below section for both emacs.exe and emacsclientw.exe

Replace icon for exe
  • Locate your emacs install directory (depends on if it has been installer with choco or the official installer)
  • Open Resource Hacker
  • Drag the exe into the window
  • Left click on “Icon” on the left tree
  • Right click -> Replace icon
  • Locate the ICO file from before
  • Replace
  • Save

Want feedback?

Yes please! I love design-focused feedback. For example, “Can you change x so that y because z?” is much more helpful to me than “x hurts my eyes”.

Since you shared the sources would you be open to PRs with improvements?

Very yes!

What if I made my own icon I would like to add as an alternative?

Alternatives are welcome! Please note, there are some requirements:

Could the png, .icns, and .ico be generated automatically from a gh action?

This is a good idea and PRs are welcome but I don’t think it’s worth it until there are more alternatives.

So you’re trying to make this hideous thing the default\official Doom Emacs Icon?

Nope. It would be great if it was an additional option for builds like Emacs Plus.

What if I’m seeing the icon and I hate it. I even kinda hate you a little bit for even making it?

That’s pretty brutal comrade. But if you feel that way, it is what it is.

Are you really going to do a digital painting and 3D model it?

Ideally yes! I have some experience with both those mediums and it seems like a fun project. Depends on the feedback and motivation of course.

How do I convert the iconset folder into an icns file?

iconutil -c icns ./doom.iconset

How come you used Adobe Illustrator and Adobe XD instead of other open-source projects?

That’s what I like, that’s what I’m used to. If you want to make a PR to replace these icons more power to you.

Do you feel you’re maybe overthinking this?

Yes! Yes I probably am.

Special Thanks

People who have inspired or contributed to this project

  • @drchsl
  • @elken
  • @shankar2k
  • @tecosaur

Development

Releases

To create a .zip of all the icons without the source files run the following command:

./scripts/release --latest