Merge remote-tracking branch 'origin/nix'
This commit is contained in:
commit
6ec069adbd
20 changed files with 2028 additions and 53 deletions
905
alacritty/.config/alacritty/alacritty.yml
Normal file
905
alacritty/.config/alacritty/alacritty.yml
Normal file
|
@ -0,0 +1,905 @@
|
||||||
|
|
||||||
|
# Configuration for Alacritty, the GPU enhanced terminal emulator.
|
||||||
|
|
||||||
|
# Import additional configuration files
|
||||||
|
#
|
||||||
|
# Imports are loaded in order, skipping all missing files, with the importing
|
||||||
|
# file being loaded last. If a field is already present in a previous import, it
|
||||||
|
# will be replaced.
|
||||||
|
#
|
||||||
|
# All imports must either be absolute paths starting with `/`, or paths relative
|
||||||
|
# to the user's home directory starting with `~/`.
|
||||||
|
#import:
|
||||||
|
# - /path/to/alacritty.yml
|
||||||
|
|
||||||
|
import:
|
||||||
|
- ~/.config/alacritty/dracula.yml
|
||||||
|
- ~/.config/alacritty/qgodefro.yml
|
||||||
|
|
||||||
|
#import:
|
||||||
|
# - /path/to/alacritty.yml
|
||||||
|
|
||||||
|
# Any items in the `env` entry below will be added as
|
||||||
|
# environment variables. Some entries may override variables
|
||||||
|
# set by alacritty itself.
|
||||||
|
env:
|
||||||
|
TERM: xterm
|
||||||
|
# TERM variable
|
||||||
|
#
|
||||||
|
# This value is used to set the `$TERM` environment variable for
|
||||||
|
# each instance of Alacritty. If it is not present, alacritty will
|
||||||
|
# check the local terminfo database and use `alacritty` if it is
|
||||||
|
# available, otherwise `xterm-256color` is used.
|
||||||
|
#TERM: alacritty
|
||||||
|
|
||||||
|
#window:
|
||||||
|
# Window dimensions (changes require restart)
|
||||||
|
#
|
||||||
|
# Number of lines/columns (not pixels) in the terminal. Both lines and columns
|
||||||
|
# must be non-zero for this to take effect. The number of columns 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
|
||||||
|
#dimensions:
|
||||||
|
# columns: 0
|
||||||
|
# lines: 0
|
||||||
|
|
||||||
|
# Window position (changes require restart)
|
||||||
|
#
|
||||||
|
# Specified in number of pixels.
|
||||||
|
# If the position is not set, the window manager will handle the placement.
|
||||||
|
#position:
|
||||||
|
# x: 0
|
||||||
|
# y: 0
|
||||||
|
|
||||||
|
# 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: 0
|
||||||
|
# y: 0
|
||||||
|
|
||||||
|
# Spread additional padding evenly around the terminal content.
|
||||||
|
#dynamic_padding: false
|
||||||
|
|
||||||
|
# Window decorations
|
||||||
|
#
|
||||||
|
# Values for `decorations`:
|
||||||
|
# - full: Borders and title bar
|
||||||
|
# - none: Neither borders nor title bar
|
||||||
|
#
|
||||||
|
# Values for `decorations` (macOS only):
|
||||||
|
# - transparent: Title bar, transparent background and title bar buttons
|
||||||
|
# - buttonless: Title bar, transparent background and no title bar buttons
|
||||||
|
decorations: none
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
opacity: "0.9"
|
||||||
|
|
||||||
|
# Startup Mode (changes require restart)
|
||||||
|
#
|
||||||
|
# Values for `startup_mode`:
|
||||||
|
# - Windowed
|
||||||
|
# - Maximized
|
||||||
|
# - Fullscreen
|
||||||
|
#
|
||||||
|
# Values for `startup_mode` (macOS only):
|
||||||
|
# - SimpleFullscreen
|
||||||
|
startup_mode: Maximized
|
||||||
|
|
||||||
|
# Window title
|
||||||
|
#title: Alacritty
|
||||||
|
|
||||||
|
# Allow terminal applications to change Alacritty's window title.
|
||||||
|
#dynamic_title: true
|
||||||
|
|
||||||
|
|
||||||
|
# Window class (Linux/BSD only):
|
||||||
|
#class:
|
||||||
|
# Application instance name
|
||||||
|
#instance: Alacritty
|
||||||
|
# General application class
|
||||||
|
#general: Alacritty
|
||||||
|
|
||||||
|
# Decorations theme variant (Linux/BSD only)
|
||||||
|
#
|
||||||
|
# Override the variant of the GTK theme/Wayland client side decorations.
|
||||||
|
# Commonly supported values are `dark` and `light`. Set this to `None` to use
|
||||||
|
# the default theme variant.
|
||||||
|
#decorations_theme_variant: None
|
||||||
|
|
||||||
|
scrolling:
|
||||||
|
# Maximum number of lines in the scrollback buffer.
|
||||||
|
# Specifying '0' will disable scrolling.
|
||||||
|
history: 100000
|
||||||
|
|
||||||
|
# Scrolling distance multiplier.
|
||||||
|
#multiplier: 3
|
||||||
|
|
||||||
|
# Font configuration
|
||||||
|
#font:
|
||||||
|
# Normal (roman) font face
|
||||||
|
#normal:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# - (macOS) Menlo
|
||||||
|
# - (Linux/BSD) monospace
|
||||||
|
# - (Windows) Consolas
|
||||||
|
#family: monospace
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
#style: Regular
|
||||||
|
|
||||||
|
# Bold font face
|
||||||
|
#bold:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# If the bold family is not specified, it will fall back to the
|
||||||
|
# value specified for the normal font.
|
||||||
|
#family: monospace
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
#style: Bold
|
||||||
|
|
||||||
|
# Italic font face
|
||||||
|
#italic:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# If the italic family is not specified, it will fall back to the
|
||||||
|
# value specified for the normal font.
|
||||||
|
#family: monospace
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
#style: Italic
|
||||||
|
|
||||||
|
# Bold italic font face
|
||||||
|
#bold_italic:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# If the bold italic family is not specified, it will fall back to the
|
||||||
|
# value specified for the normal font.
|
||||||
|
#family: monospace
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
#style: Bold Italic
|
||||||
|
|
||||||
|
# Point size
|
||||||
|
#size: 11.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 upward.
|
||||||
|
#glyph_offset:
|
||||||
|
# x: 0
|
||||||
|
# y: 0
|
||||||
|
|
||||||
|
# Use built-in font for box drawing characters.
|
||||||
|
#
|
||||||
|
# If `true`, Alacritty will use a custom built-in font for box drawing
|
||||||
|
# characters (Unicode points 2500 - 259f).
|
||||||
|
#
|
||||||
|
#builtin_box_drawing: true
|
||||||
|
|
||||||
|
# If `true`, bold text is drawn using the bright color variants.
|
||||||
|
#draw_bold_text_with_bright_colors: false
|
||||||
|
|
||||||
|
# Colors (Tomorrow Night)
|
||||||
|
#colors:
|
||||||
|
# Default colors
|
||||||
|
#primary:
|
||||||
|
# background: '#1d1f21'
|
||||||
|
# foreground: '#c5c8c6'
|
||||||
|
|
||||||
|
# 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: '#828482'
|
||||||
|
#bright_foreground: '#eaeaea'
|
||||||
|
|
||||||
|
# Cursor colors
|
||||||
|
#
|
||||||
|
# Colors which should be used to draw the terminal cursor.
|
||||||
|
#
|
||||||
|
# Allowed values are CellForeground/CellBackground, which reference the
|
||||||
|
# affected cell, or hexadecimal colors like #ff00ff.
|
||||||
|
#cursor:
|
||||||
|
# text: CellBackground
|
||||||
|
# cursor: CellForeground
|
||||||
|
|
||||||
|
# Vi mode cursor colors
|
||||||
|
#
|
||||||
|
# Colors for the cursor when the vi mode is active.
|
||||||
|
#
|
||||||
|
# Allowed values are CellForeground/CellBackground, which reference the
|
||||||
|
# affected cell, or hexadecimal colors like #ff00ff.
|
||||||
|
#vi_mode_cursor:
|
||||||
|
# text: CellBackground
|
||||||
|
# cursor: CellForeground
|
||||||
|
|
||||||
|
# Search colors
|
||||||
|
#
|
||||||
|
# Colors used for the search bar and match highlighting.
|
||||||
|
#search:
|
||||||
|
# Allowed values are CellForeground/CellBackground, which reference the
|
||||||
|
# affected cell, or hexadecimal colors like #ff00ff.
|
||||||
|
#matches:
|
||||||
|
# foreground: '#000000'
|
||||||
|
# background: '#ffffff'
|
||||||
|
#focused_match:
|
||||||
|
# foreground: '#ffffff'
|
||||||
|
# background: '#000000'
|
||||||
|
|
||||||
|
# Keyboard hints
|
||||||
|
#hints:
|
||||||
|
# First character in the hint label
|
||||||
|
#
|
||||||
|
# Allowed values are CellForeground/CellBackground, which reference the
|
||||||
|
# affected cell, or hexadecimal colors like #ff00ff.
|
||||||
|
#start:
|
||||||
|
# foreground: '#1d1f21'
|
||||||
|
# background: '#e9ff5e'
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Footer bar
|
||||||
|
#
|
||||||
|
# Color used for the footer bar on the bottom, used by search regex input,
|
||||||
|
# hyperlink URI preview, etc.
|
||||||
|
#
|
||||||
|
#footer_bar:
|
||||||
|
# background: '#c5c8c6'
|
||||||
|
# foreground: '#1d1f21'
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
# black: '#1d1f21'
|
||||||
|
# red: '#cc6666'
|
||||||
|
# green: '#b5bd68'
|
||||||
|
# yellow: '#f0c674'
|
||||||
|
# blue: '#81a2be'
|
||||||
|
# magenta: '#b294bb'
|
||||||
|
# cyan: '#8abeb7'
|
||||||
|
# white: '#c5c8c6'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
#bright:
|
||||||
|
# black: '#666666'
|
||||||
|
# red: '#d54e53'
|
||||||
|
# green: '#b9ca4a'
|
||||||
|
# yellow: '#e7c547'
|
||||||
|
# blue: '#7aa6da'
|
||||||
|
# magenta: '#c397d8'
|
||||||
|
# cyan: '#70c0b1'
|
||||||
|
# white: '#eaeaea'
|
||||||
|
|
||||||
|
# Dim colors
|
||||||
|
#
|
||||||
|
# If the dim colors are not set, they will be calculated automatically based
|
||||||
|
# on the `normal` colors.
|
||||||
|
#dim:
|
||||||
|
# black: '#131415'
|
||||||
|
# red: '#864343'
|
||||||
|
# green: '#777c44'
|
||||||
|
# yellow: '#9e824c'
|
||||||
|
# blue: '#556a7d'
|
||||||
|
# magenta: '#75617b'
|
||||||
|
# cyan: '#5b7d78'
|
||||||
|
# white: '#828482'
|
||||||
|
|
||||||
|
# Indexed Colors
|
||||||
|
#
|
||||||
|
# The indexed colors include all colors from 16 to 256.
|
||||||
|
# When these are not set, they're filled with sensible defaults.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# `- { index: 16, color: '#ff00ff' }`
|
||||||
|
#
|
||||||
|
#indexed_colors: []
|
||||||
|
|
||||||
|
# Transparent cell backgrounds
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# regardless of their background color.
|
||||||
|
#transparent_background_colors: false
|
||||||
|
|
||||||
|
# Bell
|
||||||
|
#
|
||||||
|
# The bell is rung every time the BEL control character is received.
|
||||||
|
#bell:
|
||||||
|
# Visual Bell Animation
|
||||||
|
#
|
||||||
|
# Animation effect for flashing the screen when the visual bell is rung.
|
||||||
|
#
|
||||||
|
# Values for `animation`:
|
||||||
|
# - Ease
|
||||||
|
# - EaseOut
|
||||||
|
# - EaseOutSine
|
||||||
|
# - EaseOutQuad
|
||||||
|
# - EaseOutCubic
|
||||||
|
# - EaseOutQuart
|
||||||
|
# - EaseOutQuint
|
||||||
|
# - EaseOutExpo
|
||||||
|
# - EaseOutCirc
|
||||||
|
# - Linear
|
||||||
|
#animation: EaseOutExpo
|
||||||
|
|
||||||
|
# Duration of the visual bell flash in milliseconds. A `duration` of `0` will
|
||||||
|
# disable the visual bell animation.
|
||||||
|
#duration: 0
|
||||||
|
|
||||||
|
# Visual bell animation color.
|
||||||
|
#color: '#ffffff'
|
||||||
|
|
||||||
|
# Bell Command
|
||||||
|
#
|
||||||
|
# This program is executed whenever the bell is rung.
|
||||||
|
#
|
||||||
|
# When set to `command: None`, no command will be executed.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# command:
|
||||||
|
# program: notify-send
|
||||||
|
# args: ["Hello, World!"]
|
||||||
|
#
|
||||||
|
#command: None
|
||||||
|
|
||||||
|
#selection:
|
||||||
|
# This string contains all characters that are used as separators for
|
||||||
|
# "semantic words" in Alacritty.
|
||||||
|
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
||||||
|
|
||||||
|
# When set to `true`, selected text will be copied to the primary clipboard.
|
||||||
|
#save_to_clipboard: false
|
||||||
|
|
||||||
|
#cursor:
|
||||||
|
# Cursor style
|
||||||
|
#style:
|
||||||
|
# Cursor shape
|
||||||
|
#
|
||||||
|
# Values for `shape`:
|
||||||
|
# - ▇ Block
|
||||||
|
# - _ Underline
|
||||||
|
# - | Beam
|
||||||
|
#shape: Block
|
||||||
|
|
||||||
|
# Cursor blinking state
|
||||||
|
#
|
||||||
|
# Values for `blinking`:
|
||||||
|
# - Never: Prevent the cursor from ever blinking
|
||||||
|
# - Off: Disable blinking by default
|
||||||
|
# - On: Enable blinking by default
|
||||||
|
# - Always: Force the cursor to always blink
|
||||||
|
#blinking: Off
|
||||||
|
|
||||||
|
# Vi mode cursor style
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
# See `cursor.style` for available options.
|
||||||
|
#vi_mode_style: None
|
||||||
|
|
||||||
|
# Cursor blinking interval in milliseconds.
|
||||||
|
#blink_interval: 750
|
||||||
|
|
||||||
|
# Time after which cursor stops blinking, in seconds.
|
||||||
|
#
|
||||||
|
# Specifying '0' will disable timeout for blinking.
|
||||||
|
#blink_timeout: 5
|
||||||
|
|
||||||
|
# If this is `true`, the cursor will be rendered as a hollow box when the
|
||||||
|
# window is not focused.
|
||||||
|
#unfocused_hollow: true
|
||||||
|
|
||||||
|
# Thickness of the cursor relative to the cell width as floating point number
|
||||||
|
# from `0.0` to `1.0`.
|
||||||
|
#thickness: 0.15
|
||||||
|
|
||||||
|
# Live config reload (changes require restart)
|
||||||
|
#live_config_reload: true
|
||||||
|
|
||||||
|
# Shell
|
||||||
|
#
|
||||||
|
# You can set `shell.program` to the path of your favorite shell, e.g.
|
||||||
|
# `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the
|
||||||
|
# shell.
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset
|
||||||
|
# - (Windows) powershell
|
||||||
|
#shell:
|
||||||
|
# program: /bin/bash
|
||||||
|
# args:
|
||||||
|
# - --login
|
||||||
|
|
||||||
|
# Startup directory
|
||||||
|
#
|
||||||
|
# Directory the shell is started in. If this is unset, or `None`, the working
|
||||||
|
# directory of the parent process will be used.
|
||||||
|
#working_directory: None
|
||||||
|
|
||||||
|
# Send ESC (\x1b) before characters when alt is pressed.
|
||||||
|
#alt_send_esc: true
|
||||||
|
|
||||||
|
# Offer IPC using `alacritty msg` (unix only)
|
||||||
|
#ipc_socket: true
|
||||||
|
|
||||||
|
#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
|
||||||
|
|
||||||
|
# Hints
|
||||||
|
#
|
||||||
|
# Terminal hints can be used to find text or hyperlink in the visible part of
|
||||||
|
# the terminal and pipe it to other applications.
|
||||||
|
#hints:
|
||||||
|
# Keys used for the hint labels.
|
||||||
|
#alphabet: "jfkdls;ahgurieowpq"
|
||||||
|
|
||||||
|
# List with all available hints
|
||||||
|
#
|
||||||
|
# Each hint must have any of `regex` or `hyperlinks` field and either an
|
||||||
|
# `action` or a `command` field. The fields `mouse`, `binding` and
|
||||||
|
# `post_processing` are optional.
|
||||||
|
#
|
||||||
|
# The `hyperlinks` option will cause OSC 8 escape sequence hyperlinks to be
|
||||||
|
# highlighted.
|
||||||
|
#
|
||||||
|
# The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
|
||||||
|
# `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 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
|
||||||
|
# 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 and applies only to
|
||||||
|
# `regex` matches.
|
||||||
|
#
|
||||||
|
# Values for `action`:
|
||||||
|
# - Copy
|
||||||
|
# Copy the hint's text to the clipboard.
|
||||||
|
# - Paste
|
||||||
|
# Paste the hint's text to the terminal or search.
|
||||||
|
# - Select
|
||||||
|
# Select the hint's text.
|
||||||
|
# - MoveViModeCursor
|
||||||
|
# Move the vi mode cursor to the beginning of the hint.
|
||||||
|
#enabled:
|
||||||
|
# - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
|
||||||
|
# [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
|
||||||
|
# hyperlinks: true
|
||||||
|
# command: xdg-open
|
||||||
|
# post_processing: true
|
||||||
|
# mouse:
|
||||||
|
# enabled: true
|
||||||
|
# mods: None
|
||||||
|
# binding:
|
||||||
|
# key: U
|
||||||
|
# mods: Control|Shift
|
||||||
|
|
||||||
|
# Mouse bindings
|
||||||
|
#
|
||||||
|
# Mouse bindings are specified as a list of objects, much like the key
|
||||||
|
# bindings further below.
|
||||||
|
#
|
||||||
|
# To trigger mouse bindings when an application running within Alacritty
|
||||||
|
# captures the mouse, the `Shift` modifier is automatically added as a
|
||||||
|
# requirement.
|
||||||
|
#
|
||||||
|
# Each mouse binding will specify a:
|
||||||
|
#
|
||||||
|
# - `mouse`:
|
||||||
|
#
|
||||||
|
# - Middle
|
||||||
|
# - Left
|
||||||
|
# - Right
|
||||||
|
# - Numeric identifier such as `5`
|
||||||
|
#
|
||||||
|
# - `action` (see key bindings for actions not exclusive to mouse mode)
|
||||||
|
#
|
||||||
|
# - Mouse exclusive actions:
|
||||||
|
#
|
||||||
|
# - ExpandSelection
|
||||||
|
# Expand the selection to the current mouse cursor location.
|
||||||
|
#
|
||||||
|
# And optionally:
|
||||||
|
#
|
||||||
|
# - `mods` (see key bindings)
|
||||||
|
#mouse_bindings:
|
||||||
|
# - { mouse: Right, action: ExpandSelection }
|
||||||
|
# - { mouse: Right, mods: Control, action: ExpandSelection }
|
||||||
|
# - { mouse: Middle, mode: ~Vi, action: PasteSelection }
|
||||||
|
|
||||||
|
# Key bindings
|
||||||
|
#
|
||||||
|
# Key bindings are specified as a list of objects. For example, this is the
|
||||||
|
# default paste binding:
|
||||||
|
#
|
||||||
|
# `- { key: V, mods: Control|Shift, action: Paste }`
|
||||||
|
#
|
||||||
|
# Each key binding will specify a:
|
||||||
|
#
|
||||||
|
# - `key`: Identifier of the key pressed
|
||||||
|
#
|
||||||
|
# - A-Z
|
||||||
|
# - F1-F24
|
||||||
|
# - Key0-Key9
|
||||||
|
#
|
||||||
|
# A full list with available key codes can be found here:
|
||||||
|
# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
|
||||||
|
#
|
||||||
|
# Instead of using the name of the keys, the `key` field also supports using
|
||||||
|
# the scancode of the desired key. Scancodes have to be specified as a
|
||||||
|
# decimal number. This command will allow you to display the hex scancodes
|
||||||
|
# for certain keys:
|
||||||
|
#
|
||||||
|
# `showkey --scancodes`.
|
||||||
|
#
|
||||||
|
# Then exactly one of:
|
||||||
|
#
|
||||||
|
# - `chars`: Send a byte sequence to the running application
|
||||||
|
#
|
||||||
|
# The `chars` field writes the specified string to the terminal. This makes
|
||||||
|
# it possible to pass escape sequences. To find escape codes for bindings
|
||||||
|
# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside
|
||||||
|
# of tmux. Note that applications use terminfo to map escape sequences back
|
||||||
|
# to keys. It is therefore required to update the terminfo when changing an
|
||||||
|
# escape sequence.
|
||||||
|
#
|
||||||
|
# - `action`: Execute a predefined action
|
||||||
|
#
|
||||||
|
# - ToggleViMode
|
||||||
|
# - SearchForward
|
||||||
|
# Start searching toward the right of the search origin.
|
||||||
|
# - SearchBackward
|
||||||
|
# Start searching toward the left of the search origin.
|
||||||
|
# - Copy
|
||||||
|
# - Paste
|
||||||
|
# - IncreaseFontSize
|
||||||
|
# - DecreaseFontSize
|
||||||
|
# - ResetFontSize
|
||||||
|
# - ScrollPageUp
|
||||||
|
# - ScrollPageDown
|
||||||
|
# - ScrollHalfPageUp
|
||||||
|
# - ScrollHalfPageDown
|
||||||
|
# - ScrollLineUp
|
||||||
|
# - ScrollLineDown
|
||||||
|
# - ScrollToTop
|
||||||
|
# - ScrollToBottom
|
||||||
|
# - ClearHistory
|
||||||
|
# Remove the terminal's scrollback history.
|
||||||
|
# - Hide
|
||||||
|
# Hide the Alacritty window.
|
||||||
|
# - Minimize
|
||||||
|
# Minimize the Alacritty window.
|
||||||
|
# - Quit
|
||||||
|
# Quit Alacritty.
|
||||||
|
# - ToggleFullscreen
|
||||||
|
# - SpawnNewInstance
|
||||||
|
# Spawn a new instance of Alacritty.
|
||||||
|
# - CreateNewWindow
|
||||||
|
# Create a new Alacritty window from the current process.
|
||||||
|
# - ClearLogNotice
|
||||||
|
# Clear Alacritty's UI warning and error notice.
|
||||||
|
# - ClearSelection
|
||||||
|
# Remove the active selection.
|
||||||
|
# - ReceiveChar
|
||||||
|
# - None
|
||||||
|
#
|
||||||
|
# - Vi mode exclusive actions:
|
||||||
|
#
|
||||||
|
# - Open
|
||||||
|
# Perform the action of the first matching hint under the vi mode cursor
|
||||||
|
# with `mouse.enabled` set to `true`.
|
||||||
|
# - ToggleNormalSelection
|
||||||
|
# - ToggleLineSelection
|
||||||
|
# - ToggleBlockSelection
|
||||||
|
# - ToggleSemanticSelection
|
||||||
|
# Toggle semantic selection based on `selection.semantic_escape_chars`.
|
||||||
|
# - CenterAroundViCursor
|
||||||
|
# Center view around vi mode cursor
|
||||||
|
#
|
||||||
|
# - Vi mode exclusive cursor motion actions:
|
||||||
|
#
|
||||||
|
# - Up
|
||||||
|
# One line up.
|
||||||
|
# - Down
|
||||||
|
# One line down.
|
||||||
|
# - Left
|
||||||
|
# One character left.
|
||||||
|
# - Right
|
||||||
|
# One character right.
|
||||||
|
# - First
|
||||||
|
# First column, or beginning of the line when already at the first column.
|
||||||
|
# - Last
|
||||||
|
# Last column, or beginning of the line when already at the last column.
|
||||||
|
# - FirstOccupied
|
||||||
|
# First non-empty cell in this terminal row, or first non-empty cell of
|
||||||
|
# the line when already at the first cell of the row.
|
||||||
|
# - High
|
||||||
|
# Top of the screen.
|
||||||
|
# - Middle
|
||||||
|
# Center of the screen.
|
||||||
|
# - Low
|
||||||
|
# Bottom of the screen.
|
||||||
|
# - SemanticLeft
|
||||||
|
# Start of the previous semantically separated word.
|
||||||
|
# - SemanticRight
|
||||||
|
# Start of the next semantically separated word.
|
||||||
|
# - SemanticLeftEnd
|
||||||
|
# End of the previous semantically separated word.
|
||||||
|
# - SemanticRightEnd
|
||||||
|
# End of the next semantically separated word.
|
||||||
|
# - WordLeft
|
||||||
|
# Start of the previous whitespace separated word.
|
||||||
|
# - WordRight
|
||||||
|
# Start of the next whitespace separated word.
|
||||||
|
# - WordLeftEnd
|
||||||
|
# End of the previous whitespace separated word.
|
||||||
|
# - WordRightEnd
|
||||||
|
# End of the next whitespace separated word.
|
||||||
|
# - Bracket
|
||||||
|
# Character matching the bracket at the cursor's location.
|
||||||
|
# - SearchNext
|
||||||
|
# Beginning of the next match.
|
||||||
|
# - SearchPrevious
|
||||||
|
# Beginning of the previous match.
|
||||||
|
# - SearchStart
|
||||||
|
# Start of the match to the left of the vi mode cursor.
|
||||||
|
# - SearchEnd
|
||||||
|
# End of the match to the right of the vi mode cursor.
|
||||||
|
#
|
||||||
|
# - Search mode exclusive actions:
|
||||||
|
# - SearchFocusNext
|
||||||
|
# Move the focus to the next search match.
|
||||||
|
# - SearchFocusPrevious
|
||||||
|
# Move the focus to the previous search match.
|
||||||
|
# - SearchConfirm
|
||||||
|
# - SearchCancel
|
||||||
|
# - SearchClear
|
||||||
|
# Reset the search regex.
|
||||||
|
# - SearchDeleteWord
|
||||||
|
# Delete the last word in the search regex.
|
||||||
|
# - SearchHistoryPrevious
|
||||||
|
# Go to the previous regex in the search history.
|
||||||
|
# - SearchHistoryNext
|
||||||
|
# Go to the next regex in the search history.
|
||||||
|
#
|
||||||
|
# - macOS exclusive actions:
|
||||||
|
# - ToggleSimpleFullscreen
|
||||||
|
# Enter fullscreen without occupying another space.
|
||||||
|
#
|
||||||
|
# - Linux/BSD exclusive actions:
|
||||||
|
#
|
||||||
|
# - CopySelection
|
||||||
|
# Copy from the selection buffer.
|
||||||
|
# - PasteSelection
|
||||||
|
# Paste from the selection buffer.
|
||||||
|
#
|
||||||
|
# - `command`: Fork and execute a specified command plus arguments
|
||||||
|
#
|
||||||
|
# The `command` field must be a map containing a `program` string and an
|
||||||
|
# `args` array of command line parameter strings. For example:
|
||||||
|
# `{ program: "alacritty", args: ["-e", "vttest"] }`
|
||||||
|
#
|
||||||
|
# And optionally:
|
||||||
|
#
|
||||||
|
# - `mods`: Key modifiers to filter binding actions
|
||||||
|
#
|
||||||
|
# - Command
|
||||||
|
# - Control
|
||||||
|
# - Option
|
||||||
|
# - Super
|
||||||
|
# - Shift
|
||||||
|
# - Alt
|
||||||
|
#
|
||||||
|
# Multiple `mods` can be combined using `|` like this:
|
||||||
|
# `mods: Control|Shift`.
|
||||||
|
# Whitespace and capitalization are relevant and must match the example.
|
||||||
|
#
|
||||||
|
# - `mode`: Indicate a binding for only specific terminal reported modes
|
||||||
|
#
|
||||||
|
# This is mainly used to send applications the correct escape sequences
|
||||||
|
# when in different modes.
|
||||||
|
#
|
||||||
|
# - AppCursor
|
||||||
|
# - AppKeypad
|
||||||
|
# - Search
|
||||||
|
# - Alt
|
||||||
|
# - Vi
|
||||||
|
#
|
||||||
|
# A `~` operator can be used before a mode to apply the binding whenever
|
||||||
|
# the mode is *not* active, e.g. `~Alt`.
|
||||||
|
#
|
||||||
|
# Bindings are always filled by default, but will be replaced when a new
|
||||||
|
# binding with the same triggers is defined. To unset a default binding, it can
|
||||||
|
# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
|
||||||
|
# a no-op if you do not wish to receive input characters for that binding.
|
||||||
|
#
|
||||||
|
# If the same trigger is assigned to multiple actions, all of them are executed
|
||||||
|
# in the order they were defined in.
|
||||||
|
#key_bindings:
|
||||||
|
#- { key: Paste, action: Paste }
|
||||||
|
#- { key: Copy, action: Copy }
|
||||||
|
#- { key: L, mods: Control, action: ClearLogNotice }
|
||||||
|
#- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
|
||||||
|
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp }
|
||||||
|
#- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown }
|
||||||
|
#- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop }
|
||||||
|
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
|
||||||
|
|
||||||
|
# Vi Mode
|
||||||
|
#- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
|
||||||
|
#- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
|
||||||
|
#- { key: Escape, mode: Vi|~Search, action: ClearSelection }
|
||||||
|
#- { key: I, mode: Vi|~Search, action: ToggleViMode }
|
||||||
|
#- { key: I, mode: Vi|~Search, action: ScrollToBottom }
|
||||||
|
#- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode }
|
||||||
|
#- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
|
||||||
|
#- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }
|
||||||
|
#- { key: G, mode: Vi|~Search, action: ScrollToTop }
|
||||||
|
#- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom }
|
||||||
|
#- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp }
|
||||||
|
#- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown }
|
||||||
|
#- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
|
||||||
|
#- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
|
||||||
|
#- { key: Y, mode: Vi|~Search, action: Copy }
|
||||||
|
#- { key: Y, mode: Vi|~Search, action: ClearSelection }
|
||||||
|
#- { key: Copy, mode: Vi|~Search, action: ClearSelection }
|
||||||
|
#- { key: V, mode: Vi|~Search, action: ToggleNormalSelection }
|
||||||
|
#- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection }
|
||||||
|
#- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
|
||||||
|
#- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
|
||||||
|
#- { key: Return, mode: Vi|~Search, action: Open }
|
||||||
|
#- { key: Z, mode: Vi|~Search, action: CenterAroundViCursor }
|
||||||
|
#- { key: K, mode: Vi|~Search, action: Up }
|
||||||
|
#- { key: J, mode: Vi|~Search, action: Down }
|
||||||
|
#- { key: H, mode: Vi|~Search, action: Left }
|
||||||
|
#- { key: L, mode: Vi|~Search, action: Right }
|
||||||
|
#- { key: Up, mode: Vi|~Search, action: Up }
|
||||||
|
#- { key: Down, mode: Vi|~Search, action: Down }
|
||||||
|
#- { key: Left, mode: Vi|~Search, action: Left }
|
||||||
|
#- { key: Right, mode: Vi|~Search, action: Right }
|
||||||
|
#- { key: Key0, mode: Vi|~Search, action: First }
|
||||||
|
#- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last }
|
||||||
|
#- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied }
|
||||||
|
#- { key: H, mods: Shift, mode: Vi|~Search, action: High }
|
||||||
|
#- { key: M, mods: Shift, mode: Vi|~Search, action: Middle }
|
||||||
|
#- { key: L, mods: Shift, mode: Vi|~Search, action: Low }
|
||||||
|
#- { key: B, mode: Vi|~Search, action: SemanticLeft }
|
||||||
|
#- { key: W, mode: Vi|~Search, action: SemanticRight }
|
||||||
|
#- { key: E, mode: Vi|~Search, action: SemanticRightEnd }
|
||||||
|
#- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft }
|
||||||
|
#- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight }
|
||||||
|
#- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
|
||||||
|
#- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket }
|
||||||
|
#- { key: Slash, mode: Vi|~Search, action: SearchForward }
|
||||||
|
#- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward }
|
||||||
|
#- { key: N, mode: Vi|~Search, action: SearchNext }
|
||||||
|
#- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious }
|
||||||
|
|
||||||
|
# Search Mode
|
||||||
|
#- { key: Return, mode: Search|Vi, action: SearchConfirm }
|
||||||
|
#- { key: Escape, mode: Search, action: SearchCancel }
|
||||||
|
#- { key: C, mods: Control, mode: Search, action: SearchCancel }
|
||||||
|
#- { key: U, mods: Control, mode: Search, action: SearchClear }
|
||||||
|
#- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
|
||||||
|
#- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious }
|
||||||
|
#- { key: N, mods: Control, mode: Search, action: SearchHistoryNext }
|
||||||
|
#- { key: Up, mode: Search, action: SearchHistoryPrevious }
|
||||||
|
#- { key: Down, mode: Search, action: SearchHistoryNext }
|
||||||
|
#- { key: Return, mode: Search|~Vi, action: SearchFocusNext }
|
||||||
|
#- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious }
|
||||||
|
|
||||||
|
# (Windows, Linux, and BSD only)
|
||||||
|
#- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste }
|
||||||
|
#- { key: C, mods: Control|Shift, action: Copy }
|
||||||
|
#- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward }
|
||||||
|
#- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward }
|
||||||
|
#- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection }
|
||||||
|
#- { key: Insert, mods: Shift, action: PasteSelection }
|
||||||
|
#- { key: Key0, mods: Control, action: ResetFontSize }
|
||||||
|
#- { key: Equals, mods: Control, action: IncreaseFontSize }
|
||||||
|
#- { key: Plus, mods: Control, action: IncreaseFontSize }
|
||||||
|
#- { key: NumpadAdd, mods: Control, action: IncreaseFontSize }
|
||||||
|
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||||
|
#- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
|
||||||
|
|
||||||
|
# (Windows only)
|
||||||
|
#- { key: Return, mods: Alt, action: ToggleFullscreen }
|
||||||
|
|
||||||
|
# (macOS only)
|
||||||
|
#- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" }
|
||||||
|
#- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory }
|
||||||
|
#- { key: Key0, mods: Command, action: ResetFontSize }
|
||||||
|
#- { key: Equals, mods: Command, action: IncreaseFontSize }
|
||||||
|
#- { key: Plus, mods: Command, action: IncreaseFontSize }
|
||||||
|
#- { key: NumpadAdd, mods: Command, action: IncreaseFontSize }
|
||||||
|
#- { key: Minus, mods: Command, action: DecreaseFontSize }
|
||||||
|
#- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize }
|
||||||
|
#- { key: V, mods: Command, action: Paste }
|
||||||
|
#- { key: C, mods: Command, action: Copy }
|
||||||
|
#- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection }
|
||||||
|
#- { key: H, mods: Command, action: Hide }
|
||||||
|
#- { key: H, mods: Command|Alt, action: HideOtherApplications }
|
||||||
|
#- { key: M, mods: Command, action: Minimize }
|
||||||
|
#- { key: Q, mods: Command, action: Quit }
|
||||||
|
#- { key: W, mods: Command, action: Quit }
|
||||||
|
#- { key: N, mods: Command, action: SpawnNewInstance }
|
||||||
|
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
|
||||||
|
#- { key: F, mods: Command, mode: ~Search, action: SearchForward }
|
||||||
|
#- { key: B, mods: Command, mode: ~Search, action: SearchBackward }
|
||||||
|
|
||||||
|
#debug:
|
||||||
|
# Display the time it takes to redraw each frame.
|
||||||
|
#render_timer: false
|
||||||
|
|
||||||
|
# Keep the log file after quitting Alacritty.
|
||||||
|
#persistent_logging: false
|
||||||
|
|
||||||
|
# Log level
|
||||||
|
#
|
||||||
|
# Values for `log_level`:
|
||||||
|
# - Off
|
||||||
|
# - Error
|
||||||
|
# - Warn
|
||||||
|
# - Info
|
||||||
|
# - Debug
|
||||||
|
# - Trace
|
||||||
|
#log_level: Warn
|
||||||
|
|
||||||
|
# Print all received window events.
|
||||||
|
#print_events: false
|
||||||
|
|
||||||
|
# Highlight window damage information.
|
||||||
|
#highlight_damage: false
|
609
dracula/.dir_colors
Normal file
609
dracula/.dir_colors
Normal file
|
@ -0,0 +1,609 @@
|
||||||
|
# Configuration file for dircolors, a utility to help you set the
|
||||||
|
# LS_COLORS environment variable used by GNU ls with the --color option.
|
||||||
|
|
||||||
|
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
||||||
|
# Copying and distribution of this file, with or without modification,
|
||||||
|
# are permitted provided the copyright notice and this notice are preserved.
|
||||||
|
|
||||||
|
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
|
||||||
|
# slackware version of dircolors) are recognized but ignored.
|
||||||
|
|
||||||
|
# You can copy this file to .dir_colors in your $HOME directory to override
|
||||||
|
# the system defaults.
|
||||||
|
|
||||||
|
# Below, there should be one TERM entry for each termtype that is colorizable
|
||||||
|
# Term Section
|
||||||
|
TERM Eterm
|
||||||
|
TERM ansi
|
||||||
|
TERM color-xterm
|
||||||
|
TERM con132x25
|
||||||
|
TERM con132x30
|
||||||
|
TERM con132x43
|
||||||
|
TERM con132x60
|
||||||
|
TERM con80x25
|
||||||
|
TERM con80x28
|
||||||
|
TERM con80x30
|
||||||
|
TERM con80x43
|
||||||
|
TERM con80x50
|
||||||
|
TERM con80x60
|
||||||
|
TERM cons25
|
||||||
|
TERM console
|
||||||
|
TERM cygwin
|
||||||
|
TERM dtterm
|
||||||
|
TERM dvtm
|
||||||
|
TERM dvtm-256color
|
||||||
|
TERM eterm-color
|
||||||
|
TERM fbterm
|
||||||
|
TERM gnome
|
||||||
|
TERM gnome-256color
|
||||||
|
TERM jfbterm
|
||||||
|
TERM konsole
|
||||||
|
TERM konsole-256color
|
||||||
|
TERM kterm
|
||||||
|
TERM linux
|
||||||
|
TERM linux-c
|
||||||
|
TERM mach-color
|
||||||
|
TERM mlterm
|
||||||
|
TERM putty
|
||||||
|
TERM putty-256color
|
||||||
|
TERM rxvt
|
||||||
|
TERM rxvt-256color
|
||||||
|
TERM rxvt-cygwin
|
||||||
|
TERM rxvt-cygwin-native
|
||||||
|
TERM rxvt-unicode
|
||||||
|
TERM rxvt-unicode256
|
||||||
|
TERM rxvt-unicode-256color
|
||||||
|
TERM screen
|
||||||
|
TERM screen-16color
|
||||||
|
TERM screen-16color-bce
|
||||||
|
TERM screen-16color-s
|
||||||
|
TERM screen-16color-bce-s
|
||||||
|
TERM screen-256color
|
||||||
|
TERM screen-256color-bce
|
||||||
|
TERM screen-256color-s
|
||||||
|
TERM screen-256color-bce-s
|
||||||
|
TERM screen-256color-italic
|
||||||
|
TERM screen-bce
|
||||||
|
TERM screen-w
|
||||||
|
TERM screen.linux
|
||||||
|
TERM screen.xterm-256color
|
||||||
|
TERM st
|
||||||
|
TERM st-meta
|
||||||
|
TERM st-256color
|
||||||
|
TERM st-meta-256color
|
||||||
|
TERM tmux
|
||||||
|
TERM tmux-256color
|
||||||
|
TERM vt100
|
||||||
|
TERM xterm
|
||||||
|
TERM xterm-16color
|
||||||
|
TERM xterm-256color
|
||||||
|
TERM xterm-256color-italic
|
||||||
|
TERM xterm-88color
|
||||||
|
TERM xterm-color
|
||||||
|
TERM xterm-debian
|
||||||
|
TERM xterm-termite
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
#
|
||||||
|
# standard colors
|
||||||
|
#
|
||||||
|
# Below are the color init strings for the basic file types. A color init
|
||||||
|
# string consists of one or more of the following numeric codes:
|
||||||
|
# Attribute codes:
|
||||||
|
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
|
||||||
|
# Text color codes:
|
||||||
|
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
|
||||||
|
# Background color codes:
|
||||||
|
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# 256 color support
|
||||||
|
# see here: http://www.mail-archive.com/bug-coreutils@gnu.org/msg11030.html)
|
||||||
|
#
|
||||||
|
# Text 256 color coding:
|
||||||
|
# 38;5;COLOR_NUMBER
|
||||||
|
# Background 256 color coding:
|
||||||
|
# 48;5;COLOR_NUMBER
|
||||||
|
|
||||||
|
## Special files
|
||||||
|
|
||||||
|
NORMAL 00;38;5;15 # no color code at all
|
||||||
|
#FILE 00 # regular file: use no color at all
|
||||||
|
RESET 0 # reset to "normal" color
|
||||||
|
DIR 00;38;5;6 # directory 01;34
|
||||||
|
LINK 00;38;5;2 # symbolic link. (If you set this to 'target' instead of a
|
||||||
|
# numerical value, the color is as for the file pointed to.)
|
||||||
|
MULTIHARDLINK 00 # regular file with more than one link
|
||||||
|
FIFO 48;5;0;38;5;3;01 # pipe
|
||||||
|
SOCK 48;5;0;38;5;3;01 # socket
|
||||||
|
DOOR 48;5;0;38;5;3;01 # door
|
||||||
|
BLK 48;5;0;38;5;15;01 # block device driver
|
||||||
|
CHR 48;5;0;38;5;15;01 # character device driver
|
||||||
|
ORPHAN 48;5;0;38;5;1 # symlink to nonexistent file, or non-stat'able file
|
||||||
|
SETUID 48;5;1;38;5;3 # file that is setuid (u+s)
|
||||||
|
SETGID 48;5;1;38;5;3 # file that is setgid (g+s)
|
||||||
|
CAPABILITY 30;41 # file with capability
|
||||||
|
STICKY_OTHER_WRITABLE 48;5;2;38;5;3 # dir that is sticky and other-writable (+t,o+w)
|
||||||
|
OTHER_WRITABLE 48;5;0;38;5;6 # dir that is other-writable (o+w) and not sticky
|
||||||
|
STICKY 48;5;6;38;5;3 # dir with the sticky bit set (+t) and not other-writable
|
||||||
|
# This is for files with execute permission:
|
||||||
|
EXEC 00;38;5;2
|
||||||
|
|
||||||
|
## Archives or compressed (violet + bold for compression)
|
||||||
|
.tar 00;38;5;4
|
||||||
|
.tgz 00;38;5;4
|
||||||
|
.arj 00;38;5;4
|
||||||
|
.taz 00;38;5;4
|
||||||
|
.lzh 00;38;5;4
|
||||||
|
.lzma 00;38;5;4
|
||||||
|
.tlz 00;38;5;4
|
||||||
|
.txz 00;38;5;4
|
||||||
|
.zip 00;38;5;4
|
||||||
|
.z 00;38;5;4
|
||||||
|
.Z 00;38;5;4
|
||||||
|
.dz 00;38;5;4
|
||||||
|
.gz 00;38;5;4
|
||||||
|
.lz 00;38;5;4
|
||||||
|
.xz 00;38;5;4
|
||||||
|
.bz2 00;38;5;4
|
||||||
|
.bz 00;38;5;4
|
||||||
|
.tbz 00;38;5;4
|
||||||
|
.tbz2 00;38;5;4
|
||||||
|
.tz 00;38;5;4
|
||||||
|
.deb 00;38;5;4
|
||||||
|
.rpm 00;38;5;4
|
||||||
|
.jar 00;38;5;4
|
||||||
|
.rar 00;38;5;4
|
||||||
|
.ace 00;38;5;4
|
||||||
|
.zoo 00;38;5;4
|
||||||
|
.cpio 00;38;5;4
|
||||||
|
.7z 00;38;5;4
|
||||||
|
.rz 00;38;5;4
|
||||||
|
.apk 00;38;5;4
|
||||||
|
.gem 00;38;5;4
|
||||||
|
|
||||||
|
# Image formats (yellow)
|
||||||
|
.jpg 00;38;5;3
|
||||||
|
.JPG 00;38;5;3 #stupid but needed
|
||||||
|
.jpeg 00;38;5;3
|
||||||
|
.gif 00;38;5;3
|
||||||
|
.bmp 00;38;5;3
|
||||||
|
.pbm 00;38;5;3
|
||||||
|
.pgm 00;38;5;3
|
||||||
|
.ppm 00;38;5;3
|
||||||
|
.tga 00;38;5;3
|
||||||
|
.xbm 00;38;5;3
|
||||||
|
.xpm 00;38;5;3
|
||||||
|
.tif 00;38;5;3
|
||||||
|
.tiff 00;38;5;3
|
||||||
|
.png 00;38;5;3
|
||||||
|
.PNG 00;38;5;3
|
||||||
|
.svg 00;38;5;3
|
||||||
|
.svgz 00;38;5;3
|
||||||
|
.mng 00;38;5;3
|
||||||
|
.pcx 00;38;5;3
|
||||||
|
.dl 00;38;5;3
|
||||||
|
.xcf 00;38;5;3
|
||||||
|
.xwd 00;38;5;3
|
||||||
|
.yuv 00;38;5;3
|
||||||
|
.cgm 00;38;5;3
|
||||||
|
.emf 00;38;5;3
|
||||||
|
.eps 00;38;5;3
|
||||||
|
.CR2 00;38;5;3
|
||||||
|
.ico 00;38;5;3
|
||||||
|
|
||||||
|
# Files of special interest (base1)
|
||||||
|
.tex 00;38;5;7
|
||||||
|
.rdf 00;38;5;7
|
||||||
|
.owl 00;38;5;7
|
||||||
|
.n3 00;38;5;7
|
||||||
|
.ttl 00;38;5;7
|
||||||
|
.nt 00;38;5;7
|
||||||
|
.torrent 00;38;5;7
|
||||||
|
.xml 00;38;5;7
|
||||||
|
*Makefile 00;38;5;7
|
||||||
|
*Rakefile 00;38;5;7
|
||||||
|
*Dockerfile 00;38;5;7
|
||||||
|
*build.xml 00;38;5;7
|
||||||
|
*rc 00;38;5;7
|
||||||
|
*1 00;38;5;7
|
||||||
|
.nfo 00;38;5;7
|
||||||
|
*README 00;38;5;7
|
||||||
|
*README.txt 00;38;5;7
|
||||||
|
*readme.txt 00;38;5;7
|
||||||
|
.md 00;38;5;7
|
||||||
|
*README.markdown 00;38;5;7
|
||||||
|
.ini 00;38;5;7
|
||||||
|
.yml 00;38;5;7
|
||||||
|
.cfg 00;38;5;7
|
||||||
|
.conf 00;38;5;7
|
||||||
|
.h 00;38;5;7
|
||||||
|
.hpp 00;38;5;7
|
||||||
|
.c 00;38;5;7
|
||||||
|
.cpp 00;38;5;7
|
||||||
|
.cxx 00;38;5;7
|
||||||
|
.cc 00;38;5;7
|
||||||
|
.objc 00;38;5;7
|
||||||
|
.sqlite 00;38;5;7
|
||||||
|
.go 00;38;5;7
|
||||||
|
.sql 00;38;5;7
|
||||||
|
.csv 00;38;5;7
|
||||||
|
|
||||||
|
# "unimportant" files as logs and backups (base01)
|
||||||
|
.log 00;38;5;8
|
||||||
|
.bak 00;38;5;8
|
||||||
|
.aux 00;38;5;8
|
||||||
|
.lof 00;38;5;8
|
||||||
|
.lol 00;38;5;8
|
||||||
|
.lot 00;38;5;8
|
||||||
|
.out 00;38;5;8
|
||||||
|
.toc 00;38;5;8
|
||||||
|
.bbl 00;38;5;8
|
||||||
|
.blg 00;38;5;8
|
||||||
|
*~ 00;38;5;8
|
||||||
|
*# 00;38;5;8
|
||||||
|
.part 00;38;5;8
|
||||||
|
.incomplete 00;38;5;8
|
||||||
|
.swp 00;38;5;8
|
||||||
|
.tmp 00;38;5;8
|
||||||
|
.temp 00;38;5;8
|
||||||
|
.o 00;38;5;8
|
||||||
|
.pyc 00;38;5;8
|
||||||
|
.class 00;38;5;8
|
||||||
|
.cache 00;38;5;8
|
||||||
|
|
||||||
|
# Audio formats (orange)
|
||||||
|
.aac 00;38;5;1
|
||||||
|
.au 00;38;5;1
|
||||||
|
.flac 00;38;5;1
|
||||||
|
.mid 00;38;5;1
|
||||||
|
.midi 00;38;5;1
|
||||||
|
.mka 00;38;5;1
|
||||||
|
.mp3 00;38;5;1
|
||||||
|
.mpc 00;38;5;1
|
||||||
|
.ogg 00;38;5;1
|
||||||
|
.opus 00;38;5;1
|
||||||
|
.ra 00;38;5;1
|
||||||
|
.wav 00;38;5;1
|
||||||
|
.m4a 00;38;5;1
|
||||||
|
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
||||||
|
.axa 00;38;5;1
|
||||||
|
.oga 00;38;5;1
|
||||||
|
.spx 00;38;5;1
|
||||||
|
.xspf 00;38;5;1
|
||||||
|
|
||||||
|
# Video formats (as audio + bold)
|
||||||
|
.mov 00;38;5;1
|
||||||
|
.MOV 00;38;5;1
|
||||||
|
.mpg 00;38;5;1
|
||||||
|
.mpeg 00;38;5;1
|
||||||
|
.m2v 00;38;5;1
|
||||||
|
.mkv 00;38;5;1
|
||||||
|
.ogm 00;38;5;1
|
||||||
|
.mp4 00;38;5;1
|
||||||
|
.m4v 00;38;5;1
|
||||||
|
.mp4v 00;38;5;1
|
||||||
|
.vob 00;38;5;1
|
||||||
|
.qt 00;38;5;1
|
||||||
|
.nuv 00;38;5;1
|
||||||
|
.wmv 00;38;5;1
|
||||||
|
.asf 00;38;5;1
|
||||||
|
.rm 00;38;5;1
|
||||||
|
.rmvb 00;38;5;1
|
||||||
|
.flc 00;38;5;1
|
||||||
|
.avi 00;38;5;1
|
||||||
|
.fli 00;38;5;1
|
||||||
|
.flv 00;38;5;1
|
||||||
|
.gl 00;38;5;1
|
||||||
|
.m2ts 00;38;5;1
|
||||||
|
.divx 00;38;5;1
|
||||||
|
.webm 00;38;5;1
|
||||||
|
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
||||||
|
.axv 00;38;5;1
|
||||||
|
.anx 00;38;5;1
|
||||||
|
.ogv 00;38;5;1
|
||||||
|
.ogx 00;38;5;1# Configuration file for dircolors, a utility to help you set the
|
||||||
|
# LS_COLORS environment variable used by GNU ls with the --color option.
|
||||||
|
|
||||||
|
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
||||||
|
# Copying and distribution of this file, with or without modification,
|
||||||
|
# are permitted provided the copyright notice and this notice are preserved.
|
||||||
|
|
||||||
|
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the
|
||||||
|
# slackware version of dircolors) are recognized but ignored.
|
||||||
|
|
||||||
|
# You can copy this file to .dir_colors in your $HOME directory to override
|
||||||
|
# the system defaults.
|
||||||
|
|
||||||
|
# Below, there should be one TERM entry for each termtype that is colorizable
|
||||||
|
# Term Section
|
||||||
|
TERM Eterm
|
||||||
|
TERM ansi
|
||||||
|
TERM color-xterm
|
||||||
|
TERM con132x25
|
||||||
|
TERM con132x30
|
||||||
|
TERM con132x43
|
||||||
|
TERM con132x60
|
||||||
|
TERM con80x25
|
||||||
|
TERM con80x28
|
||||||
|
TERM con80x30
|
||||||
|
TERM con80x43
|
||||||
|
TERM con80x50
|
||||||
|
TERM con80x60
|
||||||
|
TERM cons25
|
||||||
|
TERM console
|
||||||
|
TERM cygwin
|
||||||
|
TERM dtterm
|
||||||
|
TERM dvtm
|
||||||
|
TERM dvtm-256color
|
||||||
|
TERM eterm-color
|
||||||
|
TERM fbterm
|
||||||
|
TERM gnome
|
||||||
|
TERM gnome-256color
|
||||||
|
TERM jfbterm
|
||||||
|
TERM konsole
|
||||||
|
TERM konsole-256color
|
||||||
|
TERM kterm
|
||||||
|
TERM linux
|
||||||
|
TERM linux-c
|
||||||
|
TERM mach-color
|
||||||
|
TERM mlterm
|
||||||
|
TERM putty
|
||||||
|
TERM putty-256color
|
||||||
|
TERM rxvt
|
||||||
|
TERM rxvt-256color
|
||||||
|
TERM rxvt-cygwin
|
||||||
|
TERM rxvt-cygwin-native
|
||||||
|
TERM rxvt-unicode
|
||||||
|
TERM rxvt-unicode256
|
||||||
|
TERM rxvt-unicode-256color
|
||||||
|
TERM screen
|
||||||
|
TERM screen-16color
|
||||||
|
TERM screen-16color-bce
|
||||||
|
TERM screen-16color-s
|
||||||
|
TERM screen-16color-bce-s
|
||||||
|
TERM screen-256color
|
||||||
|
TERM screen-256color-bce
|
||||||
|
TERM screen-256color-s
|
||||||
|
TERM screen-256color-bce-s
|
||||||
|
TERM screen-256color-italic
|
||||||
|
TERM screen-bce
|
||||||
|
TERM screen-w
|
||||||
|
TERM screen.linux
|
||||||
|
TERM screen.xterm-256color
|
||||||
|
TERM st
|
||||||
|
TERM st-meta
|
||||||
|
TERM st-256color
|
||||||
|
TERM st-meta-256color
|
||||||
|
TERM tmux
|
||||||
|
TERM tmux-256color
|
||||||
|
TERM vt100
|
||||||
|
TERM xterm
|
||||||
|
TERM xterm-16color
|
||||||
|
TERM xterm-256color
|
||||||
|
TERM xterm-256color-italic
|
||||||
|
TERM xterm-88color
|
||||||
|
TERM xterm-color
|
||||||
|
TERM xterm-debian
|
||||||
|
TERM xterm-termite
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
#
|
||||||
|
# standard colors
|
||||||
|
#
|
||||||
|
# Below are the color init strings for the basic file types. A color init
|
||||||
|
# string consists of one or more of the following numeric codes:
|
||||||
|
# Attribute codes:
|
||||||
|
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
|
||||||
|
# Text color codes:
|
||||||
|
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
|
||||||
|
# Background color codes:
|
||||||
|
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# 256 color support
|
||||||
|
# see here: http://www.mail-archive.com/bug-coreutils@gnu.org/msg11030.html)
|
||||||
|
#
|
||||||
|
# Text 256 color coding:
|
||||||
|
# 38;5;COLOR_NUMBER
|
||||||
|
# Background 256 color coding:
|
||||||
|
# 48;5;COLOR_NUMBER
|
||||||
|
|
||||||
|
## Special files
|
||||||
|
|
||||||
|
NORMAL 00;38;5;15 # no color code at all
|
||||||
|
#FILE 00 # regular file: use no color at all
|
||||||
|
RESET 0 # reset to "normal" color
|
||||||
|
DIR 00;38;5;6 # directory 01;34
|
||||||
|
LINK 00;38;5;2 # symbolic link. (If you set this to 'target' instead of a
|
||||||
|
# numerical value, the color is as for the file pointed to.)
|
||||||
|
MULTIHARDLINK 00 # regular file with more than one link
|
||||||
|
FIFO 48;5;0;38;5;3;01 # pipe
|
||||||
|
SOCK 48;5;0;38;5;3;01 # socket
|
||||||
|
DOOR 48;5;0;38;5;3;01 # door
|
||||||
|
BLK 48;5;0;38;5;15;01 # block device driver
|
||||||
|
CHR 48;5;0;38;5;15;01 # character device driver
|
||||||
|
ORPHAN 48;5;0;38;5;1 # symlink to nonexistent file, or non-stat'able file
|
||||||
|
SETUID 48;5;1;38;5;3 # file that is setuid (u+s)
|
||||||
|
SETGID 48;5;1;38;5;3 # file that is setgid (g+s)
|
||||||
|
CAPABILITY 30;41 # file with capability
|
||||||
|
STICKY_OTHER_WRITABLE 48;5;2;38;5;3 # dir that is sticky and other-writable (+t,o+w)
|
||||||
|
OTHER_WRITABLE 48;5;0;38;5;6 # dir that is other-writable (o+w) and not sticky
|
||||||
|
STICKY 48;5;6;38;5;3 # dir with the sticky bit set (+t) and not other-writable
|
||||||
|
# This is for files with execute permission:
|
||||||
|
EXEC 00;38;5;2
|
||||||
|
|
||||||
|
## Archives or compressed (violet + bold for compression)
|
||||||
|
.tar 00;38;5;4
|
||||||
|
.tgz 00;38;5;4
|
||||||
|
.arj 00;38;5;4
|
||||||
|
.taz 00;38;5;4
|
||||||
|
.lzh 00;38;5;4
|
||||||
|
.lzma 00;38;5;4
|
||||||
|
.tlz 00;38;5;4
|
||||||
|
.txz 00;38;5;4
|
||||||
|
.zip 00;38;5;4
|
||||||
|
.z 00;38;5;4
|
||||||
|
.Z 00;38;5;4
|
||||||
|
.dz 00;38;5;4
|
||||||
|
.gz 00;38;5;4
|
||||||
|
.lz 00;38;5;4
|
||||||
|
.xz 00;38;5;4
|
||||||
|
.bz2 00;38;5;4
|
||||||
|
.bz 00;38;5;4
|
||||||
|
.tbz 00;38;5;4
|
||||||
|
.tbz2 00;38;5;4
|
||||||
|
.tz 00;38;5;4
|
||||||
|
.deb 00;38;5;4
|
||||||
|
.rpm 00;38;5;4
|
||||||
|
.jar 00;38;5;4
|
||||||
|
.rar 00;38;5;4
|
||||||
|
.ace 00;38;5;4
|
||||||
|
.zoo 00;38;5;4
|
||||||
|
.cpio 00;38;5;4
|
||||||
|
.7z 00;38;5;4
|
||||||
|
.rz 00;38;5;4
|
||||||
|
.apk 00;38;5;4
|
||||||
|
.gem 00;38;5;4
|
||||||
|
|
||||||
|
# Image formats (yellow)
|
||||||
|
.jpg 00;38;5;3
|
||||||
|
.JPG 00;38;5;3 #stupid but needed
|
||||||
|
.jpeg 00;38;5;3
|
||||||
|
.gif 00;38;5;3
|
||||||
|
.bmp 00;38;5;3
|
||||||
|
.pbm 00;38;5;3
|
||||||
|
.pgm 00;38;5;3
|
||||||
|
.ppm 00;38;5;3
|
||||||
|
.tga 00;38;5;3
|
||||||
|
.xbm 00;38;5;3
|
||||||
|
.xpm 00;38;5;3
|
||||||
|
.tif 00;38;5;3
|
||||||
|
.tiff 00;38;5;3
|
||||||
|
.png 00;38;5;3
|
||||||
|
.PNG 00;38;5;3
|
||||||
|
.svg 00;38;5;3
|
||||||
|
.svgz 00;38;5;3
|
||||||
|
.mng 00;38;5;3
|
||||||
|
.pcx 00;38;5;3
|
||||||
|
.dl 00;38;5;3
|
||||||
|
.xcf 00;38;5;3
|
||||||
|
.xwd 00;38;5;3
|
||||||
|
.yuv 00;38;5;3
|
||||||
|
.cgm 00;38;5;3
|
||||||
|
.emf 00;38;5;3
|
||||||
|
.eps 00;38;5;3
|
||||||
|
.CR2 00;38;5;3
|
||||||
|
.ico 00;38;5;3
|
||||||
|
|
||||||
|
# Files of special interest (base1)
|
||||||
|
.tex 00;38;5;7
|
||||||
|
.rdf 00;38;5;7
|
||||||
|
.owl 00;38;5;7
|
||||||
|
.n3 00;38;5;7
|
||||||
|
.ttl 00;38;5;7
|
||||||
|
.nt 00;38;5;7
|
||||||
|
.torrent 00;38;5;7
|
||||||
|
.xml 00;38;5;7
|
||||||
|
*Makefile 00;38;5;7
|
||||||
|
*Rakefile 00;38;5;7
|
||||||
|
*Dockerfile 00;38;5;7
|
||||||
|
*build.xml 00;38;5;7
|
||||||
|
*rc 00;38;5;7
|
||||||
|
*1 00;38;5;7
|
||||||
|
.nfo 00;38;5;7
|
||||||
|
*README 00;38;5;7
|
||||||
|
*README.txt 00;38;5;7
|
||||||
|
*readme.txt 00;38;5;7
|
||||||
|
.md 00;38;5;7
|
||||||
|
*README.markdown 00;38;5;7
|
||||||
|
.ini 00;38;5;7
|
||||||
|
.yml 00;38;5;7
|
||||||
|
.cfg 00;38;5;7
|
||||||
|
.conf 00;38;5;7
|
||||||
|
.h 00;38;5;7
|
||||||
|
.hpp 00;38;5;7
|
||||||
|
.c 00;38;5;7
|
||||||
|
.cpp 00;38;5;7
|
||||||
|
.cxx 00;38;5;7
|
||||||
|
.cc 00;38;5;7
|
||||||
|
.objc 00;38;5;7
|
||||||
|
.sqlite 00;38;5;7
|
||||||
|
.go 00;38;5;7
|
||||||
|
.sql 00;38;5;7
|
||||||
|
.csv 00;38;5;7
|
||||||
|
|
||||||
|
# "unimportant" files as logs and backups (base01)
|
||||||
|
.log 00;38;5;8
|
||||||
|
.bak 00;38;5;8
|
||||||
|
.aux 00;38;5;8
|
||||||
|
.lof 00;38;5;8
|
||||||
|
.lol 00;38;5;8
|
||||||
|
.lot 00;38;5;8
|
||||||
|
.out 00;38;5;8
|
||||||
|
.toc 00;38;5;8
|
||||||
|
.bbl 00;38;5;8
|
||||||
|
.blg 00;38;5;8
|
||||||
|
*~ 00;38;5;8
|
||||||
|
*# 00;38;5;8
|
||||||
|
.part 00;38;5;8
|
||||||
|
.incomplete 00;38;5;8
|
||||||
|
.swp 00;38;5;8
|
||||||
|
.tmp 00;38;5;8
|
||||||
|
.temp 00;38;5;8
|
||||||
|
.o 00;38;5;8
|
||||||
|
.pyc 00;38;5;8
|
||||||
|
.class 00;38;5;8
|
||||||
|
.cache 00;38;5;8
|
||||||
|
|
||||||
|
# Audio formats (orange)
|
||||||
|
.aac 00;38;5;1
|
||||||
|
.au 00;38;5;1
|
||||||
|
.flac 00;38;5;1
|
||||||
|
.mid 00;38;5;1
|
||||||
|
.midi 00;38;5;1
|
||||||
|
.mka 00;38;5;1
|
||||||
|
.mp3 00;38;5;1
|
||||||
|
.mpc 00;38;5;1
|
||||||
|
.ogg 00;38;5;1
|
||||||
|
.opus 00;38;5;1
|
||||||
|
.ra 00;38;5;1
|
||||||
|
.wav 00;38;5;1
|
||||||
|
.m4a 00;38;5;1
|
||||||
|
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
||||||
|
.axa 00;38;5;1
|
||||||
|
.oga 00;38;5;1
|
||||||
|
.spx 00;38;5;1
|
||||||
|
.xspf 00;38;5;1
|
||||||
|
|
||||||
|
# Video formats (as audio + bold)
|
||||||
|
.mov 00;38;5;1
|
||||||
|
.MOV 00;38;5;1
|
||||||
|
.mpg 00;38;5;1
|
||||||
|
.mpeg 00;38;5;1
|
||||||
|
.m2v 00;38;5;1
|
||||||
|
.mkv 00;38;5;1
|
||||||
|
.ogm 00;38;5;1
|
||||||
|
.mp4 00;38;5;1
|
||||||
|
.m4v 00;38;5;1
|
||||||
|
.mp4v 00;38;5;1
|
||||||
|
.vob 00;38;5;1
|
||||||
|
.qt 00;38;5;1
|
||||||
|
.nuv 00;38;5;1
|
||||||
|
.wmv 00;38;5;1
|
||||||
|
.asf 00;38;5;1
|
||||||
|
.rm 00;38;5;1
|
||||||
|
.rmvb 00;38;5;1
|
||||||
|
.flc 00;38;5;1
|
||||||
|
.avi 00;38;5;1
|
||||||
|
.fli 00;38;5;1
|
||||||
|
.flv 00;38;5;1
|
||||||
|
.gl 00;38;5;1
|
||||||
|
.m2ts 00;38;5;1
|
||||||
|
.divx 00;38;5;1
|
||||||
|
.webm 00;38;5;1
|
||||||
|
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
||||||
|
.axv 00;38;5;1
|
||||||
|
.anx 00;38;5;1
|
||||||
|
.ogv 00;38;5;1
|
||||||
|
.ogx 00;38;5;1
|
27
flake.nix
Normal file
27
flake.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
description = "Dotfile manager";
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
url = "github:nix-community/home-manager";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
};
|
||||||
|
dotfiles = {
|
||||||
|
url = "git.ood.ovh:hactarus/dotfiles";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
outputs = { self, nixpkgs, home-manager, ... } @inputs: {
|
||||||
|
homeConfigurations.foodogsquared = home-manager.lib.homeManagerConfiguration {
|
||||||
|
# The home-manager configuration.
|
||||||
|
modules = [ ./home.nix ];
|
||||||
|
|
||||||
|
extraSpecialArgs = {
|
||||||
|
inherit (inputs) dotfiles;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -15,13 +15,13 @@
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = false
|
||||||
|
|
||||||
[url "ssh://git@gitlab.com"]
|
[url "ssh://git@gitlab.com"]
|
||||||
insteadOf = "https://www.gitlab.com"
|
insteadOf = "https://gitlab.com"
|
||||||
|
|
||||||
[url "ssh://git@github.com"]
|
[url "ssh://git@github.com"]
|
||||||
insteadOf = "https://www.github.com"
|
insteadOf = "https://github.com"
|
||||||
|
|
||||||
[includeIf "gitdir:~/work"]
|
[includeIf "gitdir:~/work"]
|
||||||
path = .gitconfig-work
|
path = .gitconfig-work
|
||||||
|
|
9
home.nix
Normal file
9
home.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ config, options, lib, pkgs, dotfiles, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
xdg.configFile = {
|
||||||
|
doom.source = "${dotfiles}/emacs";
|
||||||
|
wezterm.source = "${dotfiles}/wezterm";
|
||||||
|
nvim.source = "${dotfiles}/nvim";
|
||||||
|
};
|
||||||
|
}
|
|
@ -19,28 +19,49 @@ font 'Hack Nerd Font Mono':monospace 8
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||||
#font pango:DejaVu Sans Mono 8
|
#font pango:DejaVu Sans Mono 8
|
||||||
|
|
||||||
# Before i3 v4.8, we used to recommend this one as the default:
|
# Start XDG autostart .desktop files using dex. See also
|
||||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
||||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
exec --no-startup-id dex --autostart --environment i3
|
||||||
# clear in small sizes. However, its unicode glyph coverage is limited, the old
|
|
||||||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
|
||||||
# font, it doesn’t scale on retina/hidpi displays.
|
# they are included here as an example. Modify as you see fit.
|
||||||
|
|
||||||
|
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||||
|
# screen before suspend. Use loginctl lock-session to lock your screen.
|
||||||
|
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||||
|
|
||||||
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
|
exec --no-startup-id nm-applet
|
||||||
|
|
||||||
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
|
||||||
|
# move tiling windows via drag & drop by left-clicking into the title bar,
|
||||||
|
# or left-clicking anywhere into the window while holding the floating modifier.
|
||||||
|
tiling_drag modifier titlebar
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec alacritty
|
bindsym $mod+Return exec /etc/profiles/per-user/hactario/bin/alacritty
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+Q kill
|
bindsym $mod+Shift+a kill
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
bindsym $mod+d exec dmenu_run
|
# bindsym $mod+d exec --no-startup-id dmenu_run
|
||||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
# A more modern dmenu replacement is rofi:
|
||||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
|
||||||
# installed.
|
# There also is i3-dmenu-desktop which only displays applications shipping a
|
||||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
# .desktop file. It is a wrapper around dmenu, so you need that installed.
|
||||||
|
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
|
||||||
|
bindsym $mod+d exec "dmenu_run -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -fn 'Hack-10.5' -p 'launch% '"
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+j focus left
|
bindsym $mod+j focus left
|
||||||
|
@ -58,7 +79,7 @@ bindsym $mod+Right focus right
|
||||||
bindsym $mod+Shift+j move left
|
bindsym $mod+Shift+j move left
|
||||||
bindsym $mod+Shift+k move down
|
bindsym $mod+Shift+k move down
|
||||||
bindsym $mod+Shift+l move up
|
bindsym $mod+Shift+l move up
|
||||||
bindsym $mod+Shift+M move right
|
bindsym $mod+Shift+m move right
|
||||||
|
|
||||||
# alternatively, you can use the cursor keys:
|
# alternatively, you can use the cursor keys:
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+Shift+Left move left
|
||||||
|
@ -92,38 +113,49 @@ bindsym $mod+q focus parent
|
||||||
# focus the child container
|
# focus the child container
|
||||||
#bindsym $mod+d focus child
|
#bindsym $mod+d focus child
|
||||||
|
|
||||||
|
# Define names for default workspaces for which we configure key bindings later on.
|
||||||
|
# We use variables to avoid repeating the names in multiple places.
|
||||||
|
set $ws1 "1"
|
||||||
|
set $ws2 "2"
|
||||||
|
set $ws3 "3"
|
||||||
|
set $ws4 "4"
|
||||||
|
set $ws5 "5"
|
||||||
|
set $ws6 "6"
|
||||||
|
set $ws7 "7"
|
||||||
|
set $ws8 "8"
|
||||||
|
set $ws9 "9"
|
||||||
|
set $ws10 "10"
|
||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
bindsym $mod+ampersand workspace 1
|
bindsym $mod+ampersand workspace number $ws1
|
||||||
bindsym $mod+eacute workspace 2
|
bindsym $mod+eacute workspace number $ws2
|
||||||
bindsym $mod+quotedbl workspace 3
|
bindsym $mod+quotedbl workspace number $ws3
|
||||||
bindsym $mod+apostrophe workspace 4
|
bindsym $mod+apostrophe workspace number $ws4
|
||||||
bindsym $mod+parenleft workspace 5
|
bindsym $mod+parenleft workspace number $ws5
|
||||||
bindsym $mod+minus workspace 6
|
bindsym $mod+section workspace number $ws6
|
||||||
bindsym $mod+egrave workspace 7
|
bindsym $mod+egrave workspace number $ws7
|
||||||
bindsym $mod+underscore workspace 8
|
bindsym $mod+exclam workspace number $ws8
|
||||||
bindsym $mod+ccedilla workspace 9
|
bindsym $mod+ccedilla workspace number $ws9
|
||||||
bindsym $mod+agrave workspace 10
|
bindsym $mod+agrave workspace number $ws10
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
bindsym $mod+Shift+1 move container to workspace 1
|
bindsym $mod+Shift+ampersand move container to workspace number $ws1
|
||||||
bindsym $mod+Shift+eacute move container to workspace 2
|
bindsym $mod+Shift+eacute move container to workspace number $ws2
|
||||||
bindsym $mod+Shift+3 move container to workspace 3
|
bindsym $mod+Shift+quotedbl move container to workspace number $ws3
|
||||||
bindsym $mod+Shift+4 move container to workspace 4
|
bindsym $mod+Shift+apostrophe move container to workspace number $ws4
|
||||||
bindsym $mod+Shift+5 move container to workspace 5
|
bindsym $mod+Shift+5 move container to workspace number $ws5
|
||||||
bindsym $mod+Shift+6 move container to workspace 6
|
bindsym $mod+Shift+section move container to workspace number $ws6
|
||||||
bindsym $mod+Shift+egrave move container to workspace 7
|
bindsym $mod+Shift+egrave move container to workspace number $ws7
|
||||||
bindsym $mod+Shift+8 move container to workspace 8
|
bindsym $mod+Shift+exclam move container to workspace number $ws8
|
||||||
bindsym $mod+Shift+ccedilla move container to workspace 9
|
bindsym $mod+Shift+ccedilla move container to workspace number $ws9
|
||||||
bindsym $mod+Shift+agrave move container to workspace 10
|
bindsym $mod+Shift+agrave move container to workspace number $ws10
|
||||||
|
|
||||||
bindsym $mod+x [urgent=latest] focus
|
|
||||||
|
|
||||||
# reload the configuration file
|
# reload the configuration file
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
bindsym $mod+Shift+r restart
|
bindsym $mod+Shift+r restart
|
||||||
# exit i3 (logs you out of your X session)
|
# exit i3 (logs you out of your X session)
|
||||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
|
@ -144,9 +176,10 @@ mode "resize" {
|
||||||
bindsym Up resize shrink height 10 px or 10 ppt
|
bindsym Up resize shrink height 10 px or 10 ppt
|
||||||
bindsym Right resize grow width 10 px or 10 ppt
|
bindsym Right resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
# back to normal: Enter or Escape
|
# back to normal: Enter or Escape or $mod+r
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
|
bindsym $mod+r mode "default"
|
||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
7
i3/.config/i3/i3blocks.conf
Normal file
7
i3/.config/i3/i3blocks.conf
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[battery]
|
||||||
|
label=⚡
|
||||||
|
command=/run/current-system/sw/libexec/i3blocks/battery
|
||||||
|
interval=10
|
||||||
|
instance=1
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,15 @@
|
||||||
[theme]
|
[theme]
|
||||||
theme = "dracula"
|
theme = "dracula"
|
||||||
[icons]
|
[icons]
|
||||||
icons = "material-nf"
|
icons = "material-nf"
|
||||||
|
|
||||||
|
|
||||||
|
[icons.overrides]
|
||||||
|
bat = [
|
||||||
|
"| |",
|
||||||
|
"|¼|",
|
||||||
|
"|½|",
|
||||||
|
"|¾|",
|
||||||
|
"|X|",
|
||||||
|
]
|
||||||
|
bat_charging = "|^|"
|
||||||
|
|
|
@ -8,11 +8,12 @@
|
||||||
|
|
||||||
general {
|
general {
|
||||||
colors = true
|
colors = true
|
||||||
color_good = "#a3be8c"
|
color_good = "#a3be8c"
|
||||||
color_degraded = "#ebcb8b"
|
color_degraded = "#ebcb8b"
|
||||||
color_bad = "#bf616a"
|
color_bad = "#bf616a"
|
||||||
|
separator = ' '
|
||||||
|
# output_format = "i3bar"
|
||||||
interval = 5
|
interval = 5
|
||||||
separator = ' '
|
|
||||||
}
|
}
|
||||||
|
|
||||||
order += "ipv6"
|
order += "ipv6"
|
||||||
|
@ -23,6 +24,19 @@ order += "disk /"
|
||||||
order += "load"
|
order += "load"
|
||||||
order += "memory"
|
order += "memory"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
|
order += "ipv6"
|
||||||
|
order += "disk /"
|
||||||
|
order += "run_watch DHCP"
|
||||||
|
order += "run_watch VPNC"
|
||||||
|
order += "path_exists VPN"
|
||||||
|
order += "wireless wlan0"
|
||||||
|
order += "ethernet eth0"
|
||||||
|
order += "battery 0"
|
||||||
|
order += "cpu_temperature 0"
|
||||||
|
order += "memory"
|
||||||
|
order += "load"
|
||||||
|
order += "tztime local"
|
||||||
|
order += "tztime berlin"
|
||||||
|
|
||||||
wireless _first_ {
|
wireless _first_ {
|
||||||
format_up = "W: (%quality at %essid) %ip"
|
format_up = "W: (%quality at %essid) %ip"
|
||||||
|
@ -34,6 +48,16 @@ ethernet _first_ {
|
||||||
format_down = "E: down"
|
format_down = "E: down"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wireless wlan0 {
|
||||||
|
format_up = "W: (%quality at %essid, %bitrate) %ip"
|
||||||
|
format_down = "W: down"
|
||||||
|
}
|
||||||
|
|
||||||
|
ethernet eth0 {
|
||||||
|
format_up = "E: %ip (%speed)"
|
||||||
|
format_down = "E: down"
|
||||||
|
}
|
||||||
|
|
||||||
battery all {
|
battery all {
|
||||||
format = "%status %percentage %remaining"
|
format = "%status %percentage %remaining"
|
||||||
}
|
}
|
||||||
|
@ -52,6 +76,60 @@ memory {
|
||||||
format_degraded = "MEMORY < %available"
|
format_degraded = "MEMORY < %available"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
battery 0 {
|
||||||
|
format = "%status %percentage %remaining %emptytime"
|
||||||
|
format_down = "No battery"
|
||||||
|
status_chr = "⚡ CHR"
|
||||||
|
status_bat = "🔋 BAT"
|
||||||
|
status_unk = "? UNK"
|
||||||
|
status_full = "☻ FULL"
|
||||||
|
path = "/sys/class/power_supply/BAT%d/uevent"
|
||||||
|
low_threshold = 10
|
||||||
|
}
|
||||||
|
|
||||||
|
run_watch DHCP {
|
||||||
|
pidfile = "/var/run/dhclient*.pid"
|
||||||
|
}
|
||||||
|
|
||||||
|
run_watch VPNC {
|
||||||
|
# file containing the PID of a vpnc process
|
||||||
|
pidfile = "/var/run/vpnc/pid"
|
||||||
|
}
|
||||||
|
|
||||||
|
path_exists VPN {
|
||||||
|
# path exists when a VPN tunnel launched by nmcli/nm-applet is active
|
||||||
|
path = "/proc/sys/net/ipv4/conf/tun0"
|
||||||
|
}
|
||||||
|
|
||||||
tztime local {
|
tztime local {
|
||||||
format = "%Y-%m-%d %H:%M:%S"
|
format = "%Y-%m-%d %H:%M:%S"
|
||||||
|
hide_if_equals_localtime = true
|
||||||
|
}
|
||||||
|
|
||||||
|
tztime berlin {
|
||||||
|
format = "%Y-%m-%d %H:%M:%S %Z"
|
||||||
|
timezone = "Europe/Berlin"
|
||||||
|
}
|
||||||
|
|
||||||
|
load {
|
||||||
|
format = "%5min"
|
||||||
|
}
|
||||||
|
|
||||||
|
cpu_temperature 0 {
|
||||||
|
format = "T: %degrees °C"
|
||||||
|
path = "/sys/devices/platform/coretemp.0/temp1_input"
|
||||||
|
}
|
||||||
|
|
||||||
|
memory {
|
||||||
|
format = "%used"
|
||||||
|
threshold_degraded = "10%"
|
||||||
|
format_degraded = "MEMORY: %free"
|
||||||
|
}
|
||||||
|
|
||||||
|
disk "/" {
|
||||||
|
format = "%free"
|
||||||
|
}
|
||||||
|
|
||||||
|
read_file uptime {
|
||||||
|
path = "/proc/uptime"
|
||||||
}
|
}
|
||||||
|
|
1
nix/.config/nix/nix.conf
Normal file
1
nix/.config/nix/nix.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
experimental-features = nix-command flakes
|
4
nix/.config/nix/registry.json
Normal file
4
nix/.config/nix/registry.json
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"flakes": null,
|
||||||
|
"version": 2
|
||||||
|
}
|
6
setup.sh
6
setup.sh
|
@ -1,19 +1,23 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd $(dirname $0)
|
cd "$( dirname "$0" )"
|
||||||
|
|
||||||
# make sure we have pulled in and updated any submodules
|
# make sure we have pulled in and updated any submodules
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
|
|
||||||
# what directories should be installable by all users including the root user
|
# what directories should be installable by all users including the root user
|
||||||
base=(
|
base=(
|
||||||
|
dracula
|
||||||
git
|
git
|
||||||
helix
|
helix
|
||||||
htop
|
htop
|
||||||
nano
|
nano
|
||||||
|
nix
|
||||||
puppet
|
puppet
|
||||||
ssh
|
ssh
|
||||||
i3
|
i3
|
||||||
|
sway
|
||||||
terminfo
|
terminfo
|
||||||
tmux
|
tmux
|
||||||
vim
|
vim
|
||||||
|
|
255
sway/.config/sway/config
Normal file
255
sway/.config/sway/config
Normal file
|
@ -0,0 +1,255 @@
|
||||||
|
# Default config for sway
|
||||||
|
#
|
||||||
|
# Copy this to ~/.config/sway/config and edit it to your liking.
|
||||||
|
#
|
||||||
|
# Read `man 5 sway` for a complete reference.
|
||||||
|
|
||||||
|
### Variables
|
||||||
|
#
|
||||||
|
# Logo key. Use Mod1 for Alt.
|
||||||
|
set $mod Mod4
|
||||||
|
# Home row direction keys, like vim
|
||||||
|
set $left h
|
||||||
|
set $down j
|
||||||
|
set $up k
|
||||||
|
set $right l
|
||||||
|
# Your preferred terminal emulator
|
||||||
|
set $term alacritty
|
||||||
|
# Your preferred application launcher
|
||||||
|
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||||
|
# on the original workspace that the command was run on.
|
||||||
|
set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||||
|
|
||||||
|
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
|
|
||||||
|
include ~/.config/sway/keyboard
|
||||||
|
include ~/.config/sway/laptop
|
||||||
|
|
||||||
|
### Output configuration
|
||||||
|
#
|
||||||
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||||
|
#
|
||||||
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
|
||||||
|
### Idle configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# exec swayidle -w \
|
||||||
|
# timeout 300 'swaylock -f -c 000000' \
|
||||||
|
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||||
|
# before-sleep 'swaylock -f -c 000000'
|
||||||
|
#
|
||||||
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
|
||||||
|
### Input configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
||||||
|
# dwt enabled
|
||||||
|
# tap enabled
|
||||||
|
# natural_scroll enabled
|
||||||
|
# middle_emulation enabled
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||||
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
|
### Key bindings
|
||||||
|
#
|
||||||
|
# Basics:
|
||||||
|
#
|
||||||
|
# Start a terminal
|
||||||
|
bindsym $mod+Return exec $term
|
||||||
|
|
||||||
|
# Kill focused window
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# Start your launcher
|
||||||
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
|
# Resize them with right mouse button + $mod.
|
||||||
|
# Despite the name, also works for non-floating windows.
|
||||||
|
# Change normal to inverse to use left mouse button for resizing and right
|
||||||
|
# mouse button for dragging.
|
||||||
|
floating_modifier $mod normal
|
||||||
|
|
||||||
|
# Reload the configuration file
|
||||||
|
bindsym $mod+Shift+r reload
|
||||||
|
|
||||||
|
# Exit sway (logs you out of your Wayland session)
|
||||||
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||||
|
#
|
||||||
|
# Moving around:
|
||||||
|
#
|
||||||
|
# Move your focus around
|
||||||
|
# bindsym $mod+$left focus left
|
||||||
|
# bindsym $mod+$down focus down
|
||||||
|
# bindsym $mod+$up focus up
|
||||||
|
# bindsym $mod+$right focus right
|
||||||
|
# Or use $mod+[up|down|left|right]
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
# Move the focused window with the same, but add Shift
|
||||||
|
bindsym $mod+Shift+$left move left
|
||||||
|
bindsym $mod+Shift+$down move down
|
||||||
|
bindsym $mod+Shift+$up move up
|
||||||
|
bindsym $mod+Shift+$right move right
|
||||||
|
# Ditto, with arrow keys
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
#
|
||||||
|
# Workspaces:
|
||||||
|
#
|
||||||
|
# Switch to workspace
|
||||||
|
bindsym $mod+1 workspace number 1
|
||||||
|
bindsym $mod+2 workspace number 2
|
||||||
|
bindsym $mod+3 workspace number 3
|
||||||
|
bindsym $mod+4 workspace number 4
|
||||||
|
bindsym $mod+5 workspace number 5
|
||||||
|
bindsym $mod+6 workspace number 6
|
||||||
|
bindsym $mod+7 workspace number 7
|
||||||
|
bindsym $mod+8 workspace number 8
|
||||||
|
bindsym $mod+9 workspace number 9
|
||||||
|
bindsym $mod+0 workspace number 10
|
||||||
|
# Move focused container to workspace
|
||||||
|
bindsym $mod+Shift+1 move container to workspace number 1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace number 2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace number 3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace number 4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace number 5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace number 6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace number 7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace number 8
|
||||||
|
bindsym $mod+Shift+9 move container to workspace number 9
|
||||||
|
bindsym $mod+Shift+0 move container to workspace number 10
|
||||||
|
# Note: workspaces can have any name you want, not just numbers.
|
||||||
|
# We just use 1-10 as the default.
|
||||||
|
#
|
||||||
|
# Layout stuff:
|
||||||
|
#
|
||||||
|
# You can "split" the current object of your focus with
|
||||||
|
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||||
|
# respectively.
|
||||||
|
bindsym $mod+b splith
|
||||||
|
bindsym $mod+v splitv
|
||||||
|
|
||||||
|
# Switch the current container between different layout styles
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
# Make the current focus fullscreen
|
||||||
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
|
# Toggle the current focus between tiling and floating mode
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# Swap focus between the tiling area and the floating area
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# Move focus to the parent container
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
#
|
||||||
|
# Scratchpad:
|
||||||
|
#
|
||||||
|
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||||
|
# You can send windows there and get them back later.
|
||||||
|
|
||||||
|
# Move the currently focused window to the scratchpad
|
||||||
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
|
||||||
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
|
# If there are multiple scratchpad windows, this command cycles through them.
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
#
|
||||||
|
# Resizing containers:
|
||||||
|
#
|
||||||
|
mode "resize" {
|
||||||
|
# left will shrink the containers width
|
||||||
|
# right will grow the containers width
|
||||||
|
# up will shrink the containers height
|
||||||
|
# down will grow the containers height
|
||||||
|
bindsym $left resize shrink width 10px
|
||||||
|
bindsym $down resize grow height 10px
|
||||||
|
bindsym $up resize shrink height 10px
|
||||||
|
bindsym $right resize grow width 10px
|
||||||
|
|
||||||
|
# Ditto, with arrow keys
|
||||||
|
bindsym Left resize shrink width 10px
|
||||||
|
bindsym Down resize grow height 10px
|
||||||
|
bindsym Up resize shrink height 10px
|
||||||
|
bindsym Right resize grow width 10px
|
||||||
|
|
||||||
|
# Return to default mode
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Status Bar:
|
||||||
|
#
|
||||||
|
# Read `man 5 sway-bar` for more information about this section.
|
||||||
|
bar {
|
||||||
|
position top
|
||||||
|
|
||||||
|
# When the status_command prints a new line to stdout, swaybar updates.
|
||||||
|
# The default just shows the current date and time.
|
||||||
|
status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
|
||||||
|
|
||||||
|
colors {
|
||||||
|
statusline #ffffff
|
||||||
|
background #323232
|
||||||
|
inactive_workspace #32323200 #32323200 #5c5c5c
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
|
for_window [app_id="galculator"] floating enable
|
||||||
|
for_window [window_type="dialog"] floating enable
|
||||||
|
for_window [window_role="dialog"] floating enable
|
||||||
|
|
||||||
|
exec wl-paste -t text --watch clipman store --no-persist
|
||||||
|
|
||||||
|
input type:keyboard xkb_capslock disabled
|
||||||
|
input type:keyboard xkb_numlock enabled
|
||||||
|
|
||||||
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
|
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||||
|
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+
|
||||||
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
|
bindsym XF86AudioNext exec playerctl next
|
||||||
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
|
bindsym XF86Search exec bemenu-run
|
||||||
|
|
||||||
|
input type:touchpad {
|
||||||
|
tap enabled
|
||||||
|
natural_scroll enabled
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
for_window [app_id="galculator"] floating enable
|
||||||
|
for_window [window_type="dialog"] floating enable
|
||||||
|
for_window [window_role="dialog"] floating enable
|
||||||
|
input type:keyboard xkb_numlock enabled
|
||||||
|
|
2
sway/.config/sway/custom
Normal file
2
sway/.config/sway/custom
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
for_window [shell="xwayland"] title_format "[XWayland] %title"
|
||||||
|
|
12
sway/.config/sway/keyboard
Normal file
12
sway/.config/sway/keyboard
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
# input * xkb_layout be
|
||||||
|
|
||||||
|
input "5426:514:Razer_Razer_DeathStalker" {
|
||||||
|
xkb_layout be
|
||||||
|
}
|
||||||
|
input "5426:514:Razer_Razer_DeathStalker_Keyboard" {
|
||||||
|
xkb_layout be
|
||||||
|
}
|
||||||
|
input "1133:16522:Logitech_MX_Keys" {
|
||||||
|
xkb_layout be
|
||||||
|
}
|
7
sway/.config/sway/laptop
Normal file
7
sway/.config/sway/laptop
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
set $laptop <laptop_output_identifier>
|
||||||
|
bindswitch --reload --locked lid:on output $laptop disable
|
||||||
|
bindswitch --reload --locked lid:off output $laptop enable
|
||||||
|
|
||||||
|
output eDP-1 resolution 1920x1080 position 2560,1080 bg ~/Documents/593255.jpg fill
|
||||||
|
output DP-2 resolution 1920x1080 position 2560,0 bg ~/Documents/593255.jpg fill
|
||||||
|
output DP-4 resolution 2560x1440 position 0,0 bg ~/Documents/865109.jpg fill
|
10
sway/.config/sway/media
Normal file
10
sway/.config/sway/media
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
|
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||||
|
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+
|
||||||
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
|
bindsym XF86AudioNext exec playerctl next
|
||||||
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
|
bindsym XF86Search exec bemenu-run
|
3
sway/.config/sway/snapshots
Normal file
3
sway/.config/sway/snapshots
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
bindsym $mod+s exec grim - | wl-copy
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 7dcabbe6826073ef6069c8a4b6f9a943f00d2df0
|
Subproject commit 6768906d07151140db901510b2c8b1ce2622f365
|
|
@ -168,6 +168,7 @@ man
|
||||||
#n98-magerun
|
#n98-magerun
|
||||||
nanoc
|
nanoc
|
||||||
#ng
|
#ng
|
||||||
|
#nix
|
||||||
#nmap
|
#nmap
|
||||||
node
|
node
|
||||||
#nomad
|
#nomad
|
||||||
|
@ -329,7 +330,6 @@ status() {
|
||||||
|
|
||||||
alias kbe='setxkbmap be'
|
alias kbe='setxkbmap be'
|
||||||
alias kus='setxkbmap us'
|
alias kus='setxkbmap us'
|
||||||
alias meteo='curl -4 http://wttr.in/Roubaix'
|
|
||||||
alias dl='wget -r -k -T 5 -t 2 -U '\''Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'\'' '
|
alias dl='wget -r -k -T 5 -t 2 -U '\''Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0'\'' '
|
||||||
alias egrep='egrep --color=auto'
|
alias egrep='egrep --color=auto'
|
||||||
alias fgrep='fgrep --color=auto'
|
alias fgrep='fgrep --color=auto'
|
||||||
|
@ -342,11 +342,8 @@ alias ll='ls -lah'
|
||||||
alias osj='openstack -f json'
|
alias osj='openstack -f json'
|
||||||
alias osc='openstack console log show'
|
alias osc='openstack console log show'
|
||||||
alias oss='openstack server'
|
alias oss='openstack server'
|
||||||
alias pass='tr -dc A-Za-z0-9_ < /dev/urandom | head -c 20 | xargs'
|
|
||||||
alias paste='pastebin -m -n Hactar'
|
|
||||||
alias psa='ps auxwwwf'
|
alias psa='ps auxwwwf'
|
||||||
alias toph='top -cHd1'
|
alias toph='top -cHd1'
|
||||||
alias vdir='vdir --color=auto'
|
|
||||||
alias ip="ip --color"
|
alias ip="ip --color"
|
||||||
|
|
||||||
alias gw01='z3 gw01.infra.mps.gs.ovh.net'
|
alias gw01='z3 gw01.infra.mps.gs.ovh.net'
|
||||||
|
@ -368,4 +365,5 @@ alias bat=batcat
|
||||||
alias osm="openstack --os-cloud management_stack"
|
alias osm="openstack --os-cloud management_stack"
|
||||||
alias osmb="openstack --os-cloud management_stack_sbg"
|
alias osmb="openstack --os-cloud management_stack_sbg"
|
||||||
alias osmd="openstack --os-cloud management_stack_de"
|
alias osmd="openstack --os-cloud management_stack_de"
|
||||||
export BASTION_CONF_FILE=~/.config/ovh/bastion.env
|
export BASTION_CONF_FILE=~/.config/ovh/bastion.env
|
||||||
|
VAULT_ADDR="https://vault.ood.ovh:8200"
|
||||||
|
|
Loading…
Add table
Reference in a new issue