summaryrefslogtreecommitdiff
path: root/ar/.config/alacritty
diff options
context:
space:
mode:
Diffstat (limited to 'ar/.config/alacritty')
-rw-r--r--ar/.config/alacritty/alacritty.toml77
-rw-r--r--ar/.config/alacritty/themes/gruvbox_dark.toml27
2 files changed, 104 insertions, 0 deletions
diff --git a/ar/.config/alacritty/alacritty.toml b/ar/.config/alacritty/alacritty.toml
new file mode 100644
index 0000000..e3cba14
--- /dev/null
+++ b/ar/.config/alacritty/alacritty.toml
@@ -0,0 +1,77 @@
+[general]
+import = ["~/.config/alacritty/themes/gruvbox_dark.toml"]
+
+[env]
+TERM = "xterm-256color"
+
+[terminal.shell]
+program = "/usr/bin/zsh"
+args = ["-l"]
+
+[window]
+padding = { x = 1, y = 1 }
+dynamic_padding = true
+opacity = 0.65
+decorations = "None"
+dynamic_title = true
+
+[window.dimensions]
+columns = 80
+lines = 24
+
+[font]
+size = 12.0
+
+[font.normal]
+family = "monospace"
+style = "Regular"
+
+[font.bold]
+family = "monospace"
+style = "Bold"
+
+[font.italic]
+family = "monospace"
+style = "Italic"
+
+[cursor]
+style = { shape = "Block", blinking = "On" }
+blink_interval = 800
+unfocused_hollow = true
+
+[scrolling]
+history = 10000
+multiplier = 3
+
+[selection]
+semantic_escape_chars = " `'\"()[]{}"
+save_to_clipboard = false
+
+[keyboard]
+bindings = [
+ { key = "c", mods = "Alt", action = "Copy" },
+ { key = "v", mods = "Alt", action = "Paste" },
+ { key = "C", mods = "Control|Shift", action = "Copy" },
+ { key = "V", mods = "Control|Shift", action = "Paste" },
+ { key = "Insert", mods = "Shift", action = "PasteSelection" },
+ { key = "K", mods = "Alt|Shift", action = "IncreaseFontSize" },
+ { key = "J", mods = "Alt|Shift", action = "DecreaseFontSize" },
+ { key = "Plus", mods = "Alt|Shift", action = "ResetFontSize" },
+ { key = "f", mods = "Alt", action = "ToggleFullscreen" },
+ { key = "F11", action = "ToggleFullscreen" },
+ { key = "Return", mods = "Alt|Shift", action = "SpawnNewInstance" },
+ { key = "PageUp", mods = "Shift", action = "ScrollPageUp" },
+ { key = "PageDown", mods = "Shift", action = "ScrollPageDown" },
+ { key = "Space", mods = "Shift", action = "ToggleViMode" },
+ { key = "F", mods = "Control|Shift", action = "SearchForward" },
+ { key = "B", mods = "Control|Shift", action = "SearchBackward" },
+]
+
+[hints]
+[[hints.enabled]]
+regex = '(https://|http://|file://|git://|ssh://|ftp://|mailto:)[^\s<>"]+'
+hyperlinks = true
+command = "xdg-open"
+post_processing = true
+mouse = { enabled = true, mods = "Control" }
+binding = { key = "U", mods = "Control|Shift" }
diff --git a/ar/.config/alacritty/themes/gruvbox_dark.toml b/ar/.config/alacritty/themes/gruvbox_dark.toml
new file mode 100644
index 0000000..706b416
--- /dev/null
+++ b/ar/.config/alacritty/themes/gruvbox_dark.toml
@@ -0,0 +1,27 @@
+[colors.primary]
+background = "#282828"
+foreground = "#ebdbb2"
+
+[colors.cursor]
+cursor = "#add8e6"
+text = "#282828"
+
+[colors.normal]
+black = "#282828"
+red = "#cc241d"
+green = "#939e45"
+yellow = "#d79921"
+blue = "#458588"
+magenta = "#b16286"
+cyan = "#689d6a"
+white = "#a89984"
+
+[colors.bright]
+black = "#928374"
+red = "#fb4934"
+green = "#b8bb26"
+yellow = "#fabd2f"
+blue = "#83a598"
+magenta = "#d3869b"
+cyan = "#8ec07c"
+white = "#ebdbb2"