Add .pre-commit-config.yaml (#2)

Update README.md
This commit is contained in:
DeadNews
2022-09-13 11:24:17 +02:00
committed by GitHub
parent 550e5a2f11
commit 53516bd5a1
4 changed files with 46 additions and 15 deletions

View File

@@ -2,7 +2,7 @@
![mc-onedark](https://raw.githubusercontent.com/DeadNews/mc-onedark/main/preview/Screenshot_20201219_204641.png)
# 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
```