From 1b9e073c69eda60bed93fb9cb2d5eab9856a9cfa Mon Sep 17 00:00:00 2001 From: Fidler Date: Mon, 16 Jan 2017 14:29:44 -0600 Subject: [PATCH] Add ivy-mode icon --- CHANGELOG.md | 1 + icons/ext-png.xpm | 144 ++++++++++++++++++++++------------------------ icons/ivy.xpm | 21 +++++++ mode-icons.el | 1 + 4 files changed, 91 insertions(+), 76 deletions(-) create mode 100644 icons/ivy.xpm diff --git a/CHANGELOG.md b/CHANGELOG.md index da2c795..fc6dc91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Icon for Windows cmd - Icon for MSYS shell - Icon for Cygwin shell +- Icon for ivy-mode - Added option mode-icons-line-height-adjust to allow imagmagick to adjust icons up or down a bit compared to what emacs returns as the mode-line height. diff --git a/icons/ext-png.xpm b/icons/ext-png.xpm index 8f04fe3..074f7bb 100644 --- a/icons/ext-png.xpm +++ b/icons/ext-png.xpm @@ -1,78 +1,70 @@ /* 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"}; +"18 21 46 1", +" c #F7F7F7", +". c #DCDCDC", +"+ c #DBDBDB", +"@ c #F2F2F2", +"# c #FFFFFF", +"$ c #282828", +"% c #000000", +"& c #020202", +"* c #5C5C5C", +"= c #F5F5F5", +"- c #6A6A6A", +"; c #B7B7B7", +"> c #444444", +", c #090909", +"' c #414141", +") c #939393", +"! c #BABABA", +"~ c #424242", +"{ c #F6F6F6", +"] c #616161", +"^ c #555555", +"/ c #030303", +"( c #F3F3F3", +"_ c #434343", +": c #0C0C0C", +"< c #111111", +"[ c #A0A0A0", +"} c #131313", +"| c #A1A1A1", +"1 c #878787", +"2 c #1A1A1A", +"3 c #EFEFEF", +"4 c #070707", +"5 c #EEEEEE", +"6 c #A9A9A9", +"7 c #0F0F0F", +"8 c #121212", +"9 c #A5A5A5", +"0 c #E1E1E1", +"a c #010101", +"b c #3B3B3B", +"c c #161616", +"d c #BCBCBC", +"e c #535353", +"f c #8F8F8F", +"g c #676767", +" .+++++++++@######", +"$%%%%%%%%%%&*=####", +"%-;;;;;;;;%>,'=###", +"%)########%)!,~{##", +"%)########%)#!,>{#", +"%)########%)##!,]#", +"%)########%^)))>/(", +"%)########_%%%%%%+", +"%)#############;%+", +"%)#############;%+", +"%)#:<[#%}|#12/#;%+", +"%)#%34#%5%#%(%#;%+", +"%)#%#%#%#%#%#%#;%+", +"%)#%#%#%#%#/(%#;%+", +"%)#%3%#%#%#67%#;%+", +"%)#%89#%#%##0a#;%+", +"%)#%#######bcd#;%+", +"%)#############;%+", +"%)#############;%+", +"%efffffffffffffg%.", +"_%%%%%%%%%%%%%%%$ "}; diff --git a/icons/ivy.xpm b/icons/ivy.xpm new file mode 100644 index 0000000..664e294 --- /dev/null +++ b/icons/ivy.xpm @@ -0,0 +1,21 @@ +/* XPM */ +static char * c:\EmacsPortable_App\Data\src\mode_icons\icons\ivy_xpm[] = { +"16 16 2 1", +" c None", +". c #000000", +" .. ", +" .. ", +" .... ", +" .... ", +" ...... ", +" ...... ", +" ....... ", +".... ...... ....", +"................", +"............... ", +" .............. ", +" ............ ", +" .......... ", +" .... .... ", +" .......... ", +" ... ... "}; diff --git a/mode-icons.el b/mode-icons.el index a9c635f..f8e42ad 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -189,6 +189,7 @@ This was stole/modified from `c-save-buffer-state'" ("\\`Custom\\'" #xf013 FontAwesome) ("\\`Go\\'" "go" xpm) ("\\` ?Rbow\\'" "rainbow" xpm) + ("\\` ?ivy\\'" "ivy" xpm) ;; Icon created by Philipp Lehmann from the Noun Project https://thenounproject.com/search/?q=ivy&i=329756 ("\\` ?ICY\\'" "icy" xpm) ;; http://www.clipartpal.com/clipart_pd/weather/ice_10206.html ("\\` ?Golden\\'" "golden" xpm-bw) ;; Icon created by Arthur Shlain from Noun Project ("\\`BibTeX\\'\\'" "bibtex" xpm-bw)