This commit is contained in:
2022-02-14 19:40:33 +01:00
parent 34cc61a4c2
commit 04d4970308
8 changed files with 667 additions and 666 deletions

View File

@@ -16,167 +16,167 @@
# set by alacritty itself. # set by alacritty itself.
env: env:
# TERM variable # TERM variable
# #
# This value is used to set the `$TERM` environment variable for # This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will # each instance of Alacritty. If it is not present, alacritty will
# check the local terminfo database and use `alacritty` if it is # check the local terminfo database and use `alacritty` if it is
# available, otherwise `xterm-256color` is used. # available, otherwise `xterm-256color` is used.
TERM: alacritty TERM: alacritty
window: window:
# Window dimensions (changes require restart) # Window dimensions (changes require restart)
# #
# Number of lines/columns (not pixels) in the terminal. The number of columns # Number of lines/columns (not pixels) in the terminal. The number of columns
# must be at least `2`, while using a value of `0` for columns and lines will # must be at least `2`, while using a value of `0` for columns and lines will
# fall back to the window manager's recommended size. # fall back to the window manager's recommended size.
#dimensions: #dimensions:
# columns: 0 # columns: 0
# lines: 0 # lines: 0
# Window position (changes require restart) # Window position (changes require restart)
# #
# Specified in number of pixels. # Specified in number of pixels.
# If the position is not set, the window manager will handle the placement. # If the position is not set, the window manager will handle the placement.
#position: #position:
# x: 0 # x: 0
# y: 0 # y: 0
# Window padding (changes require restart) # Window padding (changes require restart)
# #
# Blank space added around the window in pixels. This padding is scaled # 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. # by DPI and the specified value is always added at both opposing sides.
padding: padding:
x: 5 x: 5
y: 5 y: 5
# Spread additional padding evenly around the terminal content. # Spread additional padding evenly around the terminal content.
#dynamic_padding: false #dynamic_padding: false
# Window decorations # Window decorations
# #
# Values for `decorations`: # Values for `decorations`:
# - full: Borders and title bar # - full: Borders and title bar
# - none: Neither borders nor title bar # - none: Neither borders nor title bar
# #
# Values for `decorations` (macOS only): # Values for `decorations` (macOS only):
# - transparent: Title bar, transparent background and title bar buttons # - transparent: Title bar, transparent background and title bar buttons
# - buttonless: Title bar, transparent background and no title bar buttons # - buttonless: Title bar, transparent background and no title bar buttons
#decorations: full #decorations: full
# Background opacity # Background opacity
# #
# Window opacity as a floating point number from `0.0` to `1.0`. # 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. # The value `0.0` is completely transparent and `1.0` is opaque.
opacity: 0.95 opacity: 0.95
# Startup Mode (changes require restart) # Startup Mode (changes require restart)
# #
# Values for `startup_mode`: # Values for `startup_mode`:
# - Windowed # - Windowed
# - Maximized # - Maximized
# - Fullscreen # - Fullscreen
# #
# Values for `startup_mode` (macOS only): # Values for `startup_mode` (macOS only):
# - SimpleFullscreen # - SimpleFullscreen
#startup_mode: Windowed #startup_mode: Windowed
# Window title # Window title
#title: Alacritty #title: Alacritty
# Allow terminal applications to change Alacritty's window title. # Allow terminal applications to change Alacritty's window title.
dynamic_title: true dynamic_title: true
# Window class (Linux/BSD only): # Window class (Linux/BSD only):
#class: #class:
# Application instance name # Application instance name
#instance: Alacritty #instance: Alacritty
# General application class # General application class
#general: Alacritty #general: Alacritty
# GTK theme variant (Linux/BSD only) # GTK theme variant (Linux/BSD only)
# #
# Override the variant of the GTK theme. Commonly supported values are `dark` # Override the variant of the GTK theme. Commonly supported values are `dark`
# and `light`. Set this to `None` to use the default theme variant. # and `light`. Set this to `None` to use the default theme variant.
#gtk_theme_variant: None #gtk_theme_variant: None
#scrolling: #scrolling:
# Maximum number of lines in the scrollback buffer. # Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling. # Specifying '0' will disable scrolling.
history: 10000 history: 10000
# Scrolling distance multiplier. # Scrolling distance multiplier.
multiplier: 5 multiplier: 5
# Font configuration # Font configuration
font: font:
# Normal (roman) font face # Normal (roman) font face
normal: normal:
# Font family # Font family
# #
# Default: # Default:
# - (macOS) Menlo # - (macOS) Menlo
# - (Linux/BSD) monospace # - (Linux/BSD) monospace
# - (Windows) Consolas # - (Windows) Consolas
family: monospace family: monospace
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Regular style: Regular
# Bold font face # Bold font face
bold: bold:
# Font family # Font family
# #
# If the bold family is not specified, it will fall back to the # If the bold family is not specified, it will fall back to the
# value specified for the normal font. # value specified for the normal font.
family: monospace family: monospace
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Bold style: Bold
# Italic font face # Italic font face
italic: italic:
# Font family # Font family
# #
# If the italic family is not specified, it will fall back to the # If the italic family is not specified, it will fall back to the
# value specified for the normal font. # value specified for the normal font.
family: monospace family: monospace
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Italic style: Italic
# Bold italic font face # Bold italic font face
bold_italic: bold_italic:
# Font family # Font family
# #
# If the bold italic family is not specified, it will fall back to the # If the bold italic family is not specified, it will fall back to the
# value specified for the normal font. # value specified for the normal font.
family: monospace family: monospace
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: monospace style: monospace
# Point size # Point size
size: 9.0 size: 9.0
# Offset is the extra space around each character. `offset.y` can be thought # 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 # of as modifying the line spacing, and `offset.x` as modifying the letter
# spacing. # spacing.
#offset: #offset:
# x: 0 # x: 0
# y: 0 # y: 0
# Glyph offset determines the locations of the glyphs within their cells with # 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 # the default being at the bottom. Increasing `x` moves the glyph to the
# right, increasing `y` moves the glyph upward. # right, increasing `y` moves the glyph upward.
#glyph_offset: #glyph_offset:
# x: 0 # x: 0
# y: 0 # y: 0
# Thin stroke font rendering (macOS only) # Thin stroke font rendering (macOS only)
# #
# Thin strokes are suitable for retina displays, but for non-retina screens # Thin strokes are suitable for retina displays, but for non-retina screens
# it is recommended to set `use_thin_strokes` to `false`. # it is recommended to set `use_thin_strokes` to `false`.
#use_thin_strokes: true #use_thin_strokes: true
# If `true`, bold text is drawn using the bright color variants. # If `true`, bold text is drawn using the bright color variants.
#draw_bold_text_with_bright_colors: false #draw_bold_text_with_bright_colors: false
@@ -184,234 +184,234 @@ font:
# Colors (Tomorrow Night) # Colors (Tomorrow Night)
colors: colors:
# Default colors # Default colors
primary: primary:
background: '#09141E' background: '#09141E'
foreground: '#EBEBEB' foreground: '#EBEBEB'
# Bright and dim foreground colors # Bright and dim foreground colors
# #
# The dimmed foreground color is calculated automatically if it is not # The dimmed foreground color is calculated automatically if it is not
# present. If the bright foreground color is not set, or # present. If the bright foreground color is not set, or
# `draw_bold_text_with_bright_colors` is `false`, the normal foreground # `draw_bold_text_with_bright_colors` is `false`, the normal foreground
# color will be used. # color will be used.
#dim_foreground: '#828482' #dim_foreground: '#828482'
#bright_foreground: '#eaeaea' #bright_foreground: '#eaeaea'
# Cursor colors # Cursor colors
# #
# Colors which should be used to draw the terminal cursor. # Colors which should be used to draw the terminal cursor.
# #
# Allowed values are CellForeground/CellBackground, which reference the # Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff. # affected cell, or hexadecimal colors like #ff00ff.
#cursor: #cursor:
# text: CellBackground # text: CellBackground
# cursor: CellForeground # cursor: CellForeground
# Vi mode cursor colors # Vi mode cursor colors
# #
# Colors for the cursor when the vi mode is active. # Colors for the cursor when the vi mode is active.
# #
# Allowed values are CellForeground/CellBackground, which reference the # Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff. # affected cell, or hexadecimal colors like #ff00ff.
#vi_mode_cursor: #vi_mode_cursor:
# text: CellBackground # text: CellBackground
# cursor: CellForeground # cursor: CellForeground
# Search colors # Search colors
# #
# Colors used for the search bar and match highlighting. # Colors used for the search bar and match highlighting.
search: search:
# Allowed values are CellForeground/CellBackground, which reference the # Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff. # affected cell, or hexadecimal colors like #ff00ff.
matches: matches:
foreground: '#000000' foreground: '#000000'
background: '#ffffff' background: '#ffffff'
focused_match: focused_match:
foreground: '#ffffff' foreground: '#ffffff'
background: '#000000' background: '#000000'
bar: bar:
background: '#c5c8c6' background: '#c5c8c6'
foreground: '#1d1f21' foreground: '#1d1f21'
# Keyboard regex hints # Keyboard regex hints
hints: hints:
# First character in the hint label # First character in the hint label
# #
# Allowed values are CellForeground/CellBackground, which reference the # Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff. # affected cell, or hexadecimal colors like #ff00ff.
start: start:
foreground: '#1d1f21' foreground: '#1d1f21'
background: '#e9ff5e' background: '#e9ff5e'
# All characters after the first one in the hint label # All characters after the first one in the hint label
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
end:
foreground: '#e9ff5e'
background: '#1d1f21'
# Line indicator
#
# Color used for the indicator displaying the position in history during
# search and vi mode.
#
# By default, these will use the opposing primary color.
#line_indicator:
# foreground: None
# background: None
# Selection colors
#
# Colors which should be used to draw the selection area.
# #
# Allowed values are CellForeground/CellBackground, which reference the # Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff. # affected cell, or hexadecimal colors like #ff00ff.
end: #selection:
foreground: '#e9ff5e' # text: CellBackground
background: '#1d1f21' # background: CellForeground
# Line indicator
#
# Color used for the indicator displaying the position in history during
# search and vi mode.
#
# By default, these will use the opposing primary color.
#line_indicator:
# foreground: None
# background: None
# Selection colors
#
# Colors which should be used to draw the selection area.
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
#selection:
# text: CellBackground
# background: CellForeground
# Normal colors # Normal colors
normal: normal:
black: '#1d1f21' black: '#1d1f21'
red: '#cc6666' red: '#cc6666'
green: '#b5bd68' green: '#b5bd68'
yellow: '#f0c674' yellow: '#f0c674'
blue: '#81a2be' blue: '#81a2be'
magenta: '#b294bb' magenta: '#b294bb'
cyan: '#8abeb7' cyan: '#8abeb7'
white: '#c5c8c6' white: '#c5c8c6'
# Bright colors # Bright colors
bright: bright:
black: '#666666' black: '#666666'
red: '#d54e53' red: '#d54e53'
green: '#b9ca4a' green: '#b9ca4a'
yellow: '#e7c547' yellow: '#e7c547'
blue: '#7aa6da' blue: '#7aa6da'
magenta: '#c397d8' magenta: '#c397d8'
cyan: '#70c0b1' cyan: '#70c0b1'
white: '#eaeaea' white: '#eaeaea'
# Dim colors # Dim colors
# #
# If the dim colors are not set, they will be calculated automatically based # If the dim colors are not set, they will be calculated automatically based
# on the `normal` colors. # on the `normal` colors.
#dim: #dim:
# black: '#131415' # black: '#131415'
# red: '#864343' # red: '#864343'
# green: '#777c44' # green: '#777c44'
# yellow: '#9e824c' # yellow: '#9e824c'
# blue: '#556a7d' # blue: '#556a7d'
# magenta: '#75617b' # magenta: '#75617b'
# cyan: '#5b7d78' # cyan: '#5b7d78'
# white: '#828482' # white: '#828482'
# Indexed Colors # Indexed Colors
# #
# The indexed colors include all colors from 16 to 256. # The indexed colors include all colors from 16 to 256.
# When these are not set, they're filled with sensible defaults. # When these are not set, they're filled with sensible defaults.
# #
# Example: # Example:
# `- { index: 16, color: '#ff00ff' }` # `- { index: 16, color: '#ff00ff' }`
# #
#indexed_colors: [] #indexed_colors: []
# Transparent cell backgrounds # Transparent cell backgrounds
# #
# Whether or not `window.opacity` applies to all cell backgrounds or only to # Whether or not `window.opacity` applies to all cell backgrounds or only to
# the default background. When set to `true` all cells will be transparent # the default background. When set to `true` all cells will be transparent
# regardless of their background color. # regardless of their background color.
#transparent_background_colors: false #transparent_background_colors: false
# Bell # Bell
# #
# The bell is rung every time the BEL control character is received. # The bell is rung every time the BEL control character is received.
#bell: #bell:
# Visual Bell Animation # Visual Bell Animation
# #
# Animation effect for flashing the screen when the visual bell is rung. # Animation effect for flashing the screen when the visual bell is rung.
# #
# Values for `animation`: # Values for `animation`:
# - Ease # - Ease
# - EaseOut # - EaseOut
# - EaseOutSine # - EaseOutSine
# - EaseOutQuad # - EaseOutQuad
# - EaseOutCubic # - EaseOutCubic
# - EaseOutQuart # - EaseOutQuart
# - EaseOutQuint # - EaseOutQuint
# - EaseOutExpo # - EaseOutExpo
# - EaseOutCirc # - EaseOutCirc
# - Linear # - Linear
#animation: EaseOutExpo #animation: EaseOutExpo
# Duration of the visual bell flash in milliseconds. A `duration` of `0` will # Duration of the visual bell flash in milliseconds. A `duration` of `0` will
# disable the visual bell animation. # disable the visual bell animation.
#duration: 0 #duration: 0
# Visual bell animation color. # Visual bell animation color.
#color: '#ffffff' #color: '#ffffff'
# Bell Command # Bell Command
# #
# This program is executed whenever the bell is rung. # This program is executed whenever the bell is rung.
# #
# When set to `command: None`, no command will be executed. # When set to `command: None`, no command will be executed.
# #
# Example: # Example:
# command: # command:
# program: notify-send # program: notify-send
# args: ["Hello, World!"] # args: ["Hello, World!"]
# #
#command: None #command: None
selection: selection:
# This string contains all characters that are used as separators for # This string contains all characters that are used as separators for
# "semantic words" in Alacritty. # "semantic words" in Alacritty.
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
# When set to `true or false`, selected text will be copied to the primary clipboard. # When set to `true or false`, selected text will be copied to the primary clipboard.
save_to_clipboard: true save_to_clipboard: true
cursor: cursor:
# Cursor style # Cursor style
style: style:
# Cursor shape # Cursor shape
# #
# Values for `shape`: # Values for `shape`:
# - ▇ Block # - ▇ Block
# - _ Underline # - _ Underline
# - | Beam # - | Beam
shape: Underline shape: Underline
# Cursor blinking state # Cursor blinking state
# #
# Values for `blinking`: # Values for `blinking`:
# - Never: Prevent the cursor from ever blinking # - Never: Prevent the cursor from ever blinking
# - Off: Disable blinking by default # - Off: Disable blinking by default
# - On: Enable blinking by default # - On: Enable blinking by default
# - Always: Force the cursor to always blink # - Always: Force the cursor to always blink
blinking: On blinking: On
# Vi mode cursor style # Vi mode cursor style
# #
# If the vi mode cursor style is `None` or not specified, it will fall back to # If the vi mode cursor style is `None` or not specified, it will fall back to
# the style of the active value of the normal cursor. # the style of the active value of the normal cursor.
# #
# See `cursor.style` for available options. # See `cursor.style` for available options.
#vi_mode_style: None #vi_mode_style: None
# Cursor blinking interval in milliseconds. # Cursor blinking interval in milliseconds.
blink_interval: 750 blink_interval: 750
# If this is `true`, the cursor will be rendered as a hollow box when the # If this is `true`, the cursor will be rendered as a hollow box when the
# window is not focused. # window is not focused.
unfocused_hollow: false unfocused_hollow: false
# Thickness of the cursor relative to the cell width as floating point number # Thickness of the cursor relative to the cell width as floating point number
# from `0.0` to `1.0`. # from `0.0` to `1.0`.
#thickness: 0.15 #thickness: 0.15
# Live config reload (changes require restart) # Live config reload (changes require restart)
#live_config_reload: true #live_config_reload: true
@@ -444,15 +444,15 @@ cursor:
#mouse: #mouse:
# Click settings # Click settings
# #
# The `double_click` and `triple_click` settings control the time # The `double_click` and `triple_click` settings control the time
# alacritty should wait for accepting multiple clicks as one double # alacritty should wait for accepting multiple clicks as one double
# or triple click. # or triple click.
#double_click: { threshold: 300 } #double_click: { threshold: 300 }
#triple_click: { threshold: 300 } #triple_click: { threshold: 300 }
# If this is `true`, the cursor is temporarily hidden when typing. # If this is `true`, the cursor is temporarily hidden when typing.
#hide_when_typing: false #hide_when_typing: false
# Regex hints # Regex hints
# #
@@ -460,43 +460,43 @@ cursor:
# and pipe it to other applications. # and pipe it to other applications.
#hints: #hints:
# Keys used for the hint labels. # Keys used for the hint labels.
#alphabet: "jfkdls;ahgurieowpq" #alphabet: "jfkdls;ahgurieowpq"
# List with all available hints # List with all available hints
# #
# Each hint must have a `regex` and either an `action` or a `command` field. # Each hint must have a `regex` and either an `action` or a `command` field.
# The fields `mouse`, `binding` and `post_processing` are optional. # The fields `mouse`, `binding` and `post_processing` are optional.
# #
# The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
# `mouse.mods` accept the same values as they do in the `key_bindings` section. # `mouse.mods` accept the same values as they do in the `key_bindings` section.
# #
# The `mouse.enabled` field controls if the hint should be underlined while # The `mouse.enabled` field controls if the hint should be underlined while
# the mouse with all `mouse.mods` keys held or the vi mode cursor is above it. # the mouse with all `mouse.mods` keys held or the vi mode cursor is above it.
# #
# If the `post_processing` field is set to `true`, heuristics will be used to # If the `post_processing` field is set to `true`, heuristics will be used to
# shorten the match if there are characters likely not to be part of the hint # shorten the match if there are characters likely not to be part of the hint
# (e.g. a trailing `.`). This is most useful for URIs. # (e.g. a trailing `.`). This is most useful for URIs.
# #
# Values for `action`: # Values for `action`:
# - Copy # - Copy
# Copy the hint's text to the clipboard. # Copy the hint's text to the clipboard.
# - Paste # - Paste
# Paste the hint's text to the terminal or search. # Paste the hint's text to the terminal or search.
# - Select # - Select
# Select the hint's text. # Select the hint's text.
# - MoveViModeCursor # - MoveViModeCursor
# Move the vi mode cursor to the beginning of the hint. # Move the vi mode cursor to the beginning of the hint.
#enabled: #enabled:
# - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ # - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
# [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
# command: xdg-open # command: xdg-open
# post_processing: true # post_processing: true
# mouse: # mouse:
# enabled: true # enabled: true
# mods: None # mods: None
# binding: # binding:
# key: U # key: U
# mods: Control|Shift # mods: Control|Shift
# Mouse bindings # Mouse bindings
# #
@@ -738,108 +738,109 @@ cursor:
# in the order they were defined in. # in the order they were defined in.
#key_bindings: #key_bindings:
#- { key: Paste, action: Paste } #- { key: Paste, action: Paste }
#- { key: Copy, action: Copy } #- { key: Copy, action: Copy }
#- { key: L, mods: Control, action: ClearLogNotice } #- { key: L, mods: Control, action: ClearLogNotice }
#- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, } #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }
#- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown } #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown }
#- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, } #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, }
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom } #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
# Vi Mode # Vi Mode
#- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
#- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom } #- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
#- { key: Escape, mode: Vi|~Search, action: ClearSelection } #- { key: Escape, mode: Vi|~Search, action: ClearSelection }
#- { key: I, mode: Vi|~Search, action: ToggleViMode } #- { key: I, mode: Vi|~Search, action: ToggleViMode }
#- { key: I, mode: Vi|~Search, action: ScrollToBottom } #- { key: I, mode: Vi|~Search, action: ScrollToBottom }
#- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode } #- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode }
#- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp } #- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
#- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown } #- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }
#- { key: G, mode: Vi|~Search, action: ScrollToTop } #- { key: G, mode: Vi|~Search, action: ScrollToTop }
#- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom } #- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom }
#- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp } #- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp }
#- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown } #- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown }
#- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } #- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
#- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } #- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
#- { key: Y, mode: Vi|~Search, action: Copy } #- { key: Y, mode: Vi|~Search, action: Copy }
#- { key: Y, mode: Vi|~Search, action: ClearSelection } #- { key: Y, mode: Vi|~Search, action: ClearSelection }
#- { key: Copy, mode: Vi|~Search, action: ClearSelection } #- { key: Copy, mode: Vi|~Search, action: ClearSelection }
#- { key: V, mode: Vi|~Search, action: ToggleNormalSelection } #- { key: V, mode: Vi|~Search, action: ToggleNormalSelection }
#- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection } #- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection }
#- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
#- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
#- { key: Return, mode: Vi|~Search, action: Open } #- { key: Return, mode: Vi|~Search, action: Open }
#- { key: K, mode: Vi|~Search, action: Up } #- { key: K, mode: Vi|~Search, action: Up }
#- { key: J, mode: Vi|~Search, action: Down } #- { key: J, mode: Vi|~Search, action: Down }
#- { key: H, mode: Vi|~Search, action: Left } #- { key: H, mode: Vi|~Search, action: Left }
#- { key: L, mode: Vi|~Search, action: Right } #- { key: L, mode: Vi|~Search, action: Right }
#- { key: Up, mode: Vi|~Search, action: Up } #- { key: Up, mode: Vi|~Search, action: Up }
#- { key: Down, mode: Vi|~Search, action: Down } #- { key: Down, mode: Vi|~Search, action: Down }
#- { key: Left, mode: Vi|~Search, action: Left } #- { key: Left, mode: Vi|~Search, action: Left }
#- { key: Right, mode: Vi|~Search, action: Right } #- { key: Right, mode: Vi|~Search, action: Right }
#- { key: Key0, mode: Vi|~Search, action: First } #- { key: Key0, mode: Vi|~Search, action: First }
#- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last } #- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last }
#- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied } #- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied }
#- { key: H, mods: Shift, mode: Vi|~Search, action: High } #- { key: H, mods: Shift, mode: Vi|~Search, action: High }
#- { key: M, mods: Shift, mode: Vi|~Search, action: Middle } #- { key: M, mods: Shift, mode: Vi|~Search, action: Middle }
#- { key: L, mods: Shift, mode: Vi|~Search, action: Low } #- { key: L, mods: Shift, mode: Vi|~Search, action: Low }
#- { key: B, mode: Vi|~Search, action: SemanticLeft } #- { key: B, mode: Vi|~Search, action: SemanticLeft }
#- { key: W, mode: Vi|~Search, action: SemanticRight } #- { key: W, mode: Vi|~Search, action: SemanticRight }
#- { key: E, mode: Vi|~Search, action: SemanticRightEnd } #- { key: E, mode: Vi|~Search, action: SemanticRightEnd }
#- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft } #- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft }
#- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight } #- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight }
#- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd } #- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
#- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket } #- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket }
#- { key: Slash, mode: Vi|~Search, action: SearchForward } #- { key: Slash, mode: Vi|~Search, action: SearchForward }
#- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward } #- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward }
#- { key: N, mode: Vi|~Search, action: SearchNext } #- { key: N, mode: Vi|~Search, action: SearchNext }
#- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious } #- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious }
# Search Mode # Search Mode
#- { key: Return, mode: Search|Vi, action: SearchConfirm } #- { key: Return, mode: Search|Vi, action: SearchConfirm }
#- { key: Escape, mode: Search, action: SearchCancel } #- { key: Escape, mode: Search, action: SearchCancel }
#- { key: C, mods: Control, mode: Search, action: SearchCancel } #- { key: C, mods: Control, mode: Search, action: SearchCancel }
#- { key: U, mods: Control, mode: Search, action: SearchClear } #- { key: U, mods: Control, mode: Search, action: SearchClear }
#- { key: W, mods: Control, mode: Search, action: SearchDeleteWord } #- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
#- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious } #- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious }
#- { key: N, mods: Control, mode: Search, action: SearchHistoryNext } #- { key: N, mods: Control, mode: Search, action: SearchHistoryNext }
#- { key: Up, mode: Search, action: SearchHistoryPrevious } #- { key: Up, mode: Search, action: SearchHistoryPrevious }
#- { key: Down, mode: Search, action: SearchHistoryNext } #- { key: Down, mode: Search, action: SearchHistoryNext }
#- { key: Return, mode: Search|~Vi, action: SearchFocusNext } #- { key: Return, mode: Search|~Vi, action: SearchFocusNext }
#- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious } #- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious }
# (Windows, Linux, and BSD only) # (Windows, Linux, and BSD only)
#- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste } #- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste }
#- { key: C, mods: Control|Shift, action: Copy } #- { key: C, mods: Control|Shift, action: Copy }
#- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward } #- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward }
#- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward } #- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward }
#- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection } #- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection }
#- { key: Insert, mods: Shift, action: PasteSelection } #- { key: Insert, mods: Shift, action: PasteSelection }
#- { key: Key0, mods: Control, action: ResetFontSize } #- { key: Key0, mods: Control, action: ResetFontSize }
#- { key: Equals, mods: Control, action: IncreaseFontSize } #- { key: Equals, mods: Control, action: IncreaseFontSize }
#- { key: Plus, mods: Control, action: IncreaseFontSize } #- { key: Plus, mods: Control, action: IncreaseFontSize }
#- { key: NumpadAdd, mods: Control, action: IncreaseFontSize } #- { key: NumpadAdd, mods: Control, action: IncreaseFontSize }
#- { key: Minus, mods: Control, action: DecreaseFontSize } #- { key: Minus, mods: Control, action: DecreaseFontSize }
#- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize } #- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
#debug: #debug:
# Display the time it takes to redraw each frame. # Display the time it takes to redraw each frame.
#render_timer: false #render_timer: false
# Keep the log file after quitting Alacritty. # Keep the log file after quitting Alacritty.
#persistent_logging: false #persistent_logging: false
# Log level # Log level
# #
# Values for `log_level`: # Values for `log_level`:
# - Off # - Off
# - Error # - Error
# - Warn # - Warn
# - Info # - Info
# - Debug # - Debug
# - Trace # - Trace
#log_level: Warn #log_level: Warn
# Print all received window events. # Print all received window events.
#print_events: false #print_events: false

View File

@@ -1,7 +1,7 @@
# See dunst(5) for all configuration options # See dunst(5) for all configuration options
[global] [global]
### Display ### ### Display ###
# Which monitor should the notifications be displayed on. # Which monitor should the notifications be displayed on.
monitor = 0 monitor = 0
@@ -222,7 +222,7 @@
# Define the class of the windows spawned by dunst # Define the class of the windows spawned by dunst
class = Dunst class = Dunst
# Define the corner radius of the notification window # Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded # in pixel size. If the radius is 0, you have no rounded
# corners. # corners.
# The radius will be automatically lowered if it exceeds half of the # The radius will be automatically lowered if it exceeds half of the
@@ -276,10 +276,10 @@
mouse_middle_click = do_action, close_current mouse_middle_click = do_action, close_current
mouse_right_click = close_all mouse_right_click = close_all
# Experimental features that may or may not work correctly. Do not expect them # Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases. # to have a consistent behaviour across releases.
[experimental] [experimental]
# Calculate the dpi to use on a per-monitor basis. # Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead # If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor # dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups # using the resolution and physical size. This might be useful in setups
@@ -287,8 +287,8 @@
per_monitor_dpi = false per_monitor_dpi = false
[urgency_low] [urgency_low]
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment. # Otherwise the "#" and following would be interpreted as a comment.
background = "#222222" background = "#222222"
foreground = "#888888" foreground = "#888888"
@@ -297,23 +297,23 @@
# Icon for notifications with low urgency, uncomment to enable # Icon for notifications with low urgency, uncomment to enable
#default_icon = /path/to/icon #default_icon = /path/to/icon
[urgency_normal] [urgency_normal]
background = "#161e24" background = "#161e24"
foreground = "#fefefe" foreground = "#fefefe"
frame_color = "#404242" frame_color = "#404242"
timeout = 10 timeout = 10
# Icon for notifications with normal urgency, uncomment to enable # Icon for notifications with normal urgency, uncomment to enable
#default_icon = /path/to/icon #default_icon = /path/to/icon
[urgency_critical] [urgency_critical]
background = "#900000" background = "#900000"
foreground = "#f5f5f5" foreground = "#f5f5f5"
frame_color = "#ff0000" frame_color = "#ff0000"
timeout = 0 timeout = 0
# Icon for notifications with critical urgency, uncomment to enable # Icon for notifications with critical urgency, uncomment to enable
#default_icon = /path/to/icon #default_icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to # Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages. # override settings for certain messages.
# #
# Messages can be matched by # Messages can be matched by

View File

@@ -1414,7 +1414,7 @@ map kitty_mod+delete clear_terminal reset active
#: .. code-block:: sh #: .. code-block:: sh
#: scroll-and-clear-screen() { #: scroll-and-clear-screen() {
#: printf '\n%.0s' {1..$LINES} #: printf '\n%.0s' {1..$LINES}
#: zle clear-screen #: zle clear-screen
#: } #: }
#: zle -N scroll-and-clear-screen #: zle -N scroll-and-clear-screen

View File

@@ -21,6 +21,6 @@ auto_update_depth "0"
restore_paused "yes" restore_paused "yes"
audio_output { audio_output {
type "pulse" type "pulse"
name "pulse audio" name "pulse audio"
} }

View File

@@ -42,7 +42,7 @@ inactive-opacity = 1.0;
# and there is also whether there is Focused or Unfocused. # and there is also whether there is Focused or Unfocused.
# #
#opacity-rule = [ #opacity-rule = [
# "95:class_g = 'kitty' && focused", # "95:class_g = 'kitty' && focused",
# "75:class_g = 'kitty' && !focused", # "75:class_g = 'kitty' && !focused",
# "95:class_g = 'Alacritty' && focused", # "95:class_g = 'Alacritty' && focused",
# "75:class_g = 'Alacritty' && !focused" # "75:class_g = 'Alacritty' && !focused"
@@ -50,12 +50,12 @@ inactive-opacity = 1.0;
# Remember not to add comma "," to the last rule... but it must be at the end of all others. # Remember not to add comma "," to the last rule... but it must be at the end of all others.
opacity-rule = [ opacity-rule = [
"92:class_g = 'Rofi'", "92:class_g = 'Rofi'",
"95:class_g = 'kitty' && focused", "95:class_g = 'kitty' && focused",
"75:class_g = 'kitty' && !focused", "75:class_g = 'kitty' && !focused",
"95:class_g = 'Alacritty' && focused", "95:class_g = 'Alacritty' && focused",
"75:class_g = 'Alacritty' && !focused" "75:class_g = 'Alacritty' && !focused"
]; ];
################################# #################################
# Shadows # # Shadows #
@@ -103,12 +103,12 @@ shadow-offset-y = -15;
# #
# shadow-exclude = [] # shadow-exclude = []
shadow-exclude = [ shadow-exclude = [
"name = 'Notification'", "name = 'Notification'",
"class_g = 'Conky'", "class_g = 'Conky'",
"class_g ?= 'Notify-osd'", "class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'", "class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
]; ];
# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window. # Specify a list of conditions of windows that should have no shadow painted over, such as a dock window.
# clip-shadow-above = [] # clip-shadow-above = []
@@ -166,7 +166,7 @@ shadow-exclude = [
# Exclude conditions for rounded corners. # Exclude conditions for rounded corners.
#rounded-corners-exclude = [ #rounded-corners-exclude = [
# "window_type = 'dock'", # "window_type = 'dock'",
# "window_type = 'desktop'" # "window_type = 'desktop'"
#]; #];
@@ -213,18 +213,18 @@ blur-kern = "7x7box";
# Exclude conditions for background blur. # Exclude conditions for background blur.
# blur-background-exclude = [] # blur-background-exclude = []
blur-background-exclude = [ blur-background-exclude = [
"window_type = 'dock'", "window_type = 'dock'",
"window_type = 'desktop'", "window_type = 'desktop'",
"window_type = 'utility'", "window_type = 'utility'",
"window_type = 'dialog'", "window_type = 'dialog'",
"window_type = 'popup_menu'", #start_menu "window_type = 'popup_menu'", #start_menu
"window_type = 'menu'", "window_type = 'menu'",
"window_type = 'dropdown_menu'", "window_type = 'dropdown_menu'",
"window_type = 'tooltip'", "window_type = 'tooltip'",
"window_type = 'splash'", "window_type = 'splash'",
"class_g = 'slop'", "class_g = 'slop'",
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
]; ];
################################# #################################
# General Settings # # General Settings #
@@ -438,9 +438,9 @@ log-level = "warn";
# #
wintypes: wintypes:
{ {
tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; }; tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; };
dock = { shadow = false; clip-shadow-above = true; } dock = { shadow = false; clip-shadow-above = true; }
dnd = { shadow = false; } dnd = { shadow = false; }
popup_menu = { opacity = 1.0; } popup_menu = { opacity = 1.0; }
dropdown_menu = { opacity = 1.0; } dropdown_menu = { opacity = 1.0; }
}; };

View File

@@ -1,17 +1,17 @@
#!/bin/bash #!/bin/bash
function send_notification() { function send_notification() {
brightness=$(printf "%.0f\n" $(brillo -G)) brightness=$(printf "%.0f\n" $(brillo -G))
dunstify -a "changebrightness" -u low -r 9991 -h int:value:"$brightness" -i "brightness-$1" "Brightness: $brightness%" -t 2000 dunstify -a "changebrightness" -u low -r 9991 -h int:value:"$brightness" -i "brightness-$1" "Brightness: $brightness%" -t 2000
} }
case $1 in case $1 in
up) up)
brillo -A 5 -q brillo -A 5 -q
send_notification $1 send_notification $1
;; ;;
down) down)
brillo -U 5 -q brillo -U 5 -q
send_notification $1 send_notification $1
;; ;;
esac esac

View File

@@ -17,9 +17,9 @@ sudo nano /etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Device" Section "Device"
Identifier "AMD Graphics" Identifier "AMD Graphics"
Driver "amdgpu" Driver "amdgpu"
Option "TearFree" "true" Option "TearFree" "true"
EndSection EndSection