about summary refs log tree commit diff
path: root/modules/workstation/windowing/alacritty
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2019-02-23 13:15:58 +0000
committerAlyssa Ross <hi@alyssa.is>2019-02-23 13:15:58 +0000
commitbe0bb8e8b5c62df1ebc7291c00d1f509881acfda (patch)
tree4fc1167f548f3922ebb70729134d64aa28737db8 /modules/workstation/windowing/alacritty
parent66ec588efda52e51118db94a339954a59ad328c9 (diff)
downloadnixlib-be0bb8e8b5c62df1ebc7291c00d1f509881acfda.tar
nixlib-be0bb8e8b5c62df1ebc7291c00d1f509881acfda.tar.gz
nixlib-be0bb8e8b5c62df1ebc7291c00d1f509881acfda.tar.bz2
nixlib-be0bb8e8b5c62df1ebc7291c00d1f509881acfda.tar.lz
nixlib-be0bb8e8b5c62df1ebc7291c00d1f509881acfda.tar.xz
nixlib-be0bb8e8b5c62df1ebc7291c00d1f509881acfda.tar.zst
nixlib-be0bb8e8b5c62df1ebc7291c00d1f509881acfda.zip
modules/alacritty: remove extraneous config comments
I've only removed comments that felt obvious to me, for now.
Diffstat (limited to 'modules/workstation/windowing/alacritty')
-rw-r--r--modules/workstation/windowing/alacritty/config.yml155
1 files changed, 5 insertions, 150 deletions
diff --git a/modules/workstation/windowing/alacritty/config.yml b/modules/workstation/windowing/alacritty/config.yml
index db9d4aca88df..8dc9fe1aea41 100644
--- a/modules/workstation/windowing/alacritty/config.yml
+++ b/modules/workstation/windowing/alacritty/config.yml
@@ -1,5 +1,3 @@
-# Configuration for Alacritty, the GPU enhanced terminal emulator.
-
 # Any items in the `env` entry below will be added as
 # environment variables. Some entries may override variables
 # set by alacritty itself.
@@ -13,149 +11,65 @@
   #TERM: xterm-256color
 
 window:
-  # Window dimensions (changes require restart)
-  #
-  # Specified in number of columns/lines, not pixels.
   # If both are `0`, this setting is ignored.
   dimensions:
     columns: 80
     lines: 24
 
-  # Window padding (changes require restart)
-  #
-  # Blank space added around the window in pixels. This padding is scaled
-  # by DPI and the specified value is always added at both opposing sides.
   padding:
     x: 2
     y: 2
 
-  # Spread additional padding evenly around the terminal content.
   dynamic_padding: true
-
-  # Window decorations
-  #
-  # Values for `decorations`:
-  #     - full: Borders and title bar
-  #     - none: Neither borders nor title bar
   decorations: none
-
-  # When true, alacritty starts maximized.
   start_maximized: false
 
 scrolling:
-  # Maximum number of lines in the scrollback buffer.
-  # Specifying '0' will disable scrolling.
-  history: 0
-
-  # Number of lines the viewport will move for every line scrolled when
-  # scrollback is enabled (history > 0).
-  multiplier: 3
-
-  # Faux Scrolling
-  #
-  # The `faux_multiplier` setting controls the number of lines the terminal
-  # should scroll when the alternate screen buffer is active. This is used
-  # to allow mouse scrolling for applications like `man`.
-  #
-  # Specifying `0` will disable faux scrolling.
-  faux_multiplier: 3
+  history: 0 # disabled
 
-  # Scroll to the bottom when new text is written to the terminal.
-  auto_scroll: false
-
-# Spaces per Tab (changes require restart)
-#
-# This setting defines the width of a tab in cells.
-#
 # Some applications, like Emacs, rely on knowing about the width of a tab.
 # To prevent unexpected behavior in these applications, it's also required to
 # change the `it` value in terminfo when altering this setting.
 tabspaces: 8
 
-# Font configuration (changes require restart)
-#
-# Important font attributes like antialiasing, subpixel aa, and hinting can be
-# controlled through fontconfig. Specifically, the following attributes should
-# have an effect:
-#   - hintstyle
-#   - antialias
-#   - lcdfilter
-#   - rgba
-#
-# For instance, if you wish to disable subpixel antialiasing, you might set the
-# rgba property to `none`. If you wish to completely disable antialiasing, you
-# can set antialias to `false`.
-#
-# Please see these resources for more information on how to use fontconfig:
-#   - https://wiki.archlinux.org/index.php/font_configuration#Fontconfig_configuration
-#   - file:///usr/share/doc/fontconfig/fontconfig-user.html
 font:
-  # Normal (roman) font face
   normal:
     family: monospace
-    # The `style` can be specified to pick a specific face.
     #style: Regular
 
-  # Bold font face
   bold:
     family: monospace
-    # The `style` can be specified to pick a specific face.
     #style: Bold
 
-  # Italic font face
   italic:
     family: monospace
-    # The `style` can be specified to pick a specific face.
     #style: Italic
 
-  # Point size
   size: 8.0
 
-  # Offset is the extra space around each character. `offset.y` can be thought of
-  # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
   offset:
     x: 0
     y: 0
 
-  # Glyph offset determines the locations of the glyphs within their cells with
-  # the default being at the bottom. Increasing `x` moves the glyph to the right,
-  # increasing `y` moves the glyph upwards.
   glyph_offset:
     x: 0
     y: 0
 
-# Display the time it takes to redraw each frame.
 render_timer: false
-
-# Keep the log file after quitting Alacritty.
 persistent_logging: false
-
-# If `true`, bold text is drawn using the bright color variants.
 draw_bold_text_with_bright_colors: true
 
 colors:
-  # Default colors
   primary:
     background: '0x191919'
     foreground: '0xc3cac2'
+    # dim_foreground: auto
+    # bright_foreground: normal foreground color
 
-    # Bright and dim foreground colors
-    #
-    # The dimmed foreground color is calculated automatically if it is not present.
-    # If the bright foreground color is not set, or `draw_bold_text_with_bright_colors`
-    # is `false`, the normal foreground color will be used.
-    #dim_foreground: '0x9a9a9a'
-    #bright_foreground: '0xffffff'
-
-  # Cursor colors
-  #
-  # Colors which should be used to draw the terminal cursor. If these are unset,
-  # the cursor color will be the inverse of the cell color.
   cursor:
     text:   '0x161616'
     cursor: '0xfcdc07'
 
-  # Normal colors
   normal:
     black:   '0x5a5a5a'
     red:     '0xca372d'
@@ -166,7 +80,6 @@ colors:
     cyan:    '0x72d4c6'
     white:   '0xcdd3cd'
 
-  # Bright colors
   bright:
     black:   '0x9a9a99'
     red:     '0xc37d62'
@@ -177,35 +90,9 @@ colors:
     cyan:    '0x82e9da'
     white:   '0xfdfdf6'
 
-  # Dim colors
-  #
-  # If the dim colors are not set, they will be calculated automatically based
-  # on the `normal` colors.
-  #dim:
-  #  black:   '0x333333'
-  #  red:     '0xf2777a'
-  #  green:   '0x99cc99'
-  #  yellow:  '0xffcc66'
-  #  blue:    '0x6699cc'
-  #  magenta: '0xcc99cc'
-  #  cyan:    '0x66cccc'
-  #  white:   '0xdddddd'
-
-  # Indexed Colors
-  #
-  # The indexed colors include all colors from 16 to 256.
-  # When these are not set, they're filled with sensible defaults.
-  #indexed_colors:
-  #  - { index: 16, color: '0x000000' }
+  # dim: default
+  # indexed_colors: default
 
-# Visual Bell
-#
-# Any time the BEL code is received, Alacritty "rings" the visual bell. Once
-# rung, the terminal background will be set to white and transition back to the
-# default background color. You can control the rate of this transition by
-# setting the `duration` property (represented in milliseconds). You can also
-# configure the transition function by setting the `animation` property.
-#
 # Values for `animation`:
 #   - Ease
 #   - EaseOut
@@ -223,14 +110,8 @@ visual_bell:
   animation: EaseOutExpo
   duration: 1
 
-# Background opacity
-#
-# Window opacity as a floating point number from `0.0` to `1.0`.
-# The value `0.0` is completely transparent and `1.0` is opaque.
 background_opacity: 1.0
 
-# Mouse bindings
-#
 # Available fields:
 #   - mouse
 #   - action
@@ -248,28 +129,12 @@ mouse_bindings:
   - { mouse: Middle, action: PasteSelection }
 
 mouse:
-  # Click settings
-  #
-  # The `double_click` and `triple_click` settings control the time
-  # alacritty should wait for accepting multiple clicks as one double
-  # or triple click.
   double_click: { threshold: 300 }
   triple_click: { threshold: 300 }
-
-  # If this is `true`, the cursor is temporarily hidden when typing.
   hide_when_typing: false
 
   url:
-    # URL launcher
-    #
-    # This program is executed when clicking on a text which is recognized as a URL.
-    # The URL is always added to the command as the last parameter.
     launcher: xdg-open
-
-    # URL modifiers
-    #
-    # These are the modifiers that need to be held down for opening URLs when clicking
-    # on them. The available modifiers are documented in the key binding section.
     #modifiers: Control|Shift
 
 selection:
@@ -283,19 +148,9 @@ selection:
 dynamic_title: true
 
 cursor:
-  # Cursor style
-  #
-  # Values for 'style':
-  #   - ▇ Block
-  #   - _ Underline
-  #   - | Beam
   style: Block
-
-  # If this is `true`, the cursor will be rendered as a hollow box when the
-  # window is not focused.
   unfocused_hollow: true
 
-# Live config reload (changes require restart)
 live_config_reload: true
 
 # Shell