Skip to content

Commit

Permalink
Enable plugin
Browse files Browse the repository at this point in the history
and modified README.md accordingly
  • Loading branch information
lmintmate committed Nov 4, 2017
1 parent b360a40 commit 9cfd4e5
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
!LICENSE
!bluemood-tc.micro
!README.md
!bluemood-tc.lua
!repo.json
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,23 @@ This is a port of [emacs's Blue Mood theme](https://emacsthemes.com/themes/blue-
This theme requires a terminal emulator that supports true color<sup>[1](#myfootnote1)</sup> and micro's true color mode to be enabled for it to look the intended way (the background color for example appears with a radically different color without true color). To enable true color for micro, write `export MICRO_TRUECOLOR=1` in your shell config file (e.g. .bashrc,.zshrc e.t.c).
Keep in mind that this port doesn't correspond 100% to the original emacs theme, due to the differences of micro's theming system in comparison to emacs's theming system.

## Installation
## Installation & Activation

For the moment, only a manual install is available.
### Automatic

### Manual
This theme is available as third-party plugin repository.

Copy the bluemood-tc.micro file to the colorschemes directory: `~/.config/micro/colorschemes` (if the folder doesn't exist, create it) or `~/micro/colorschemes` .
1. Add to your settings.json file (at `~/.config/micro` or `~/micro`), between the pluginrepos brackets, the following: `https://raw.githubusercontent.com/lmintmate/blue-mood-micro/master/repo.json`. The end result should look something like:
`"pluginrepos": [https://raw.githubusercontent.com/lmintmate/blue-mood-micro/master/repo.json],`
2. Start up micro (or restart it if it was open when the settings were modified)
3. Enter the command mode (with CtrlE) and write `plugin install bluemood-tc`. Look at `>help commands` for further plugin management commands (e.g. update, remove e.t.c).
4. To enable the theme write `set colorscheme bluemood-tc`

## Activation
### Manual

1. Start up micro (or restart it if it was open when the file was copied over)
2. Enter the command mode (with CtrlE)
3. Write "set colorscheme bluemood-tc".
1. Copy the bluemood-tc.micro file to the colorschemes directory: `~/.config/micro/colorschemes` (if the folder doesn't exist, create it) or `~/micro/colorschemes` .
2. Start up micro (or restart it if it was open when the file was copied over)
3. Enter the command mode (with CtrlE) and write `set colorscheme bluemood-tc`.

### Tested on...

Expand Down
3 changes: 3 additions & 0 deletions bluemood-tc.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
VERSION = "1.0.0"

AddRuntimeFile("bluemood-tc", "colorscheme", "bluemood-tc.micro")
14 changes: 14 additions & 0 deletions repo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[{
"Name": "bluemood-tc",
"Description": "A port of emacs Blue Mood theme for the micro text editor",
"Tags": ["colorscheme", "colorschemes", "blue", "theme", "themes"],
"Versions": [
{
"Version": "1.0.0",
"Url": "https://github.com/lmintmate/blue-mood-micro/archive/1.0.0.zip",
"Require": {
"micro": ">=1.1.3"
}
}
]
}]

0 comments on commit 9cfd4e5

Please sign in to comment.