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
2049cc5f19
Add auto-indent minor mode
2016-04-19 08:42:54 -05:00
Matthew Fidler
771259193a
Add description of how to add xpm font images
2016-04-19 08:41:24 -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
ee94715ba7
Describe changes to xpm rendering of fonts.
...
All these changes should address Issue #18
2016-04-04 08:32:02 -05:00
Matthew Fidler
30b56c9c37
Add generated icons
2016-04-04 08:18:10 -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
Matthew Fidler
7c1de479b3
Add emoji support. (Undo-Tree = 🌿 )
...
Allow undo-tree to have the 🌿 emoji
Addresses Issue #20
2016-04-01 01:28:18 -05:00
Matthew Fidler
fd94d1a276
Add mode-icons-grayscale-transform option
2016-04-01 00:13:00 -05:00
Matthew Fidler
6fe8f3d1b6
Allow powerline to recolor mode-images
2016-03-31 23:34:44 -05:00
Matthew Fidler
9403061cbf
Allow desaturated mode-line icons.
2016-03-31 12:38:09 -05:00
Matthew Fidler
34dc1e8851
Display ergoemacs-mode icon.
...
Take out the undo redo madness
2016-03-31 08:59:50 -05:00
Matthew Fidler
98d03def53
Cache based on custom enabled themes.
2016-03-31 08:34:05 -05:00
Matthew Fidler
c9150dc0c4
Drop unused variables.
2016-03-31 00:18:05 -05:00
Matthew Fidler
b014d746ea
Support multiple types of icons for color changes.
...
These functions now support the xpm-bw type
- mode-icons--generate-narrow
- mode-icons--read-only-status
- mode-icons--modified-construct
- mode-icons--mode-line-eol-desc
This is done by running `mode-icons-propertize-mode`
2016-03-31 00:07:37 -05:00
Matthew Fidler
eabe9b05ca
Fix mis-spelling
2016-03-30 23:51:06 -05:00
Matthew Fidler
9d2d20f2c3
Allow xpm-bw with major-modes.
...
Also add option mode-icons-change-mode-name to suppress changing the
actual mode-name and just displaying the icons.
2016-03-30 23:42:55 -05:00
Matthew Fidler
ff29219bd2
Expand description
2016-03-30 16:01:18 -05:00
Matthew Fidler
3388b75efe
Speed up mode-line calculation
2016-03-30 16:00:21 -05:00
Matthew Fidler
a18ec9cfc7
Allow minor-modes images to change color.
...
This is based on if the window is active.
2016-03-30 15:32:36 -05:00
Matthew Fidler
6df4182846
Add name for mode icons with modifiable colors
2016-03-30 14:54:05 -05:00
Matthew Fidler
160f814b0d
Remove double // in file names
2016-03-30 14:21:50 -05:00
Matthew Fidler
069cc21c7f
Cleanup documentation & code
2016-03-30 14:18:14 -05:00
Matthew Fidler
323b48e416
Mode icons now updates based on an idle timer
...
- This should allow modes to turn on in a hook and still being
recognized by mode-icons.
- This may also address issue #19
2016-03-30 13:52:40 -05:00
Matthew Fidler
d493f67631
Tag more grayscale images
2016-03-30 13:32:08 -05:00
Matthew Fidler
6df89d5781
Allow gray-scale icons color changing icons.
...
Change golden-ratio mode to be a color changing icon
2016-03-30 10:58:50 -05:00