From f030c261c59a38f577559ab8d063e552a288292c Mon Sep 17 00:00:00 2001 From: Matthew Fidler Date: Mon, 4 Apr 2016 16:13:53 -0500 Subject: [PATCH] Add png and xpm extension icons --- icons/ext-png.xpm | 78 +++++++++++++++++++++++++++++++++++++++++++++++ icons/ext-xpm.xpm | 76 +++++++++++++++++++++++++++++++++++++++++++++ mode-icons.el | 4 ++- 3 files changed, 157 insertions(+), 1 deletion(-) create mode 100644 icons/ext-png.xpm create mode 100644 icons/ext-xpm.xpm diff --git a/icons/ext-png.xpm b/icons/ext-png.xpm new file mode 100644 index 0000000..8f04fe3 --- /dev/null +++ b/icons/ext-png.xpm @@ -0,0 +1,78 @@ +/* XPM */ +static char * ext_png_xpm[] = { +"17 21 54 1", +" c #F5F5F5", +". c #DBDBDB", +"+ c #F8F8F8", +"@ c #FFFFFF", +"# c #2A2A2A", +"$ c #000000", +"% c #070707", +"& c #7C7C7C", +"* c #FDFDFD", +"= c #9A9A9A", +"- c #B7B7B7", +"; c #525252", +"> c #636363", +", c #D7D7D7", +"' c #999999", +") c #020202", +"! c #616161", +"~ c #FCFCFC", +"{ c #ADADAD", +"] c #060606", +"^ c #5F5F5F", +"/ c #BFBFBF", +"( c #0E0E0E", +"_ c #828282", +": c #7B7B7B", +"< c #939393", +"[ c #545454", +"} c #181818", +"| c #555555", +"1 c #0C0C0C", +"2 c #111111", +"3 c #A0A0A0", +"4 c #131313", +"5 c #A1A1A1", +"6 c #878787", +"7 c #1A1A1A", +"8 c #030303", +"9 c #EFEFEF", +"0 c #EEEEEE", +"a c #F3F3F3", +"b c #A9A9A9", +"c c #0F0F0F", +"d c #121212", +"e c #A5A5A5", +"f c #E1E1E1", +"g c #010101", +"h c #3B3B3B", +"i c #161616", +"j c #BCBCBC", +"k c #5A5A5A", +"l c #6B6B6B", +"m c #676767", +"n c #232323", +"o c #666666", +" ..........+@@@@@", +"#$$$$$$$$$$%&*@@@", +"$=--------$;$>*@@", +"$,@@@@@@@@$,')!~@", +"$,@@@@@@@@$,@{]^~", +"$,@@@@@@@@$,@@/(_", +"$,@@@@@@@@$:<<<[}", +"$,@@@@@@@@|$$$$$$", +"$,@@@@@@@@@@@@@,$", +"$,@@@@@@@@@@@@@,$", +"$,@123@$45@678@,$", +"$,@$9%@$0$@$a$@,$", +"$,@$@$@$@$@$@$@,$", +"$,@$@$@$@$@8a$@,$", +"$,@$9$@$@$@bc$@,$", +"$,@$de@$@$@@fg@,$", +"$,@$@@@@@@@hij@,$", +"$,@@@@@@@@@@@@@,$", +"$,@@@@@@@@@@@@@,$", +"$klllllllllllllkg", +"mnnnnnnnnnnnnnnno"}; diff --git a/icons/ext-xpm.xpm b/icons/ext-xpm.xpm new file mode 100644 index 0000000..07d5f77 --- /dev/null +++ b/icons/ext-xpm.xpm @@ -0,0 +1,76 @@ +/* XPM */ +static char * ext_xpm_xpm[] = { +"17 21 52 1", +" c #F5F5F5", +". c #DBDBDB", +"+ c #F8F8F8", +"@ c #FFFFFF", +"# c #2A2A2A", +"$ c #000000", +"% c #070707", +"& c #7C7C7C", +"* c #FDFDFD", +"= c #9A9A9A", +"- c #B7B7B7", +"; c #525252", +"> c #636363", +", c #D7D7D7", +"' c #999999", +") c #020202", +"! c #616161", +"~ c #FCFCFC", +"{ c #ADADAD", +"] c #060606", +"^ c #5F5F5F", +"/ c #BFBFBF", +"( c #0E0E0E", +"_ c #828282", +": c #7B7B7B", +"< c #939393", +"[ c #545454", +"} c #181818", +"| c #555555", +"1 c #2B2B2B", +"2 c #B1B1B1", +"3 c #0C0C0C", +"4 c #111111", +"5 c #A0A0A0", +"6 c #141414", +"7 c #2D2D2D", +"8 c #1D1D1D", +"9 c #888888", +"0 c #818181", +"a c #808080", +"b c #EFEFEF", +"c c #EEEEEE", +"d c #D8D8D8", +"e c #D5D5D5", +"f c #121212", +"g c #A5A5A5", +"h c #5A5A5A", +"i c #6B6B6B", +"j c #010101", +"k c #676767", +"l c #232323", +"m c #666666", +" ..........+@@@@@", +"#$$$$$$$$$$%&*@@@", +"$=--------$;$>*@@", +"$,@@@@@@@@$,')!~@", +"$,@@@@@@@@$,@{]^~", +"$,@@@@@@@@$,@@/(_", +"$,@@@@@@@@$:<<<[}", +"$,@@@@@@@@|$$$$$$", +"$,@@@@@@@@@@@@@,$", +"$,@@@@@@@@@@@@@,$", +"$,@121@345@$6789$", +"$,@0}a@$b%@$c$c$$", +"$,@d$e@$@$@$@$@$$", +"$,@d$e@$@$@$@$@$$", +"$,@0}a@$b$@$@$@$$", +"$,@121@$fg@$@$@$$", +"$,@@@@@$@@@@@@@,$", +"$,@@@@@@@@@@@@@,$", +"$,@@@@@@@@@@@@@,$", +"$hiiiiiiiiiiiiihj", +"klllllllllllllllm"}; diff --git a/mode-icons.el b/mode-icons.el index df43ee1..de3f8de 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -146,7 +146,7 @@ This was stole/modified from `c-save-buffer-state'" ("\\`Lisp Interaction\\'" "emacs" xpm) ("\\`HTML\\'" "html" xpm) ("\\`Haml\\'" "haml" xpm) - ("\\`Image[imagemagick]\\'" "svg" xpm) + ("\\`Image\\[imagemagick\\]\\'" "svg" xpm) ("\\`Inf-Ruby\\'" "infruby" xpm) ("\\`Java[Ss]cript\\'" "js" xpm) ("\\`Lisp\\'" "cl" xpm) @@ -235,6 +235,8 @@ This was stole/modified from `c-save-buffer-state'" ("\\`Javascript-IDE\\'" "js" xpm) ("\\` Undo-Tree\\'" ":palm_tree:" emoji) ("\\`LaTeX\\'" "tex" ext) + ("\\`Image\\[xpm\\]\\'" "xpm" ext) + ("\\`Image\\[png\\]\\'" "png" ext) ;; Diminished modes ("\\` \\(?:ElDoc\\|Anzu\\|SP\\|Guide\\|PgLn\\|Undo-Tree\\|Ergo.*\\|,\\|Isearch\\|Ind\\)\\'" nil nil)) "Icons for major and minor modes.