diff --git a/.gitmodules b/.gitmodules index 5ed9e83..3881255 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,3 +5,6 @@ [submodule "dotbot-asdf"] path = dotbot-asdf url = https://github.com/sobolevn/dotbot-asdf.git +[submodule "alacritty/themes"] + path = alacritty/themes + url = https://github.com/alacritty/alacritty-theme.git diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml new file mode 100644 index 0000000..a0d1305 --- /dev/null +++ b/alacritty/alacritty.toml @@ -0,0 +1,90 @@ +colors.draw_bold_text_with_bright_colors = false +#custom_cursor_colors = true + +[general] +import = [ + "~/.config/alacritty/themes/themes/hardhacker.toml" +] +live_config_reload = true + +[window] +option_as_alt = "Both" # fixing Alt for MacOS +dynamic_padding = true +decorations = "None" +startup_mode = "Maximized" +opacity = 0.95 +blur = true + +[window.dimensions] +columns = 100 +lines = 85 + +[window.padding] +x = 10 +y = 5 + +[scrolling] +history = 0 +multiplier = 3 + +[font] +size = 13 +# use_thin_strokes = true + +[font.normal] +family = "RecMonoLinear Nerd Font Mono" +style = "Regular" + +[font.bold] +family = "RecMonoLinear Nerd Font Mono" +style = "Bold" + +[font.italic] +family = "RecMonoLinear Nerd Font Mono" +style = "Regular Italic" + +[font.offset] +x = 0 +y = 3 + +[font.glyph_offset] +x = 0 +y = 0 + +[colors.cursor] +text = 'CellBackground' +cursor = '#c7ccd1' + +[bell] +animation = "EaseOutExpo" +color = "0xffffff" +duration = 0 + +[mouse] +hide_when_typing = false + +[cursor] +style = "Block" +unfocused_hollow = true + +[keyboard] +bindings = [ + { key = "A", mods = "Command", chars = "\u0001" }, + { key = "C", mods = "Command", chars = "\u0003" }, + { key = "D", mods = "Command", chars = "\u0004" }, + { key = "E", mods = "Command", chars = "\u0005" }, + { key = "H", mods = "Command", chars = "\u0008" }, + { key = "I", mods = "Command", chars = "\u0009" }, + { key = "J", mods = "Command", chars = "\u000a" }, + { key = "K", mods = "Command", chars = "\u000b" }, + { key = "L", mods = "Command", chars = "\u000c" }, + { key = "O", mods = "Command", chars = "\u000f" }, + { key = "R", mods = "Command", chars = "\u0012" }, + { key = "T", mods = "Command", chars = "\u0014" }, + { key = "U", mods = "Command", chars = "\u0015" }, + { key = "W", mods = "Command", chars = "\u0017" }, + { key = "X", mods = "Command", chars = "\u0018" }, + { key = "Y", mods = "Command", chars = "\u0019" }, + { key = "Z", mods = "Command", chars = "\u001a" }, + { key = "F", mods = "Control", action = "ToggleMaximized" }, +] diff --git a/alacritty/themes b/alacritty/themes new file mode 160000 index 0000000..86c5784 --- /dev/null +++ b/alacritty/themes @@ -0,0 +1 @@ +Subproject commit 86c578469e2bf784faf6f916883bf48349ff4f6d diff --git a/install.conf.yaml b/install.conf.yaml index e596f9c..752164d 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -10,6 +10,7 @@ ~/.zshrc: shell/zsh/zshrc ~/.bashrc: shell/bash/bashrc ~/.config/nvim: nvim + ~/.config/alacritty: alacritty - asdf: - plugin: vim diff --git a/nvim/lua/plugins/init.lua b/nvim/lua/plugins/init.lua index a341ff9..2f53025 100644 --- a/nvim/lua/plugins/init.lua +++ b/nvim/lua/plugins/init.lua @@ -88,6 +88,11 @@ local plugins = { require("lazy").setup(plugins) +vim.cmd([[ + set termguicolors + hi Cursor guifg=red guibg=green + set guicursor=n-v-c:block-Cursor/lCursor,i-ci-ve:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor,o:hor50-Cursor/lCursor,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor,sm:block-blinkwait175-blinkoff150-blinkon175-Cursor/lCursor +]]) require("plugins/telescope") require("plugins/completions") require("plugins/gitsigns")