Commit graph

176 commits

Author SHA1 Message Date
Dave Houston
b377cd9151 Update mode-icons.el
Fix the Clojure icon being off by one
2016-08-07 10:50:27 +01:00
Matthew L. Fidler
2e799a5d7b Add some shell icons
- Added function-based matching.
- Currently everything should be cached, except for things where
  function matching occurs. (may need some expansion)
- Should address Issue #36
2016-08-05 12:59:29 -05:00
Matthew L. Fidler
a31a43b90a Add org-agenda icon 2016-08-05 10:20:24 -05:00
Matthew L. Fidler
5176a7fe46 Allow gimp process to be killed without user intevention 2016-08-05 09:20:40 -05:00
Matthew L. Fidler
19d5d68ecd Add option mode-icons-line-height-adjust.
Can help with Issue #35
2016-08-05 08:59:57 -05:00
Matthew L. Fidler
48f8fd04bc Don't require window-mode-line-height.
Addresses Issue #38
2016-08-05 08:50:28 -05:00
Matthew L. Fidler
d02cbbddcb Allow a default Icon
- This is done by `mode-icons-use-default-icon'.
- This should fix Issue #34
2016-07-12 00:43:14 -05:00
Matthew L. Fidler
e380c293e5 Fix font icons that are missing fonts.
They need to match the xpm specifications
2016-05-31 19:08:44 -05:00
Matthew Fidler
878dee0dae Allow foreground and background to be nil.
This allows faces to return nil when looking at either their foreground
or background colors.  mode-icons will look for the specified face,
the mode-line face, the default face and if none of then have a
background or foreground assume either black (foreground) or
white (background).

This should fix the issue reported here:

https://github.com/mattfidler/tabbar-ruler.el/issues/38
2016-05-09 09:07:12 -05:00
Matthew Fidler
7ed6f6b479 Merge pull request #31 from CodeFalling/add-emoji-icon
add icon for spacemacs emoji layer
2016-05-01 22:34:55 -05:00
Matthew Fidler
a3eb0d083a Remove advice. May cause slow-down.
See Issue #29 and #30, perhaps also the tabbar-ruler issue:

https://github.com/mattfidler/tabbar-ruler.el/issues/37
2016-05-01 22:24:51 -05:00
codefalling
04011e199b add icon for spacemacs emoji layer 2016-05-02 10:57:49 +08:00
Matthew Fidler
6ad9b3ca87 Merge branch 'master' of github.com:ryuslash/mode-icons 2016-04-29 00:10:36 -05:00
Matthew Fidler
4a089aa41d Update icons after executing a command.
There should be no lag when activating a minor mode.
2016-04-28 23:33:33 -05:00
Matthew Fidler
fcbc6b47bc Add isearch-mode icon 2016-04-28 23:30:39 -05:00
Matthew Fidler
7c28163776 Fix powerline-raw to recolor images.
Fix mode-icons--recolor-string to handle composed font glyphs
2016-04-28 23:20:47 -05:00
codefalling
82f9cc9c32 add markdown support for spacemacs
spacemacs markdown layer use `GFM` instead of `Markdown`
2016-04-28 11:05:06 +08:00
Matthew Fidler
fa239e6ad8 Add a convert all png to xpm function 2016-04-26 12:30:12 -05:00
codefalling
adad9e8fa4 add spacemacs icon for spacemacs home 2016-04-26 22:55:32 +08:00
37581ed911 Bump version 2016-04-25 11:25:26 +02:00
Matthew Fidler
eaf93f52d3 Add automatic font setup 2016-04-21 08:57:05 -05:00
Matthew Fidler
f73550e9bf Fix some byte-compiler warnings 2016-04-21 08:25:17 -05:00
Matthew Fidler
7a12fb28d2 Save buffer state more often 2016-04-21 08:20:36 -05:00
Matthew Fidler
46b2659225 Fix icon-spec for minor-modes 2016-04-21 08:11:16 -05:00
Matthew Fidler
9241db6f21 Fix some calls to mode-icons-propertize-mode
Should Fix Issue #26
2016-04-21 08:08:23 -05:00
Matthew Fidler
6ba8b2ba36 Add auto-indent icon 2016-04-19 08:39:54 -05:00
Matthew Fidler
f03ae96e95 Fix image call by adding data argument
-Also make sure image type is specified
2016-04-13 13:59:03 -05:00
Matthew Fidler
3d9d4c5a63 Add :height property to images
This allows rescaling with imagemagick.
2016-04-13 11:31:56 -05:00
Matthew Fidler
c5ce3cdfab Use imagemagick when available 2016-04-12 14:03:43 -05:00
Matthew Fidler
fe1171a663 Merge branch 'master' of github.com:ryuslash/mode-icons 2016-04-11 07:51:17 -05:00
Matthew Fidler
5937dbe9c8 Change to -get-face to --get-face,
Also use (mode-icons--generate-minor-mode-list face) in powerline
2016-04-11 07:49:43 -05:00
44d59ae0ba Add missing setq argument
Emacs 25 requires ‘setq’ to have an even number of arguments. Previously
a ‘setq’ call with a single argument was allowed to mean the same as if
nil was passed as the second argument, but this has been changed.

Fix #23
2016-04-11 10:43:06 +02:00
Matthew Fidler
dfdfb573e4 One face function 2016-04-07 10:22:27 -05:00
Matthew Fidler
0f1c9fcefa Pass active state to most functions 2016-04-07 09:34:55 -05:00
Matthew Fidler
d2ad4e7784 Check to make sure the buffer hasn't been deleted. 2016-04-06 11:01:16 -05:00
Matthew Fidler
2ad7e8409e Reset only once
Also make sure the minor modes are reset in the same buffer as the
major mode.
2016-04-06 09:52:18 -05:00
Matthew Fidler
a059182cf3 Reset twice, once to ensure the minor mode is reset 2016-04-06 09:30:56 -05:00
Matthew Fidler
2812f30418 Staging additional changes for Issue #22 2016-04-06 09:26:50 -05:00
Matthew Fidler
5644871fa3 mode-icons-get-icon-display works for all types.
Fix Issue #22
2016-04-06 09:23:28 -05:00
Matthew Fidler
f030c261c5 Add png and xpm extension icons 2016-04-04 16:13:53 -05:00
Matthew Fidler
049b8d93de Change message mode icon. 2016-04-04 14:50:13 -05:00
Matthew Fidler
d31b9283ff Add 'ext type that creates generic icons.
Requires gimp, FontAwesome and Haettenschweiler to generate
2016-04-04 12:35:54 -05:00
Matthew Fidler
6ebd76ab71 Better powerline support 2016-04-04 10:41:20 -05:00
Matthew Fidler
8897af5b4a Flatten & anti-alias greyscale xpms.
Also fix major-mode rendering
2016-04-04 10:01:07 -05:00
Matthew Fidler
ec1f3b7472 Generate xpms for font icons, when not present
Also use generate xpms when font icons are not present
2016-04-04 08:15:38 -05:00
Matthew Fidler
f1e6f30d85 Fix Javascript indicator 2016-04-01 22:05:13 -05:00
Matthew Fidler
80afd3b1c3 Add back font support. 2016-04-01 22:00:13 -05:00
Matthew Fidler
72255f753d Fall back to mode-name if not generated yet. 2016-04-01 21:51:49 -05:00
Matthew Fidler
a180dfb035 Convert png type to xpm with gimp.
Allows grayscale conversion of xpm files
2016-04-01 21:49:13 -05:00
Matthew Fidler
bdbd35e2fd Add gimp support and convert png->xpm with gimp.
Also change 🌿 to 🌴 for Undo-Tree mode. Add xpm (generated
by script).
2016-04-01 21:10:43 -05:00