Add glow config

Also deprecate neovim config.
This commit is contained in:
Hoang Nguyen 2021-07-03 02:48:06 +03:00
parent 3b6e1e931b
commit b080c54e5b
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
57 changed files with 427 additions and 3 deletions

View File

@ -31,7 +31,6 @@
### :star2: Credits
- [@ChristianChiarulli](https://github.com/ChristianChiarulli)'s Neovim config
- [@hlissner](https://github.com/hlissner)'s zsh config
- [@daviwil](https://github.com/daviwil)'s/[@tecosaur](https://tecosaur.github.io/emacs-config/config.html)'s Emacs configurations
- [@begs](https://git.sr.ht/~begs/dotfiles)'s Waybar config

View File

@ -106,6 +106,7 @@ cp -rfv ./home/.config/fontconfig/ ~/.config/fontconfig/
cp -rfv ./home/.config/gallery-dl/ ~/.config/gallery-dl/
cp -rfv ./home/.config/GIMP/ ~/.config/GIMP/
cp -rfv ./home/.config/git/ ~/.config/git/
cp -rfv ./home/.config/glow/ ~/.config/glow/
cp -rfv ./home/.config/gtk-3.0/ ~/.config/gtk-3.0/
# cp -rfv ./home/.config/lazygit/ ~/.config/lazygit/
# cp -rfv ./home/.config/lite-xl/ ~/.config/lite-xl/

View File

@ -0,0 +1,10 @@
# style name or JSON path (default "auto")
style: "~/.config/glow/styles/nord.json"
# show local files only; no network (TUI-mode only)
local: false
# mouse support (TUI-mode only)
mouse: true
# use pager to display markdown
pager: false
# word-wrap at width
width: 80

View File

@ -0,0 +1,203 @@
{
"document": {
"block_prefix": "\n",
"block_suffix": "\n",
"color": "#d8dee9",
"margin": 2
},
"block_quote": {
"indent": 1,
"indent_token": "│ "
},
"paragraph": {},
"list": {
"level_indent": 2
},
"heading": {
"block_suffix": "\n",
"color": "#81a1c1",
"bold": true
},
"h1": {
"prefix": " ",
"suffix": " ",
"color": "#ebcb8b",
"background_color": "#5e81ac",
"bold": true
},
"h2": {
"prefix": "## "
},
"h3": {
"prefix": "### "
},
"h4": {
"prefix": "#### "
},
"h5": {
"prefix": "##### "
},
"h6": {
"prefix": "###### ",
"color": "#88c0d0",
"bold": false
},
"text": {},
"strikethrough": {
"crossed_out": true
},
"emph": {
"italic": true
},
"strong": {
"bold": true
},
"hr": {
"color": "#3b4252",
"format": "\n--------\n"
},
"item": {
"block_prefix": "• "
},
"enumeration": {
"block_prefix": ". "
},
"task": {
"ticked": "[✓] ",
"unticked": "[ ] "
},
"link": {
"color": "#8fbcbb",
"underline": true
},
"link_text": {
"color": "#a3be8c",
"bold": true
},
"image": {
"color": "#b48ead",
"underline": true
},
"image_text": {
"color": "#4c566a",
"format": "Image: {{.text}} →"
},
"code": {
"prefix": " ",
"suffix": " ",
"color": "#d08770",
"background_color": "#434c5e"
},
"code_block": {
"color": "#d8dee9",
"margin": 2,
"chroma": {
"text": {
"color": "#d8dee9"
},
"error": {
"color": "#bf616a"
},
"comment": {
"color": "#616e87",
"italic": true
},
"comment_preproc": {
"color": "#5e81ac"
},
"keyword": {
"color": "#81a1c1",
"bold": true
},
"keyword_reserved": {
"color": "#81a1c1",
"bold": false
},
"keyword_namespace": {
"color": "#81a1c1",
"bold": false
},
"keyword_type": {
"color": "#81a1c1",
"bold": false
},
"operator": {
"color": "#81a1c1"
},
"punctuation": {
"color": "#eceff4"
},
"name": {
"color": "#d8dee9"
},
"name_builtin": {
"color": "#81a1c1"
},
"name_tag": {
"color": "#81a1c1"
},
"name_attribute": {
"color": "#8fbcbb"
},
"name_class": {
"color": "#8fbcbb"
},
"name_constant": {
"color": "#8fbcbb"
},
"name_decorator": {
"color": "#d08770"
},
"name_exception": {
"color": "#bf616a"
},
"name_function": {
"color": "#88c0d0"
},
"name_other": {},
"literal": {},
"literal_number": {
"color": "#b48ead"
},
"literal_date": {},
"literal_string": {
"color": "#a3be8c"
},
"literal_string_escape": {
"color": "#ebcb8b"
},
"generic_deleted": {
"color": "#bf616a"
},
"generic_emph": {
"italic": true
},
"generic_inserted": {
"color": "#4c566a",
"bold": true
},
"generic_strong": {
"bold": true
},
"generic_subheading": {
"color": "#88c0d0",
"bold": true
},
"background": {
"background_color": "#2e3440"
}
}
},
"table": {
"center_separator": "┼",
"column_separator": "│",
"row_separator": "─"
},
"definition_list": {},
"definition_term": {},
"definition_description": {
"block_prefix": "\n🠶 "
},
"html_block": {},
"html_span": {}
}

View File

@ -0,0 +1,197 @@
{
"document": {
"block_prefix": "\n",
"block_suffix": "\n",
"color": "#abb2bf",
"margin": 2
},
"block_quote": {
"indent": 1,
"indent_token": "│ "
},
"paragraph": {},
"list": {
"level_indent": 2
},
"heading": {
"block_suffix": "\n",
"color": "#61afef",
"bold": true
},
"h1": {
"prefix": " ",
"suffix": " ",
"color": "#e5c07b",
"background_color": "#61afef",
"bold": true
},
"h2": {
"prefix": "## "
},
"h3": {
"prefix": "### "
},
"h4": {
"prefix": "#### "
},
"h5": {
"prefix": "##### "
},
"h6": {
"prefix": "###### ",
"color": "#56b6c2",
"bold": false
},
"text": {},
"strikethrough": {
"crossed_out": true
},
"emph": {
"italic": true
},
"strong": {
"bold": true
},
"hr": {
"color": "#3e4452",
"format": "\n--------\n"
},
"item": {
"block_prefix": "• "
},
"enumeration": {
"block_prefix": ". "
},
"task": {
"ticked": "[✓] ",
"unticked": "[ ] "
},
"link": {
"color": "#5699af",
"underline": true
},
"link_text": {
"color": "#98c379",
"bold": true
},
"image": {
"color": "#c678dd",
"underline": true
},
"image_text": {
"color": "#4b5263",
"format": "Image: {{.text}} →"
},
"code": {
"prefix": " ",
"suffix": " ",
"color": "#d19a66",
"background_color": "#4b5263"
},
"code_block": {
"color": "#b0c4de",
"margin": 2,
"chroma": {
"text": {
"color": "#b0c4de"
},
"error": {
"color": "#b0c4de"
},
"comment": {
"color": "#8a93a5",
"italic": true
},
"comment_preproc": {
"bold": true
},
"keyword": {
"color": "#c678dd"
},
"keyword_reserved": {},
"keyword_namespace": {
"color": "#b756ff",
"bold": true
},
"keyword_type": {
"color": "#ef8383"
},
"operator": {
"color": "#c7bf54"
},
"punctuation": {
"color": "#b0c4de"
},
"name": {
"color": "#c1abea"
},
"name_builtin": {
"color": "#ef8383"
},
"name_tag": {
"color": "#e06c75"
},
"name_attribute": {
"color": "#b3d23c"
},
"name_class": {
"color": "#76a9f9"
},
"name_constant": {
"color": "#b756ff",
"bold": true
},
"name_decorator": {
"color": "#e5c07b"
},
"name_exception": {
"color": "#fd7474",
"bold": true
},
"name_function": {
"color": "#00b1f7"
},
"name_other": {},
"literal": {},
"literal_number": {
"color": "#d19a66"
},
"literal_date": {},
"literal_string": {
"color": "#98c379"
},
"literal_string_escape": {
"color": "#d26464",
"bold": true
},
"generic_deleted": {},
"generic_emph": {
"italic": true
},
"generic_inserted": {
"color": "#a6e22e"
},
"generic_strong": {
"bold": true
},
"generic_subheading": {
"color": "#a2cbff"
},
"background": {
"background_color": "#282c34"
}
}
},
"table": {
"center_separator": "┼",
"column_separator": "│",
"row_separator": "─"
},
"definition_list": {},
"definition_term": {},
"definition_description": {
"block_prefix": "\n🠶 "
},
"html_block": {},
"html_span": {}
}

9
nvim-old/README.md Normal file
View File

@ -0,0 +1,9 @@
### Old Neovim config
This is my old Neovim config, using [vim-plug](https://github.com/junegunn/vim-plug) and [coc.nvim](https://github.com/neoclide/coc.nvim).
It is not maintained anymore, you should look for [the new config in Lua](../home/.config/nvim/init.lua) instead.
### Credits
- [@ChristianChiarulli](https://github.com/ChristianChiarulli)'s old Neovim config

3
setup/README.md Normal file
View File

@ -0,0 +1,3 @@
### Setup
Contains some scripts for quicker installing / compiling stuff I like.

View File

@ -1,6 +1,8 @@
# System notes
### System
## Networking
This directory contains some system configuration templates.
### Networking notes
To setup networking without any network managers, dhcp client, etc.