aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-11-23 22:42:30 +0100
committerKarel Kočí <cynerd@email.cz>2020-11-23 22:42:30 +0100
commitfd97070ab618373ab2ca323b8b3772249b942a17 (patch)
tree0eab90d94e583ec49558a0d9fdb53264db5dbb75
parent00dc85ac448e26b2abbaa95fe29d17a771d6ec9c (diff)
downloadmyconfigs-fd97070ab618373ab2ca323b8b3772249b942a17.tar.gz
myconfigs-fd97070ab618373ab2ca323b8b3772249b942a17.tar.bz2
myconfigs-fd97070ab618373ab2ca323b8b3772249b942a17.zip
Add alacritty configuration
-rw-r--r--config/alacritty.yml59
-rwxr-xr-xinstall4
-rw-r--r--vimrc2
3 files changed, 64 insertions, 1 deletions
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