From fd97070ab618373ab2ca323b8b3772249b942a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 23 Nov 2020 22:42:30 +0100 Subject: Add alacritty configuration --- config/alacritty.yml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++ install | 4 ++++ vimrc | 2 +- 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 config/alacritty.yml diff --git a/config/alacritty.yml b/config/alacritty.yml new file mode 100644 index 0000000..adca798 --- /dev/null +++ b/config/alacritty.yml @@ -0,0 +1,59 @@ +# Configuration for Alacritty, the GPU enhanced terminal emulator. + +env: + # This is to support dircolors. For now dircolors does not support alacritty. + TERM: xterm-256color + +window: + gtk_theme_variant: dark + +scrolling: + history: 10000 + multiplier: 3 + +font: + size: 8.5 + +colors: + primary: + background: '#000000' + foreground: '#ffffff' + normal: + black: '#000000' + red: '#cd0000' + green: '#00cd00' + yellow: '#cdcd00' + blue: '#6060ee' + magenta: '#cd00cd' + cyan: '#00cdcd' + white: '#e5e5e5' + bright: + black: '#7f7f7f' + red: '#ff0000' + green: '#00ff00' + yellow: '#ffff00' + blue: '#5c5cff' + magenta: '#ff00ff' + cyan: '#00ffff' + white: '#ffffff' + #search: + # Allowed values are CellForeground and CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #matches: + # foreground: '#000000' + # background: '#ffffff' + #bar: + # background: '#c5c8c6' + # foreground: '#1d1f21' + #selection: + # text: CellBackground + # background: CellForeground + + +#selection: + #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" + # When set to `true`, selected text will be copied to the primary clipboard. + #save_to_clipboard: false + +mouse: + hide_when_typing: true diff --git a/install b/install index 4698fd6..4db5838 100755 --- a/install +++ b/install @@ -99,6 +99,10 @@ if ask "wayland" "Install Wayland (sway)"; then inst config/swaylock/ ~/.config/swaylock fi +if ask "alacritty" "Install configurations for terminal emulator"; then + inst config/alacritty.yml ~/.config/alacritty.yml +fi + if ask "surf" "Install Surf configuration"; then inst surf/script.js ~/.surf/script.js inst surf/styles/default.css ~/.surf/styles/default.css diff --git a/vimrc b/vimrc index 976d452..a77f54f 100644 --- a/vimrc +++ b/vimrc @@ -161,7 +161,7 @@ let g:autotagTagsFile=".tags" " Enable mouse set mouse=a -set ttymouse=urxvt +set ttymouse=sgr " We are always on fast tty (maybe remove this on servers?) set ttyfast -- cgit v1.2.3