Skip to content

Instantly share code, notes, and snippets.

@ali
Last active June 15, 2020 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ali/7c9a4f34d34077a6bf62d8009e39f925 to your computer and use it in GitHub Desktop.
Save ali/7c9a4f34d34077a6bf62d8009e39f925 to your computer and use it in GitHub Desktop.
/usr/share/applications/Hyper.desktop

Desktop entry for Hyper

You'll need:

  1. The included Hyper.desktop file
  2. This icon from the zeit/art repo: https://github.com/zeit/art/blob/525bd1bb39d97dd3b91c976106a6d5cc5766b678/hyper/mark/Hyper-Mark-120%403x.png

Instructions

  1. Save the icon to /usr/share/pixmaps/hyper.png
  2. Save the desktop entry to ~/.local/share/applications/Hyper.desktop

Notes

Would be cool to be able to use this SVG as the desktop icon: https://github.com/zeit/art/blob/525bd1bb39d97dd3b91c976106a6d5cc5766b678/hyper/mark/Hyper-Mark.svg When I tried it, it ended up looking transparent and only displayed the "⚡_" in white.

[Desktop Entry]
Name=Hyper
Comment=JS/HTML/CSS Terminal
Exec=Hyper
Icon=/usr/share/pixmaps/hyper.png
Terminal=false
Type=Application
Categories=Development;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment