diff --git a/README.md b/README.md index 24f9c43..c52ff67 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/deploy.sh b/deploy.sh index 0a741bd..ec4d84b 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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/ diff --git a/home/.config/glow/glow.yml b/home/.config/glow/glow.yml new file mode 100644 index 0000000..af08628 --- /dev/null +++ b/home/.config/glow/glow.yml @@ -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 diff --git a/home/.config/glow/styles/nord.json b/home/.config/glow/styles/nord.json new file mode 100644 index 0000000..f3ec806 --- /dev/null +++ b/home/.config/glow/styles/nord.json @@ -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": {} +} diff --git a/home/.config/glow/styles/onedark.json b/home/.config/glow/styles/onedark.json new file mode 100644 index 0000000..1aef929 --- /dev/null +++ b/home/.config/glow/styles/onedark.json @@ -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": {} +} diff --git a/nvim-old/README.md b/nvim-old/README.md new file mode 100644 index 0000000..9aba981 --- /dev/null +++ b/nvim-old/README.md @@ -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 diff --git a/home/.config/nvim/coc-settings.json b/nvim-old/coc-settings.json similarity index 100% rename from home/.config/nvim/coc-settings.json rename to nvim-old/coc-settings.json diff --git a/home/.config/nvim/ftplugin/markdown.vim b/nvim-old/ftplugin/markdown.vim similarity index 100% rename from home/.config/nvim/ftplugin/markdown.vim rename to nvim-old/ftplugin/markdown.vim diff --git a/home/.config/nvim/ftplugin/tex.vim b/nvim-old/ftplugin/tex.vim similarity index 100% rename from home/.config/nvim/ftplugin/tex.vim rename to nvim-old/ftplugin/tex.vim diff --git a/home/.config/nvim/ftplugin/vimwiki.vim b/nvim-old/ftplugin/vimwiki.vim similarity index 100% rename from home/.config/nvim/ftplugin/vimwiki.vim rename to nvim-old/ftplugin/vimwiki.vim diff --git a/home/.config/nvim/general/basic-settings.vim b/nvim-old/general/basic-settings.vim similarity index 100% rename from home/.config/nvim/general/basic-settings.vim rename to nvim-old/general/basic-settings.vim diff --git a/home/.config/nvim/init.vim b/nvim-old/init.vim similarity index 100% rename from home/.config/nvim/init.vim rename to nvim-old/init.vim diff --git a/home/.config/nvim/lua/_colorizer.lua b/nvim-old/lua/_colorizer.lua similarity index 100% rename from home/.config/nvim/lua/_colorizer.lua rename to nvim-old/lua/_colorizer.lua diff --git a/home/.config/nvim/plug-config/airline.vim b/nvim-old/plug-config/airline.vim similarity index 100% rename from home/.config/nvim/plug-config/airline.vim rename to nvim-old/plug-config/airline.vim diff --git a/home/.config/nvim/plug-config/ale.vim b/nvim-old/plug-config/ale.vim similarity index 100% rename from home/.config/nvim/plug-config/ale.vim rename to nvim-old/plug-config/ale.vim diff --git a/home/.config/nvim/plug-config/cheat_sh.vim b/nvim-old/plug-config/cheat_sh.vim similarity index 100% rename from home/.config/nvim/plug-config/cheat_sh.vim rename to nvim-old/plug-config/cheat_sh.vim diff --git a/home/.config/nvim/plug-config/choosewin.vim b/nvim-old/plug-config/choosewin.vim similarity index 100% rename from home/.config/nvim/plug-config/choosewin.vim rename to nvim-old/plug-config/choosewin.vim diff --git a/home/.config/nvim/plug-config/closetag.vim b/nvim-old/plug-config/closetag.vim similarity index 100% rename from home/.config/nvim/plug-config/closetag.vim rename to nvim-old/plug-config/closetag.vim diff --git a/home/.config/nvim/plug-config/coc.vim b/nvim-old/plug-config/coc.vim similarity index 100% rename from home/.config/nvim/plug-config/coc.vim rename to nvim-old/plug-config/coc.vim diff --git a/home/.config/nvim/plug-config/colorscheme.vim b/nvim-old/plug-config/colorscheme.vim similarity index 100% rename from home/.config/nvim/plug-config/colorscheme.vim rename to nvim-old/plug-config/colorscheme.vim diff --git a/home/.config/nvim/plug-config/dashboard.vim b/nvim-old/plug-config/dashboard.vim similarity index 100% rename from home/.config/nvim/plug-config/dashboard.vim rename to nvim-old/plug-config/dashboard.vim diff --git a/home/.config/nvim/plug-config/delimitMate.vim b/nvim-old/plug-config/delimitMate.vim similarity index 100% rename from home/.config/nvim/plug-config/delimitMate.vim rename to nvim-old/plug-config/delimitMate.vim diff --git a/home/.config/nvim/plug-config/doc.vim b/nvim-old/plug-config/doc.vim similarity index 100% rename from home/.config/nvim/plug-config/doc.vim rename to nvim-old/plug-config/doc.vim diff --git a/home/.config/nvim/plug-config/doge.vim b/nvim-old/plug-config/doge.vim similarity index 100% rename from home/.config/nvim/plug-config/doge.vim rename to nvim-old/plug-config/doge.vim diff --git a/home/.config/nvim/plug-config/easy-align.vim b/nvim-old/plug-config/easy-align.vim similarity index 100% rename from home/.config/nvim/plug-config/easy-align.vim rename to nvim-old/plug-config/easy-align.vim diff --git a/home/.config/nvim/plug-config/editorconfig.vim b/nvim-old/plug-config/editorconfig.vim similarity index 100% rename from home/.config/nvim/plug-config/editorconfig.vim rename to nvim-old/plug-config/editorconfig.vim diff --git a/home/.config/nvim/plug-config/emmet.vim b/nvim-old/plug-config/emmet.vim similarity index 100% rename from home/.config/nvim/plug-config/emmet.vim rename to nvim-old/plug-config/emmet.vim diff --git a/home/.config/nvim/plug-config/far.vim b/nvim-old/plug-config/far.vim similarity index 100% rename from home/.config/nvim/plug-config/far.vim rename to nvim-old/plug-config/far.vim diff --git a/home/.config/nvim/plug-config/floaterm.vim b/nvim-old/plug-config/floaterm.vim similarity index 100% rename from home/.config/nvim/plug-config/floaterm.vim rename to nvim-old/plug-config/floaterm.vim diff --git a/home/.config/nvim/plug-config/fzf.vim b/nvim-old/plug-config/fzf.vim similarity index 100% rename from home/.config/nvim/plug-config/fzf.vim rename to nvim-old/plug-config/fzf.vim diff --git a/home/.config/nvim/plug-config/git.vim b/nvim-old/plug-config/git.vim similarity index 100% rename from home/.config/nvim/plug-config/git.vim rename to nvim-old/plug-config/git.vim diff --git a/home/.config/nvim/plug-config/goyo.vim b/nvim-old/plug-config/goyo.vim similarity index 100% rename from home/.config/nvim/plug-config/goyo.vim rename to nvim-old/plug-config/goyo.vim diff --git a/home/.config/nvim/plug-config/illuminate.vim b/nvim-old/plug-config/illuminate.vim similarity index 100% rename from home/.config/nvim/plug-config/illuminate.vim rename to nvim-old/plug-config/illuminate.vim diff --git a/home/.config/nvim/plug-config/indentline.vim b/nvim-old/plug-config/indentline.vim similarity index 100% rename from home/.config/nvim/plug-config/indentline.vim rename to nvim-old/plug-config/indentline.vim diff --git a/home/.config/nvim/plug-config/moving.vim b/nvim-old/plug-config/moving.vim similarity index 100% rename from home/.config/nvim/plug-config/moving.vim rename to nvim-old/plug-config/moving.vim diff --git a/home/.config/nvim/plug-config/nerdtree.vim b/nvim-old/plug-config/nerdtree.vim similarity index 100% rename from home/.config/nvim/plug-config/nerdtree.vim rename to nvim-old/plug-config/nerdtree.vim diff --git a/home/.config/nvim/plug-config/nnn.vim b/nvim-old/plug-config/nnn.vim similarity index 100% rename from home/.config/nvim/plug-config/nnn.vim rename to nvim-old/plug-config/nnn.vim diff --git a/home/.config/nvim/plug-config/polyglot.vim b/nvim-old/plug-config/polyglot.vim similarity index 100% rename from home/.config/nvim/plug-config/polyglot.vim rename to nvim-old/plug-config/polyglot.vim diff --git a/home/.config/nvim/plug-config/rainbow.vim b/nvim-old/plug-config/rainbow.vim similarity index 100% rename from home/.config/nvim/plug-config/rainbow.vim rename to nvim-old/plug-config/rainbow.vim diff --git a/home/.config/nvim/plug-config/rnvimr.vim b/nvim-old/plug-config/rnvimr.vim similarity index 100% rename from home/.config/nvim/plug-config/rnvimr.vim rename to nvim-old/plug-config/rnvimr.vim diff --git a/home/.config/nvim/plug-config/rooter.vim b/nvim-old/plug-config/rooter.vim similarity index 100% rename from home/.config/nvim/plug-config/rooter.vim rename to nvim-old/plug-config/rooter.vim diff --git a/home/.config/nvim/plug-config/spaceline.vim b/nvim-old/plug-config/spaceline.vim similarity index 100% rename from home/.config/nvim/plug-config/spaceline.vim rename to nvim-old/plug-config/spaceline.vim diff --git a/home/.config/nvim/plug-config/startify.vim b/nvim-old/plug-config/startify.vim similarity index 100% rename from home/.config/nvim/plug-config/startify.vim rename to nvim-old/plug-config/startify.vim diff --git a/home/.config/nvim/plug-config/tablemode.vim b/nvim-old/plug-config/tablemode.vim similarity index 100% rename from home/.config/nvim/plug-config/tablemode.vim rename to nvim-old/plug-config/tablemode.vim diff --git a/home/.config/nvim/plug-config/tldr.vim b/nvim-old/plug-config/tldr.vim similarity index 100% rename from home/.config/nvim/plug-config/tldr.vim rename to nvim-old/plug-config/tldr.vim diff --git a/home/.config/nvim/plug-config/translate-shell.vim b/nvim-old/plug-config/translate-shell.vim similarity index 100% rename from home/.config/nvim/plug-config/translate-shell.vim rename to nvim-old/plug-config/translate-shell.vim diff --git a/home/.config/nvim/plug-config/undo.vim b/nvim-old/plug-config/undo.vim similarity index 100% rename from home/.config/nvim/plug-config/undo.vim rename to nvim-old/plug-config/undo.vim diff --git a/home/.config/nvim/plug-config/vim-buffet.vim b/nvim-old/plug-config/vim-buffet.vim similarity index 100% rename from home/.config/nvim/plug-config/vim-buffet.vim rename to nvim-old/plug-config/vim-buffet.vim diff --git a/home/.config/nvim/plug-config/vimwiki.vim b/nvim-old/plug-config/vimwiki.vim similarity index 100% rename from home/.config/nvim/plug-config/vimwiki.vim rename to nvim-old/plug-config/vimwiki.vim diff --git a/home/.config/nvim/plug-config/vista.vim b/nvim-old/plug-config/vista.vim similarity index 100% rename from home/.config/nvim/plug-config/vista.vim rename to nvim-old/plug-config/vista.vim diff --git a/home/.config/nvim/plug-config/which-key.vim b/nvim-old/plug-config/which-key.vim similarity index 100% rename from home/.config/nvim/plug-config/which-key.vim rename to nvim-old/plug-config/which-key.vim diff --git a/home/.config/nvim/plug-config/whitespace.vim b/nvim-old/plug-config/whitespace.vim similarity index 100% rename from home/.config/nvim/plug-config/whitespace.vim rename to nvim-old/plug-config/whitespace.vim diff --git a/home/.config/nvim/plugin/autocmd.vim b/nvim-old/plugin/autocmd.vim similarity index 100% rename from home/.config/nvim/plugin/autocmd.vim rename to nvim-old/plugin/autocmd.vim diff --git a/home/.config/nvim/plugin/keybindings.vim b/nvim-old/plugin/keybindings.vim similarity index 100% rename from home/.config/nvim/plugin/keybindings.vim rename to nvim-old/plugin/keybindings.vim diff --git a/home/.config/nvim/vim-plug/vim-plug.vim b/nvim-old/vim-plug/vim-plug.vim similarity index 100% rename from home/.config/nvim/vim-plug/vim-plug.vim rename to nvim-old/vim-plug/vim-plug.vim diff --git a/setup/README.md b/setup/README.md new file mode 100644 index 0000000..7e83f95 --- /dev/null +++ b/setup/README.md @@ -0,0 +1,3 @@ +### Setup + +Contains some scripts for quicker installing / compiling stuff I like. diff --git a/system/README.md b/system/README.md index 82af445..35a07b8 100644 --- a/system/README.md +++ b/system/README.md @@ -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.