mirror of
https://github.com/deadnews/mc-onedark.git
synced 2026-02-26 09:18:36 +03:00
21
.pre-commit-config.yaml
Normal file
21
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: check-case-conflict
|
||||
- id: check-merge-conflict
|
||||
- id: check-toml
|
||||
- id: check-yaml
|
||||
- id: detect-private-key
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/executablebooks/mdformat
|
||||
rev: 0.7.16
|
||||
hooks:
|
||||
- id: mdformat
|
||||
additional_dependencies:
|
||||
- mdformat-toc
|
||||
- mdformat-gfm
|
||||
- mdformat-black
|
||||
37
README.md
37
README.md
@@ -2,7 +2,7 @@
|
||||
|
||||

|
||||
|
||||
# Theme variants
|
||||
## Theme variants
|
||||
|
||||
The mc OneDark theme comes in two flavors, an 8/16 color option (`onedark.ini`) and a 16M color option (`onedark16M.ini`). The 8/16 color version is entirely dependent on having installed the relevant OneDark theme for your terminal too as it uses the color palette fixed by your terminal.
|
||||
|
||||
@@ -10,22 +10,33 @@ See [Konsole](https://store.kde.org/p/1225908/) color scheme for example.
|
||||
|
||||
The 16M color version can be used independently of any terminal color scheme, but requires true color support in the terminal.
|
||||
|
||||
# Installation
|
||||
## Installation
|
||||
|
||||
Copy files from `./skins` to `~/.local/share/mc/skins` \
|
||||
Copy files from `./config` to `~/.config/mc/` (optional)
|
||||
- Copy files from `./skins` to `~/.local/share/mc/skins`
|
||||
- Copy files from `./config` to `~/.config/mc/` (optional)
|
||||
|
||||
## Activating ways
|
||||
|
||||
# Activating theme
|
||||
- Choose the skin through the mc UI with:
|
||||
|
||||
Option 1: edit `~/.config/mc/ini` and add `skin=onedark`: \
|
||||
`sed -i 's|\(^skin=\).*$|\1onedark|' ~/.config/mc/ini`
|
||||
```sh
|
||||
# F9 > Options > Appearance
|
||||
```
|
||||
|
||||
Option 2: choose the skin through the mc UI with: \
|
||||
`F9 > Options > Appearance`
|
||||
- Edit `~/.config/mc/ini` and add `skin=onedark`:
|
||||
|
||||
Option 3: run mc with specific skin: \
|
||||
`mc -S onedark`
|
||||
```sh
|
||||
sed -i 's|\(^skin=\).*$|\1onedark|' ~/.config/mc/ini
|
||||
```
|
||||
|
||||
Option 4: add `export MC_SKIN=onedark` to the initialization file of your shell (e.g., `~/.bashrc` or `~/.zshrc`): \
|
||||
`echo "export MC_SKIN=onedark" >> ~/.zshrc`
|
||||
- Run mc with specific skin:
|
||||
|
||||
```sh
|
||||
mc -S onedark
|
||||
```
|
||||
|
||||
- Add `export MC_SKIN=onedark` to the initialization file of your shell (e.g., `~/.bashrc` or `~/.zshrc`):
|
||||
|
||||
```sh
|
||||
echo "export MC_SKIN=onedark" >> ~/.zshrc
|
||||
```
|
||||
|
||||
@@ -47,4 +47,3 @@
|
||||
|
||||
[config]
|
||||
extensions=ini;conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user