From 41ad31a2dee9ff912f222652f022b4c55cddcbf7 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 14 Feb 2023 13:27:31 +0800 Subject: Move alacritty to X11 --- X11/alacritty/alacritty.yml | 48 +++++++++++++++++++++++++++++++++++++++++++++ X11/alacritty/colors.yml | 30 ++++++++++++++++++++++++++++ X11/alacritty/fonts.yml | 37 ++++++++++++++++++++++++++++++++++ 3 files changed, 115 insertions(+) create mode 100644 X11/alacritty/alacritty.yml create mode 100644 X11/alacritty/colors.yml create mode 100644 X11/alacritty/fonts.yml (limited to 'X11/alacritty') diff --git a/X11/alacritty/alacritty.yml b/X11/alacritty/alacritty.yml new file mode 100644 index 0000000..6debefe --- /dev/null +++ b/X11/alacritty/alacritty.yml @@ -0,0 +1,48 @@ +## Copyright (C) 2020-2021 Aditya Shakya +## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 + +## Configuration for Alacritty, the GPU enhanced terminal emulator. +## It's a very basic and simple config file, for full configuration... +## See, /usr/share/doc/alacritty/example/alacritty.yml + +## Import files (Colors, Fonts, Etc) +import: + - ~/.config/alacritty/colors.yml + - ~/.config/alacritty/fonts.yml + +## Set environment variables +env: + TERM: alacritty + WINIT_X11_SCALE_FACTOR: '1.0' + +## Terminal window settings +window: + dimensions: + columns: 82 + lines: 18 + + padding: + x: 12 + y: 12 + + decorations: full + startup_mode: Windowed + dynamic_title: true + +## scrolling + history: 10000 + multiplier: 3 + +## Background opacity + opacity: 1.0 + +## Cursor +cursor: + style: + shape: Block + blinking: On + + unfocused_hollow: false + +## Live config reload +live_config_reload: true diff --git a/X11/alacritty/colors.yml b/X11/alacritty/colors.yml new file mode 100644 index 0000000..5c83d9f --- /dev/null +++ b/X11/alacritty/colors.yml @@ -0,0 +1,30 @@ +## Colors configuration +colors: + # Default colors + primary: + background: '#1E2128' + foreground: '#ABB2BF' + + # Normal colors + normal: + black: '#32363D' + red: '#E06B74' + green: '#98C379' + #green: '#368405' + yellow: '#E5C07A' + #blue: '#62AEEF' + blue: '#177CC0' + magenta: '#C778DD' + cyan: '#55B6C2' + white: '#ABB2BF' + + # Bright colors + bright: + black: '#50545B' + red: '#EA757E' + green: '#A2CD83' + yellow: '#EFCA84' + blue: '#6CB8F9' + magenta: '#D282E7' + cyan: '#5FC0CC' + white: '#B5BCC9' diff --git a/X11/alacritty/fonts.yml b/X11/alacritty/fonts.yml new file mode 100644 index 0000000..2ea94f1 --- /dev/null +++ b/X11/alacritty/fonts.yml @@ -0,0 +1,37 @@ +## Copyright (C) 2020-2021 Aditya Shakya +## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 + +# Font configuration +font: + # Normal (roman) font face + normal: + family: "Source Code Pro" + #style: Regular + + # Bold font face + bold: + family: "Source Code Pro" + #style: Bold + + # Italic font face + italic: + family: "Source Code Pro" + #style: Italic + + # Bold italic font face + bold_italic: + family: "Source Code Pro" + #style: Bold Italic + + # Point size + size: 18 + + # Offset + #offset: + # x: 0 + # y: 0 + + # Glyph offset + #glyph_offset: + # x: 0 + # y: 0 -- cgit v1.2.3-70-g09d2