mirror of
				https://github.com/frebib/dotfiles.git
				synced 2024-06-14 12:57:23 +00:00 
			
		
		
		
	Compare commits
	
		
			17 Commits
		
	
	
		
			a7f104e942
			...
			systemd-se
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						ba8dc84993
	
				 | 
					
					
						|||
| 
						
						
							
						
						757bd4c26d
	
				 | 
					
					
						|||
| 
						
						
							
						
						d96ffc16ff
	
				 | 
					
					
						|||
| 
						
						
							
						
						2598df0f17
	
				 | 
					
					
						|||
| 
						
						
							
						
						d251f3e23a
	
				 | 
					
					
						|||
| 
						
						
							
						
						0d5e1a92c9
	
				 | 
					
					
						|||
| 
						
						
							
						
						ed0e66dede
	
				 | 
					
					
						|||
| 
						
						
							
						
						f695136338
	
				 | 
					
					
						|||
| 
						
						
							
						
						4fd3c35d52
	
				 | 
					
					
						|||
| 
						
						
							
						
						4335eb18c7
	
				 | 
					
					
						|||
| 
						
						
							
						
						27991a9460
	
				 | 
					
					
						|||
| 
						
						
							
						
						d54737ee28
	
				 | 
					
					
						|||
| 
						
						
							
						
						30fd0b3024
	
				 | 
					
					
						|||
| 
						
						
							
						
						7a2e8b3f1e
	
				 | 
					
					
						|||
| 
						
						
							
						
						37d044aab0
	
				 | 
					
					
						|||
| 
						
						
							
						
						6d0df3bc65
	
				 | 
					
					
						|||
| 
						
						
							
						
						dc6fab9f8a
	
				 | 
					
					
						
@@ -15,10 +15,4 @@ xrandr --dpi $(xrdb -query | grep -i xft.dpi | cut -d: -f2)
 | 
			
		||||
 | 
			
		||||
setxkbmap -option caps:none
 | 
			
		||||
xset r rate 200 18
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Merge system clipboards
 | 
			
		||||
if [ -n "$DISPLAY" ] && exists autocutsel && ! pidof autocutsel 1>/dev/null; then
 | 
			
		||||
    autocutsel -fork
 | 
			
		||||
    autocutsel -selection PRIMARY -fork
 | 
			
		||||
fi
 | 
			
		||||
xmodmap "$XDG_CONFIG_HOME"/X11/xmodmap
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,5 @@
 | 
			
		||||
# Configuration for Alacritty, the GPU enhanced terminal emulator.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Any items in the `env` entry below will be added as
 | 
			
		||||
# environment variables. Some entries may override variables
 | 
			
		||||
# set by alacritty itself.
 | 
			
		||||
@@ -9,9 +8,8 @@ env:
 | 
			
		||||
  #
 | 
			
		||||
  # 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.
 | 
			
		||||
  #
 | 
			
		||||
  # check the local terminfo database and use `alacritty` if it is
 | 
			
		||||
  # available, otherwise `xterm-256color` is used.
 | 
			
		||||
  TERM: xterm-256color
 | 
			
		||||
 | 
			
		||||
window:
 | 
			
		||||
@@ -19,9 +17,17 @@ window:
 | 
			
		||||
  #
 | 
			
		||||
  # Specified in number of columns/lines, not pixels.
 | 
			
		||||
  # If both are `0`, this setting is ignored.
 | 
			
		||||
  dimensions:
 | 
			
		||||
    columns: 80
 | 
			
		||||
    lines: 24
 | 
			
		||||
  #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)
 | 
			
		||||
  #
 | 
			
		||||
@@ -31,7 +37,6 @@ window:
 | 
			
		||||
    x: 22
 | 
			
		||||
    y: 22
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  # Spread additional padding evenly around the terminal content.
 | 
			
		||||
  dynamic_padding: false
 | 
			
		||||
 | 
			
		||||
@@ -40,6 +45,10 @@ window:
 | 
			
		||||
  # 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, but no title bar buttons
 | 
			
		||||
  decorations: full
 | 
			
		||||
 | 
			
		||||
  # Startup Mode (changes require restart)
 | 
			
		||||
@@ -53,6 +62,22 @@ window:
 | 
			
		||||
  #   - SimpleFullscreen
 | 
			
		||||
  startup_mode: Windowed
 | 
			
		||||
 | 
			
		||||
  # Window title
 | 
			
		||||
  #title: Alacritty
 | 
			
		||||
 | 
			
		||||
  # Window class (Linux/BSD only):
 | 
			
		||||
  #class:
 | 
			
		||||
    # Application instance name
 | 
			
		||||
    #instance: Alacritty
 | 
			
		||||
    # General application class
 | 
			
		||||
    #general: Alacritty
 | 
			
		||||
 | 
			
		||||
  # GTK theme variant (Linux/BSD only)
 | 
			
		||||
  #
 | 
			
		||||
  # Override the variant of the GTK theme. Commonly supported values are `dark` and `light`.
 | 
			
		||||
  # Set this to `None` to use the default theme variant.
 | 
			
		||||
  #gtk_theme_variant: None
 | 
			
		||||
 | 
			
		||||
scrolling:
 | 
			
		||||
  # Maximum number of lines in the scrollback buffer.
 | 
			
		||||
  # Specifying '0' will disable scrolling.
 | 
			
		||||
@@ -62,98 +87,119 @@ scrolling:
 | 
			
		||||
  # scrollback is enabled (history > 0).
 | 
			
		||||
  multiplier: 3
 | 
			
		||||
 | 
			
		||||
  # Scroll to the bottom when new text is written to the terminal.
 | 
			
		||||
  auto_scroll: false
 | 
			
		||||
 | 
			
		||||
# Spaces per Tab (changes require restart)
 | 
			
		||||
#
 | 
			
		||||
# This setting defines the width of a tab in cells.
 | 
			
		||||
#
 | 
			
		||||
# Some applications, like Emacs, rely on knowing about the width of a tab.
 | 
			
		||||
# To prevent unexpected behavior in these applications, it's also required to
 | 
			
		||||
# change the `it` value in terminfo when altering this setting.
 | 
			
		||||
tabspaces: 4
 | 
			
		||||
 | 
			
		||||
# Font configuration (changes require restart)
 | 
			
		||||
#
 | 
			
		||||
# Important font attributes like antialiasing, subpixel aa, and hinting can be
 | 
			
		||||
# controlled through fontconfig. Specifically, the following attributes should
 | 
			
		||||
# have an effect:
 | 
			
		||||
#   - hintstyle
 | 
			
		||||
#   - antialias
 | 
			
		||||
#   - lcdfilter
 | 
			
		||||
#   - rgba
 | 
			
		||||
#
 | 
			
		||||
# For instance, if you wish to disable subpixel antialiasing, you might set the
 | 
			
		||||
# rgba property to `none`. If you wish to completely disable antialiasing, you
 | 
			
		||||
# can set antialias to `false`.
 | 
			
		||||
#
 | 
			
		||||
# Please see these resources for more information on how to use fontconfig:
 | 
			
		||||
#   - https://wiki.archlinux.org/index.php/font_configuration#Fontconfig_configuration
 | 
			
		||||
#   - file:///usr/share/doc/fontconfig/fontconfig-user.html
 | 
			
		||||
# Font configuration
 | 
			
		||||
font:
 | 
			
		||||
  # Normal (roman) font face
 | 
			
		||||
  normal:
 | 
			
		||||
    family: monospace
 | 
			
		||||
  #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
 | 
			
		||||
    #style: Regular
 | 
			
		||||
 | 
			
		||||
  # Bold font face
 | 
			
		||||
  bold:
 | 
			
		||||
    family: monospace
 | 
			
		||||
  #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
 | 
			
		||||
    #style: Bold
 | 
			
		||||
 | 
			
		||||
  # Italic font face
 | 
			
		||||
  italic:
 | 
			
		||||
    family: monospace
 | 
			
		||||
  #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
 | 
			
		||||
    #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: 9.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
 | 
			
		||||
  #offset:
 | 
			
		||||
  #  x: 0
 | 
			
		||||
  #  y: 0
 | 
			
		||||
 | 
			
		||||
  # Glyph offset determines the locations of the glyphs within their cells with
 | 
			
		||||
  # the default being at the bottom. Increasing `x` moves the glyph to the right,
 | 
			
		||||
  # increasing `y` moves the glyph upwards.
 | 
			
		||||
  glyph_offset:
 | 
			
		||||
    x: 0
 | 
			
		||||
    y: 0
 | 
			
		||||
  #glyph_offset:
 | 
			
		||||
  #  x: 0
 | 
			
		||||
  #  y: 0
 | 
			
		||||
 | 
			
		||||
debug:
 | 
			
		||||
  # Display the time it takes to redraw each frame.
 | 
			
		||||
  render_timer: false
 | 
			
		||||
  # Thin stroke font rendering (macOS only)
 | 
			
		||||
  #
 | 
			
		||||
  # Thin strokes are suitable for retina displays, but for non-retina screens
 | 
			
		||||
  # it is recommended to set `use_thin_strokes` to `false`
 | 
			
		||||
  #
 | 
			
		||||
  # macOS >= 10.14.x:
 | 
			
		||||
  #
 | 
			
		||||
  # If the font quality on non-retina display looks bad then set
 | 
			
		||||
  # `use_thin_strokes` to `true` and enable font smoothing by running the
 | 
			
		||||
  # following command:
 | 
			
		||||
  #   `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO`
 | 
			
		||||
  #
 | 
			
		||||
  # This is a global setting and will require a log out or restart to take
 | 
			
		||||
  # effect.
 | 
			
		||||
  #use_thin_strokes: true
 | 
			
		||||
 | 
			
		||||
# If `true`, bold text is drawn using the bright color variants.
 | 
			
		||||
draw_bold_text_with_bright_colors: true
 | 
			
		||||
 | 
			
		||||
# Colors (Tomorrow Night Bright)
 | 
			
		||||
colors:
 | 
			
		||||
  # Default colors
 | 
			
		||||
  primary:
 | 
			
		||||
    foreground: '0xeceff1'
 | 
			
		||||
    background: '0x383c4a'
 | 
			
		||||
    foreground: '#eceff1'
 | 
			
		||||
    background: '#383c4a'
 | 
			
		||||
 | 
			
		||||
    # Bright and dim foreground colors
 | 
			
		||||
    #
 | 
			
		||||
    # The dimmed foreground color is calculated automatically if it is not present.
 | 
			
		||||
    # If the bright foreground color is not set, or `draw_bold_text_with_bright_colors`
 | 
			
		||||
    # is `false`, the normal foreground color will be used.
 | 
			
		||||
    #
 | 
			
		||||
    #dim_foreground: '0x9a9a9a'
 | 
			
		||||
    #bright_foreground: '0xffffff'
 | 
			
		||||
    #dim_foreground: '#9a9a9a'
 | 
			
		||||
    #bright_foreground: '#ffffff'
 | 
			
		||||
 | 
			
		||||
  # Cursor colors
 | 
			
		||||
  #
 | 
			
		||||
  # These will only be used when the `custom_cursor_colors` field is set to `true`.
 | 
			
		||||
  # Colors which should be used to draw the terminal cursor. If these are
 | 
			
		||||
  # unset, the cursor color will be the inverse of the cell color.
 | 
			
		||||
  cursor:
 | 
			
		||||
    text:       '0xeceff1'
 | 
			
		||||
    cursor:     '0x5294e2'
 | 
			
		||||
    text:       '#eceff1'
 | 
			
		||||
    cursor:     '#5294e2'
 | 
			
		||||
 | 
			
		||||
  # Vi mode cursor colors
 | 
			
		||||
  #
 | 
			
		||||
  # Colors for the cursor when the vi mode is active. If these are unset, the
 | 
			
		||||
  # cursor color will be the inverse of the cell color.
 | 
			
		||||
  #vi_mode_cursor:
 | 
			
		||||
  #  text: '#000000'
 | 
			
		||||
  #  cursor: '#ffffff'
 | 
			
		||||
 | 
			
		||||
  # Selection colors
 | 
			
		||||
  #
 | 
			
		||||
@@ -161,38 +207,54 @@ colors:
 | 
			
		||||
  # background is unset, selection color will be the inverse of the cell colors.
 | 
			
		||||
  # If only text is unset the cell text color will remain the same.
 | 
			
		||||
  selection:
 | 
			
		||||
    background: '0x5294e2'
 | 
			
		||||
  #  text: '0xeaeaea'
 | 
			
		||||
  #  text: '#eaeaea'
 | 
			
		||||
    background: '#5294e2'
 | 
			
		||||
 | 
			
		||||
  # Normal colors
 | 
			
		||||
  normal:
 | 
			
		||||
    black:      '0x333638'
 | 
			
		||||
    red:        '0xf41f1c'
 | 
			
		||||
    green:      '0x8bc34a'
 | 
			
		||||
    yellow:     '0xffc107'
 | 
			
		||||
    blue:       '0x0266f4'
 | 
			
		||||
    magenta:    '0xcc17cc'
 | 
			
		||||
    cyan:       '0x10aeba'
 | 
			
		||||
    white:      '0x8b9396'
 | 
			
		||||
    black:      '#333638'
 | 
			
		||||
    red:        '#f41f1c'
 | 
			
		||||
    green:      '#8bc34a'
 | 
			
		||||
    yellow:     '#ffc107'
 | 
			
		||||
    blue:       '#0266f4'
 | 
			
		||||
    magenta:    '#cc17cc'
 | 
			
		||||
    cyan:       '#10aeba'
 | 
			
		||||
    white:      '#8b9396'
 | 
			
		||||
 | 
			
		||||
  # Bright colors
 | 
			
		||||
  bright:
 | 
			
		||||
    black:      '0x475760'
 | 
			
		||||
    red:        '0xe53727'
 | 
			
		||||
    green:      '0x9ccc65'
 | 
			
		||||
    yellow:     '0xffa000'
 | 
			
		||||
    blue:       '0x81b3f9'
 | 
			
		||||
    magenta:    '0xa56ecc'
 | 
			
		||||
    cyan:       '0x5ddae2'
 | 
			
		||||
    white:      '0xeceff1'
 | 
			
		||||
    black:      '#475760'
 | 
			
		||||
    red:        '#e53727'
 | 
			
		||||
    green:      '#9ccc65'
 | 
			
		||||
    yellow:     '#ffa000'
 | 
			
		||||
    blue:       '#81b3f9'
 | 
			
		||||
    magenta:    '#a56ecc'
 | 
			
		||||
    cyan:       '#5ddae2'
 | 
			
		||||
    white:      '#eceff1'
 | 
			
		||||
 | 
			
		||||
  # Dim colors
 | 
			
		||||
  #
 | 
			
		||||
  # If the dim colors are not set, they will be calculated automatically based
 | 
			
		||||
  # on the `normal` colors.
 | 
			
		||||
  #dim:
 | 
			
		||||
  #  black:   '#000000'
 | 
			
		||||
  #  red:     '#8c3336'
 | 
			
		||||
  #  green:   '#7a8530'
 | 
			
		||||
  #  yellow:  '#97822e'
 | 
			
		||||
  #  blue:    '#506d8f'
 | 
			
		||||
  #  magenta: '#80638e'
 | 
			
		||||
  #  cyan:    '#497e7a'
 | 
			
		||||
  #  white:   '#9a9a9a'
 | 
			
		||||
 | 
			
		||||
  # Indexed Colors
 | 
			
		||||
  #
 | 
			
		||||
  # The indexed colors include all colors from 16 to 256.
 | 
			
		||||
  # When these are not set, they're filled with sensible defaults.
 | 
			
		||||
  #
 | 
			
		||||
  #indexed_colors:
 | 
			
		||||
  #  - { index: 16, color: '0x000000' }
 | 
			
		||||
  # Example:
 | 
			
		||||
  #   `- { index: 16, color: '#ff00ff' }`
 | 
			
		||||
  #
 | 
			
		||||
  #indexed_colors: []
 | 
			
		||||
 | 
			
		||||
# Visual Bell
 | 
			
		||||
#
 | 
			
		||||
@@ -215,9 +277,10 @@ colors:
 | 
			
		||||
#   - Linear
 | 
			
		||||
#
 | 
			
		||||
# Specifying a `duration` of `0` will disable the visual bell.
 | 
			
		||||
visual_bell:
 | 
			
		||||
  animation: EaseOutExpo
 | 
			
		||||
  duration: 0
 | 
			
		||||
#visual_bell:
 | 
			
		||||
#  animation: EaseOutExpo
 | 
			
		||||
#  duration: 0
 | 
			
		||||
#  color: '#ffffff'
 | 
			
		||||
 | 
			
		||||
# Background opacity
 | 
			
		||||
#
 | 
			
		||||
@@ -225,68 +288,32 @@ visual_bell:
 | 
			
		||||
# The value `0.0` is completely transparent and `1.0` is opaque.
 | 
			
		||||
background_opacity: 0.85
 | 
			
		||||
 | 
			
		||||
# Mouse bindings
 | 
			
		||||
#
 | 
			
		||||
# Available fields:
 | 
			
		||||
#   - mouse
 | 
			
		||||
#   - action
 | 
			
		||||
#   - mods (optional)
 | 
			
		||||
#
 | 
			
		||||
# Values for `mouse`:
 | 
			
		||||
#   - Middle
 | 
			
		||||
#   - Left
 | 
			
		||||
#   - Right
 | 
			
		||||
#   - Numeric identifier such as `5`
 | 
			
		||||
#
 | 
			
		||||
# All available `mods` and `action` values are documented in the key binding
 | 
			
		||||
# section.
 | 
			
		||||
mouse_bindings:
 | 
			
		||||
  - { mouse: Middle, action: PasteSelection }
 | 
			
		||||
 | 
			
		||||
mouse:
 | 
			
		||||
  # Click settings
 | 
			
		||||
  #
 | 
			
		||||
  # The `double_click` and `triple_click` settings control the time
 | 
			
		||||
  # alacritty should wait for accepting multiple clicks as one double
 | 
			
		||||
  # or triple click.
 | 
			
		||||
  double_click: { threshold: 300 }
 | 
			
		||||
  triple_click: { threshold: 300 }
 | 
			
		||||
 | 
			
		||||
  # If this is `true`, the cursor is temporarily hidden when typing.
 | 
			
		||||
  hide_when_typing: false
 | 
			
		||||
 | 
			
		||||
  url:
 | 
			
		||||
    # URL launcher
 | 
			
		||||
    #
 | 
			
		||||
    # This program is executed when clicking on a text which is recognized as a URL.
 | 
			
		||||
    # The URL is always added to the command as the last parameter.
 | 
			
		||||
    launcher: xdg-open
 | 
			
		||||
 | 
			
		||||
    # URL modifiers
 | 
			
		||||
    #
 | 
			
		||||
    # These are the modifiers that need to be held down for opening URLs when clicking
 | 
			
		||||
    # on them. The available modifiers are documented in the key binding section.
 | 
			
		||||
    #modifiers: Control|Shift
 | 
			
		||||
 | 
			
		||||
selection:
 | 
			
		||||
  semantic_escape_chars: ",│`|:\"' ()[]{}<>"
 | 
			
		||||
  #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
 | 
			
		||||
 | 
			
		||||
  # When set to `true`, selected text will be copied to both the primary and
 | 
			
		||||
  # the selection clipboard. Otherwise, it will only be copied to the selection
 | 
			
		||||
  # clipboard.
 | 
			
		||||
  # When set to `true`, selected text will be copied to the primary clipboard.
 | 
			
		||||
  save_to_clipboard: false
 | 
			
		||||
 | 
			
		||||
# Allow terminal applications to change Alacritty's window title.
 | 
			
		||||
dynamic_title: true
 | 
			
		||||
 | 
			
		||||
cursor:
 | 
			
		||||
  # Cursor style
 | 
			
		||||
  #
 | 
			
		||||
  # Values for 'style':
 | 
			
		||||
  # Values for `style`:
 | 
			
		||||
  #   - ▇ Block
 | 
			
		||||
  #   - _ Underline
 | 
			
		||||
  #   - | Beam
 | 
			
		||||
  style: Block
 | 
			
		||||
 | 
			
		||||
  # 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
 | 
			
		||||
 | 
			
		||||
  # If this is `true`, the cursor will be rendered as a hollow box when the
 | 
			
		||||
  # window is not focused.
 | 
			
		||||
  unfocused_hollow: true
 | 
			
		||||
@@ -299,185 +326,322 @@ live_config_reload: true
 | 
			
		||||
# 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:
 | 
			
		||||
#   - (macOS) /bin/bash --login
 | 
			
		||||
#   - (Linux/BSD) user login shell
 | 
			
		||||
#   - (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
 | 
			
		||||
 | 
			
		||||
# WinPTY backend (Windows only)
 | 
			
		||||
#
 | 
			
		||||
# Alacritty defaults to using the newer ConPTY backend if it is available,
 | 
			
		||||
# since it resolves a lot of bugs and is quite a bit faster. If it is not
 | 
			
		||||
# available, the the WinPTY backend will be used instead.
 | 
			
		||||
#
 | 
			
		||||
# Setting this option to `true` makes Alacritty use the legacy WinPTY backend,
 | 
			
		||||
# even if the ConPTY backend is available.
 | 
			
		||||
#winpty_backend: false
 | 
			
		||||
 | 
			
		||||
# Send ESC (\x1b) before characters when alt is pressed.
 | 
			
		||||
#alt_send_esc: 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
 | 
			
		||||
 | 
			
		||||
  url:
 | 
			
		||||
    # URL launcher
 | 
			
		||||
    #
 | 
			
		||||
    # This program is executed when clicking on a text which is recognized as a URL.
 | 
			
		||||
    # The URL is always added to the command as the last parameter.
 | 
			
		||||
    #
 | 
			
		||||
    # When set to `None`, URL launching will be disabled completely.
 | 
			
		||||
    #
 | 
			
		||||
    # Default:
 | 
			
		||||
    #   - (macOS) open
 | 
			
		||||
    #   - (Linux/BSD) xdg-open
 | 
			
		||||
    #   - (Windows) explorer
 | 
			
		||||
    launcher:
 | 
			
		||||
      program: xdg-open
 | 
			
		||||
      args: []
 | 
			
		||||
 | 
			
		||||
    # URL modifiers
 | 
			
		||||
    #
 | 
			
		||||
    # These are the modifiers that need to be held down for opening URLs when clicking
 | 
			
		||||
    # on them. The available modifiers are documented in the key binding section.
 | 
			
		||||
    #modifiers: None
 | 
			
		||||
 | 
			
		||||
# 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)
 | 
			
		||||
#
 | 
			
		||||
# And optionally:
 | 
			
		||||
#
 | 
			
		||||
# - `mods` (see key bindings)
 | 
			
		||||
mouse_bindings:
 | 
			
		||||
  - { mouse: Middle, action: PasteSelection }
 | 
			
		||||
 | 
			
		||||
# Key bindings
 | 
			
		||||
#
 | 
			
		||||
# Key bindings are specified as a list of objects. Each binding will specify
 | 
			
		||||
# a key and modifiers required to trigger it, terminal modes where the binding
 | 
			
		||||
# is applicable, and what should be done when the key binding fires. It can
 | 
			
		||||
# either send a byte sequnce to the running application (`chars`), execute
 | 
			
		||||
# a predefined action (`action`) or fork and execute a specified command plus
 | 
			
		||||
# arguments (`command`).
 | 
			
		||||
# Key bindings are specified as a list of objects. For example, this is the
 | 
			
		||||
# default paste binding:
 | 
			
		||||
#
 | 
			
		||||
# Example:
 | 
			
		||||
#   `- { key: V, mods: Command, action: Paste }`
 | 
			
		||||
# `- { key: V, mods: Control|Shift, action: Paste }`
 | 
			
		||||
#
 | 
			
		||||
# Available fields:
 | 
			
		||||
#   - key
 | 
			
		||||
#   - mods (optional)
 | 
			
		||||
#   - chars | action | command (exactly one required)
 | 
			
		||||
#   - mode (optional)
 | 
			
		||||
# Each key binding will specify a:
 | 
			
		||||
#
 | 
			
		||||
# Values for `key`:
 | 
			
		||||
#   - `A` -> `Z`
 | 
			
		||||
#   - `F1` -> `F12`
 | 
			
		||||
#   - `Key1` -> `Key0`
 | 
			
		||||
# - `key`: Identifier of the key pressed
 | 
			
		||||
#
 | 
			
		||||
#   A full list with available key codes can be found here:
 | 
			
		||||
#   https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants
 | 
			
		||||
#    - A-Z
 | 
			
		||||
#    - F1-F24
 | 
			
		||||
#    - Key0-Key9
 | 
			
		||||
#
 | 
			
		||||
# Values for `mods`:
 | 
			
		||||
#   - Command
 | 
			
		||||
#   - Control
 | 
			
		||||
#   - Shift
 | 
			
		||||
#   - Alt
 | 
			
		||||
#    A full list with available key codes can be found here:
 | 
			
		||||
#    https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
 | 
			
		||||
#
 | 
			
		||||
#   Multiple `mods` can be combined using `|` like this: `mods: Control|Shift`.
 | 
			
		||||
#   Whitespace and capitalization is relevant and must match the example.
 | 
			
		||||
#    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:
 | 
			
		||||
#
 | 
			
		||||
# Values for `chars`:
 | 
			
		||||
#   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.
 | 
			
		||||
#       `showkey --scancodes`.
 | 
			
		||||
#
 | 
			
		||||
# Values for `action`:
 | 
			
		||||
# 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
 | 
			
		||||
#   - Copy
 | 
			
		||||
#   - Paste
 | 
			
		||||
#   - PasteSelection
 | 
			
		||||
#   - Copy
 | 
			
		||||
#   - IncreaseFontSize
 | 
			
		||||
#   - DecreaseFontSize
 | 
			
		||||
#   - ResetFontSize
 | 
			
		||||
#   - ScrollPageUp
 | 
			
		||||
#   - ScrollPageDown
 | 
			
		||||
#   - ScrollLineUp
 | 
			
		||||
#   - ScrollLineDown
 | 
			
		||||
#   - ScrollToTop
 | 
			
		||||
#   - ScrollToBottom
 | 
			
		||||
#   - ClearHistory
 | 
			
		||||
#   - Hide
 | 
			
		||||
#   - Minimize
 | 
			
		||||
#   - Quit
 | 
			
		||||
#   - ToggleFullscreen
 | 
			
		||||
#   - SpawnNewInstance
 | 
			
		||||
#   - ClearLogNotice
 | 
			
		||||
#   - ClearSelection
 | 
			
		||||
#   - ReceiveChar
 | 
			
		||||
#   - None
 | 
			
		||||
#
 | 
			
		||||
# Values for `command`:
 | 
			
		||||
#   The `command` field must be a map containing a `program` string and
 | 
			
		||||
#   an `args` array of command line parameter strings.
 | 
			
		||||
#   (`mode: Vi` only):
 | 
			
		||||
#   - Open
 | 
			
		||||
#   - Up
 | 
			
		||||
#   - Down
 | 
			
		||||
#   - Left
 | 
			
		||||
#   - Right
 | 
			
		||||
#   - First
 | 
			
		||||
#   - Last
 | 
			
		||||
#   - FirstOccupied
 | 
			
		||||
#   - High
 | 
			
		||||
#   - Middle
 | 
			
		||||
#   - Low
 | 
			
		||||
#   - SemanticLeft
 | 
			
		||||
#   - SemanticRight
 | 
			
		||||
#   - SemanticLeftEnd
 | 
			
		||||
#   - SemanticRightEnd
 | 
			
		||||
#   - WordRight
 | 
			
		||||
#   - WordLeft
 | 
			
		||||
#   - WordRightEnd
 | 
			
		||||
#   - WordLeftEnd
 | 
			
		||||
#   - Bracket
 | 
			
		||||
#   - ToggleNormalSelection
 | 
			
		||||
#   - ToggleLineSelection
 | 
			
		||||
#   - ToggleBlockSelection
 | 
			
		||||
#   - ToggleSemanticSelection
 | 
			
		||||
#
 | 
			
		||||
#   Example:
 | 
			
		||||
#       `command: { program: "alacritty", args: ["-e", "vttest"] }`
 | 
			
		||||
#   (macOS only):
 | 
			
		||||
#   - ToggleSimpleFullscreen: Enters fullscreen without occupying another space
 | 
			
		||||
#
 | 
			
		||||
# Values for `mode`:
 | 
			
		||||
#   - ~AppCursor
 | 
			
		||||
#   - AppCursor
 | 
			
		||||
#   - ~AppKeypad
 | 
			
		||||
#   - AppKeypad
 | 
			
		||||
# - `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
 | 
			
		||||
#    - Alt
 | 
			
		||||
#
 | 
			
		||||
#    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
 | 
			
		||||
# at once.
 | 
			
		||||
key_bindings:
 | 
			
		||||
  - { key: V,        mods: Control|Shift,    action: Paste               }
 | 
			
		||||
  - { key: C,        mods: Control|Shift,    action: Copy                }
 | 
			
		||||
  - { key: Paste,                   action: Paste                        }
 | 
			
		||||
  - { key: Copy,                    action: Copy                         }
 | 
			
		||||
  - { key: Q,        mods: Command, action: Quit                         }
 | 
			
		||||
  - { key: W,        mods: Command, action: Quit                         }
 | 
			
		||||
  - { key: Insert,   mods: Shift,   action: PasteSelection               }
 | 
			
		||||
  - { key: Equals,   mods: Control, action: ResetFontSize                }
 | 
			
		||||
  - { key: Add,      mods: Control|Shift,    action: IncreaseFontSize    }
 | 
			
		||||
  - { key: Subtract, mods: Control|Shift,    action: DecreaseFontSize    }
 | 
			
		||||
  - { key: Home,                    chars: "\x1bOH",   mode: AppCursor   }
 | 
			
		||||
  - { key: Home,                    chars: "\x1b[H",   mode: ~AppCursor  }
 | 
			
		||||
  - { key: End,                     chars: "\x1bOF",   mode: AppCursor   }
 | 
			
		||||
  - { key: End,                     chars: "\x1b[F",   mode: ~AppCursor  }
 | 
			
		||||
  - { key: PageUp,   mods: Shift,   chars: "\x1b[5;2~"                   }
 | 
			
		||||
  - { key: PageUp,   mods: Control, chars: "\x1b[5;5~"                   }
 | 
			
		||||
  - { key: PageUp,                  chars: "\x1b[5~"                     }
 | 
			
		||||
  - { key: PageDown, mods: Shift,   chars: "\x1b[6;2~"                   }
 | 
			
		||||
  - { key: PageDown, mods: Control, chars: "\x1b[6;5~"                   }
 | 
			
		||||
  - { key: PageDown,                chars: "\x1b[6~"                     }
 | 
			
		||||
  - { key: Tab,      mods: Shift,   chars: "\x1b[Z"                      }
 | 
			
		||||
  - { key: Back,                    chars: "\x7f"                        }
 | 
			
		||||
  - { key: Back,     mods: Alt,     chars: "\x1b\x7f"                    }
 | 
			
		||||
  - { key: Insert,                  chars: "\x1b[2~"                     }
 | 
			
		||||
  - { key: Delete,                  chars: "\x1b[3~"                     }
 | 
			
		||||
  - { key: Left,     mods: Shift,   chars: "\x1b[1;2D"                   }
 | 
			
		||||
  - { key: Left,     mods: Control, chars: "\x1b[1;5D"                   }
 | 
			
		||||
  - { key: Left,     mods: Alt,     chars: "\x1b[1;3D"                   }
 | 
			
		||||
  - { key: Left,                    chars: "\x1b[D",   mode: ~AppCursor  }
 | 
			
		||||
  - { key: Left,                    chars: "\x1bOD",   mode: AppCursor   }
 | 
			
		||||
  - { key: Right,    mods: Shift,   chars: "\x1b[1;2C"                   }
 | 
			
		||||
  - { key: Right,    mods: Control, chars: "\x1b[1;5C"                   }
 | 
			
		||||
  - { key: Right,    mods: Alt,     chars: "\x1b[1;3C"                   }
 | 
			
		||||
  - { key: Right,                   chars: "\x1b[C",   mode: ~AppCursor  }
 | 
			
		||||
  - { key: Right,                   chars: "\x1bOC",   mode: AppCursor   }
 | 
			
		||||
  - { key: Up,       mods: Shift,   chars: "\x1b[1;2A"                   }
 | 
			
		||||
  - { key: Up,       mods: Control, chars: "\x1b[1;5A"                   }
 | 
			
		||||
  - { key: Up,       mods: Alt,     chars: "\x1b[1;3A"                   }
 | 
			
		||||
  - { key: Up,                      chars: "\x1b[A",   mode: ~AppCursor  }
 | 
			
		||||
  - { key: Up,                      chars: "\x1bOA",   mode: AppCursor   }
 | 
			
		||||
  - { key: Down,     mods: Shift,   chars: "\x1b[1;2B"                   }
 | 
			
		||||
  - { key: Down,     mods: Control, chars: "\x1b[1;5B"                   }
 | 
			
		||||
  - { key: Down,     mods: Alt,     chars: "\x1b[1;3B"                   }
 | 
			
		||||
  - { key: Down,                    chars: "\x1b[B",   mode: ~AppCursor  }
 | 
			
		||||
  - { key: Down,                    chars: "\x1bOB",   mode: AppCursor   }
 | 
			
		||||
  - { key: F1,                      chars: "\x1bOP"                      }
 | 
			
		||||
  - { key: F2,                      chars: "\x1bOQ"                      }
 | 
			
		||||
  - { key: F3,                      chars: "\x1bOR"                      }
 | 
			
		||||
  - { key: F4,                      chars: "\x1bOS"                      }
 | 
			
		||||
  - { key: F5,                      chars: "\x1b[15~"                    }
 | 
			
		||||
  - { key: F6,                      chars: "\x1b[17~"                    }
 | 
			
		||||
  - { key: F7,                      chars: "\x1b[18~"                    }
 | 
			
		||||
  - { key: F8,                      chars: "\x1b[19~"                    }
 | 
			
		||||
  - { key: F9,                      chars: "\x1b[20~"                    }
 | 
			
		||||
  - { key: F10,                     chars: "\x1b[21~"                    }
 | 
			
		||||
  - { key: F11,                     chars: "\x1b[23~"                    }
 | 
			
		||||
  - { key: F12,                     chars: "\x1b[24~"                    }
 | 
			
		||||
  - { key: F1,       mods: Shift,   chars: "\x1b[1;2P"                   }
 | 
			
		||||
  - { key: F2,       mods: Shift,   chars: "\x1b[1;2Q"                   }
 | 
			
		||||
  - { key: F3,       mods: Shift,   chars: "\x1b[1;2R"                   }
 | 
			
		||||
  - { key: F4,       mods: Shift,   chars: "\x1b[1;2S"                   }
 | 
			
		||||
  - { key: F5,       mods: Shift,   chars: "\x1b[15;2~"                  }
 | 
			
		||||
  - { key: F6,       mods: Shift,   chars: "\x1b[17;2~"                  }
 | 
			
		||||
  - { key: F7,       mods: Shift,   chars: "\x1b[18;2~"                  }
 | 
			
		||||
  - { key: F8,       mods: Shift,   chars: "\x1b[19;2~"                  }
 | 
			
		||||
  - { key: F9,       mods: Shift,   chars: "\x1b[20;2~"                  }
 | 
			
		||||
  - { key: F10,      mods: Shift,   chars: "\x1b[21;2~"                  }
 | 
			
		||||
  - { key: F11,      mods: Shift,   chars: "\x1b[23;2~"                  }
 | 
			
		||||
  - { key: F12,      mods: Shift,   chars: "\x1b[24;2~"                  }
 | 
			
		||||
  - { key: F1,       mods: Control, chars: "\x1b[1;5P"                   }
 | 
			
		||||
  - { key: F2,       mods: Control, chars: "\x1b[1;5Q"                   }
 | 
			
		||||
  - { key: F3,       mods: Control, chars: "\x1b[1;5R"                   }
 | 
			
		||||
  - { key: F4,       mods: Control, chars: "\x1b[1;5S"                   }
 | 
			
		||||
  - { key: F5,       mods: Control, chars: "\x1b[15;5~"                  }
 | 
			
		||||
  - { key: F6,       mods: Control, chars: "\x1b[17;5~"                  }
 | 
			
		||||
  - { key: F7,       mods: Control, chars: "\x1b[18;5~"                  }
 | 
			
		||||
  - { key: F8,       mods: Control, chars: "\x1b[19;5~"                  }
 | 
			
		||||
  - { key: F9,       mods: Control, chars: "\x1b[20;5~"                  }
 | 
			
		||||
  - { key: F10,      mods: Control, chars: "\x1b[21;5~"                  }
 | 
			
		||||
  - { key: F11,      mods: Control, chars: "\x1b[23;5~"                  }
 | 
			
		||||
  - { key: F12,      mods: Control, chars: "\x1b[24;5~"                  }
 | 
			
		||||
  - { key: F1,       mods: Alt,     chars: "\x1b[1;6P"                   }
 | 
			
		||||
  - { key: F2,       mods: Alt,     chars: "\x1b[1;6Q"                   }
 | 
			
		||||
  - { key: F3,       mods: Alt,     chars: "\x1b[1;6R"                   }
 | 
			
		||||
  - { key: F4,       mods: Alt,     chars: "\x1b[1;6S"                   }
 | 
			
		||||
  - { key: F5,       mods: Alt,     chars: "\x1b[15;6~"                  }
 | 
			
		||||
  - { key: F6,       mods: Alt,     chars: "\x1b[17;6~"                  }
 | 
			
		||||
  - { key: F7,       mods: Alt,     chars: "\x1b[18;6~"                  }
 | 
			
		||||
  - { key: F8,       mods: Alt,     chars: "\x1b[19;6~"                  }
 | 
			
		||||
  - { key: F9,       mods: Alt,     chars: "\x1b[20;6~"                  }
 | 
			
		||||
  - { key: F10,      mods: Alt,     chars: "\x1b[21;6~"                  }
 | 
			
		||||
  - { key: F11,      mods: Alt,     chars: "\x1b[23;6~"                  }
 | 
			
		||||
  - { key: F12,      mods: Alt,     chars: "\x1b[24;6~"                  }
 | 
			
		||||
  - { key: F1,       mods: Super,   chars: "\x1b[1;3P"                   }
 | 
			
		||||
  - { key: F2,       mods: Super,   chars: "\x1b[1;3Q"                   }
 | 
			
		||||
  - { key: F3,       mods: Super,   chars: "\x1b[1;3R"                   }
 | 
			
		||||
  - { key: F4,       mods: Super,   chars: "\x1b[1;3S"                   }
 | 
			
		||||
  - { key: F5,       mods: Super,   chars: "\x1b[15;3~"                  }
 | 
			
		||||
  - { key: F6,       mods: Super,   chars: "\x1b[17;3~"                  }
 | 
			
		||||
  - { key: F7,       mods: Super,   chars: "\x1b[18;3~"                  }
 | 
			
		||||
  - { key: F8,       mods: Super,   chars: "\x1b[19;3~"                  }
 | 
			
		||||
  - { key: F9,       mods: Super,   chars: "\x1b[20;3~"                  }
 | 
			
		||||
  - { key: F10,      mods: Super,   chars: "\x1b[21;3~"                  }
 | 
			
		||||
  - { key: F11,      mods: Super,   chars: "\x1b[23;3~"                  }
 | 
			
		||||
  - { key: F12,      mods: Super,   chars: "\x1b[24;3~"                  }
 | 
			
		||||
  - { key: Paste,                                action: Paste          }
 | 
			
		||||
  - { key: Copy,                                 action: Copy           }
 | 
			
		||||
  #- { key: L,         mods: Control,             action: ClearLogNotice }
 | 
			
		||||
  #- { key: L,         mods: Control, mode: ~Vi,  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: Vi, action: ScrollToBottom          }
 | 
			
		||||
  #- { key: Space,  mods: Shift|Control,           action: ToggleViMode            }
 | 
			
		||||
  #- { key: Escape,                      mode: Vi, action: ClearSelection          }
 | 
			
		||||
  #- { key: I,                           mode: Vi, action: ScrollToBottom          }
 | 
			
		||||
  #- { key: I,                           mode: Vi, action: ToggleViMode            }
 | 
			
		||||
  #- { key: Y,      mods: Control,       mode: Vi, action: ScrollLineUp            }
 | 
			
		||||
  #- { key: E,      mods: Control,       mode: Vi, action: ScrollLineDown          }
 | 
			
		||||
  #- { key: G,                           mode: Vi, action: ScrollToTop             }
 | 
			
		||||
  #- { key: G,      mods: Shift,         mode: Vi, action: ScrollToBottom          }
 | 
			
		||||
  #- { key: B,      mods: Control,       mode: Vi, action: ScrollPageUp            }
 | 
			
		||||
  #- { key: F,      mods: Control,       mode: Vi, action: ScrollPageDown          }
 | 
			
		||||
  #- { key: U,      mods: Control,       mode: Vi, action: ScrollHalfPageUp        }
 | 
			
		||||
  #- { key: D,      mods: Control,       mode: Vi, action: ScrollHalfPageDown      }
 | 
			
		||||
  #- { key: Y,                           mode: Vi, action: Copy                    }
 | 
			
		||||
  #- { key: V,                           mode: Vi, action: ToggleNormalSelection   }
 | 
			
		||||
  #- { key: V,      mods: Shift,         mode: Vi, action: ToggleLineSelection     }
 | 
			
		||||
  #- { key: V,      mods: Control,       mode: Vi, action: ToggleBlockSelection    }
 | 
			
		||||
  #- { key: V,      mods: Alt,           mode: Vi, action: ToggleSemanticSelection }
 | 
			
		||||
  #- { key: Return,                      mode: Vi, action: Open                    }
 | 
			
		||||
  #- { key: K,                           mode: Vi, action: Up                      }
 | 
			
		||||
  #- { key: J,                           mode: Vi, action: Down                    }
 | 
			
		||||
  #- { key: H,                           mode: Vi, action: Left                    }
 | 
			
		||||
  #- { key: L,                           mode: Vi, action: Right                   }
 | 
			
		||||
  #- { key: Up,                          mode: Vi, action: Up                      }
 | 
			
		||||
  #- { key: Down,                        mode: Vi, action: Down                    }
 | 
			
		||||
  #- { key: Left,                        mode: Vi, action: Left                    }
 | 
			
		||||
  #- { key: Right,                       mode: Vi, action: Right                   }
 | 
			
		||||
  #- { key: Key0,                        mode: Vi, action: First                   }
 | 
			
		||||
  #- { key: Key4,   mods: Shift,         mode: Vi, action: Last                    }
 | 
			
		||||
  #- { key: Key6,   mods: Shift,         mode: Vi, action: FirstOccupied           }
 | 
			
		||||
  #- { key: H,      mods: Shift,         mode: Vi, action: High                    }
 | 
			
		||||
  #- { key: M,      mods: Shift,         mode: Vi, action: Middle                  }
 | 
			
		||||
  #- { key: L,      mods: Shift,         mode: Vi, action: Low                     }
 | 
			
		||||
  #- { key: B,                           mode: Vi, action: SemanticLeft            }
 | 
			
		||||
  #- { key: W,                           mode: Vi, action: SemanticRight           }
 | 
			
		||||
  #- { key: E,                           mode: Vi, action: SemanticRightEnd        }
 | 
			
		||||
  #- { key: B,      mods: Shift,         mode: Vi, action: WordLeft                }
 | 
			
		||||
  #- { key: W,      mods: Shift,         mode: Vi, action: WordRight               }
 | 
			
		||||
  #- { key: E,      mods: Shift,         mode: Vi, action: WordRightEnd            }
 | 
			
		||||
  #- { key: Key5,   mods: Shift,         mode: Vi, action: Bracket                 }
 | 
			
		||||
 | 
			
		||||
  # (Windows, Linux, and BSD only)
 | 
			
		||||
  - { key: V,        mods: Control|Shift, action: Paste            }
 | 
			
		||||
  - { key: C,        mods: Control|Shift, action: Copy             }
 | 
			
		||||
  - { key: Insert,   mods: Shift,         action: PasteSelection   }
 | 
			
		||||
  - { key: Key0,     mods: Control,       action: ResetFontSize    }
 | 
			
		||||
  - { key: Equals,   mods: Control,       action: ResetFontSize    }
 | 
			
		||||
  - { key: Add,      mods: Control,       action: IncreaseFontSize }
 | 
			
		||||
  - { key: Subtract, mods: Control,       action: DecreaseFontSize }
 | 
			
		||||
  - { key: Minus,    mods: Control,       action: DecreaseFontSize }
 | 
			
		||||
 | 
			
		||||
  # (Windows only)
 | 
			
		||||
  #- { key: Return,   mods: Alt,           action: ToggleFullscreen }
 | 
			
		||||
 | 
			
		||||
  # (macOS only)
 | 
			
		||||
  #- { key: K,      mods: Command, mode: ~Vi, chars: "\x0c"            }
 | 
			
		||||
  #- { key: Key0,   mods: Command,            action: ResetFontSize    }
 | 
			
		||||
  #- { key: Equals, mods: Command,            action: IncreaseFontSize }
 | 
			
		||||
  #- { key: Add,    mods: Command,            action: IncreaseFontSize }
 | 
			
		||||
  #- { key: Minus,  mods: Command,            action: DecreaseFontSize }
 | 
			
		||||
  #- { key: K,      mods: Command,            action: ClearHistory     }
 | 
			
		||||
  #- { key: V,      mods: Command,            action: Paste            }
 | 
			
		||||
  #- { key: C,      mods: Command,            action: Copy             }
 | 
			
		||||
  #- { key: H,      mods: Command,            action: Hide             }
 | 
			
		||||
  #- { 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 }
 | 
			
		||||
 | 
			
		||||
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`:
 | 
			
		||||
  #   - None
 | 
			
		||||
  #   - Error
 | 
			
		||||
  #   - Warn
 | 
			
		||||
  #   - Info
 | 
			
		||||
  #   - Debug
 | 
			
		||||
  #   - Trace
 | 
			
		||||
  log_level: Info
 | 
			
		||||
 | 
			
		||||
  # Print all received window events.
 | 
			
		||||
  #print_events: false
 | 
			
		||||
 
 | 
			
		||||
@@ -1 +1 @@
 | 
			
		||||
--enable-features=OverlayScrollbar
 | 
			
		||||
--enable-features=NativeNotifications,OverlayScrollbar
 | 
			
		||||
 
 | 
			
		||||
@@ -1,18 +1,18 @@
 | 
			
		||||
[global]
 | 
			
		||||
    font = sans 9.5
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Allow a small subset of html markup:
 | 
			
		||||
    #   <b>bold</b>
 | 
			
		||||
    #   <i>italic</i>
 | 
			
		||||
    #   <s>strikethrough</s>
 | 
			
		||||
    #   <u>underline</u>
 | 
			
		||||
    # 
 | 
			
		||||
    #
 | 
			
		||||
    # For a complete reference see
 | 
			
		||||
    # <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
 | 
			
		||||
    # If markup is not allowed, those tags will be stripped out of the
 | 
			
		||||
    # message.
 | 
			
		||||
    markup = yes
 | 
			
		||||
    
 | 
			
		||||
    markup = full
 | 
			
		||||
 | 
			
		||||
    # The format of the message.  Possible variables are:
 | 
			
		||||
    #   %a  appname
 | 
			
		||||
    #   %s  summary
 | 
			
		||||
@@ -22,35 +22,35 @@
 | 
			
		||||
    #   %p  progress value if set ([  0%] to [100%]) or nothing
 | 
			
		||||
    # Markup is allowed
 | 
			
		||||
    format = "<b>%s %p</b>\n%b"
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Sort messages by urgency.
 | 
			
		||||
    sort = yes
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Show how many messages are currently hidden (because of geometry).
 | 
			
		||||
    indicate_hidden = yes
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Alignment of message text.
 | 
			
		||||
    # Possible values are "left", "center" and "right".
 | 
			
		||||
    alignment = left
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # The frequency with wich text that is longer than the notification
 | 
			
		||||
    # window allows bounces back and forth.
 | 
			
		||||
    # This option conflicts with "word_wrap".
 | 
			
		||||
    # Set to 0 to disable.
 | 
			
		||||
    bounce_freq = 0
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Show age of message if message is older than show_age_threshold
 | 
			
		||||
    # seconds.
 | 
			
		||||
    # Set to -1 to disable.
 | 
			
		||||
    show_age_threshold = 60
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Split notifications into multiple lines if they don't fit into
 | 
			
		||||
    # geometry.
 | 
			
		||||
    word_wrap = yes
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Ignore newlines '\n' in notifications.
 | 
			
		||||
    ignore_newline = no
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # The geometry of the window:
 | 
			
		||||
    #   [{width}]x{height}[+/-{x}+/-{y}]
 | 
			
		||||
    # The geometry of the message window.
 | 
			
		||||
@@ -66,63 +66,63 @@
 | 
			
		||||
 | 
			
		||||
    # 53 = 30 + 23 (bar-height)
 | 
			
		||||
    geometry = "360x5-30+30"
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Shrink window if it's smaller than the width.  Will be ignored if
 | 
			
		||||
    # width is 0.
 | 
			
		||||
    shrink = yes
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # The transparency of the window.  Range: [0; 100].
 | 
			
		||||
    # This option will only work if a compositing windowmanager is
 | 
			
		||||
    # present (e.g. xcompmgr, compiz, etc.).
 | 
			
		||||
    transparency = 15
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Don't remove messages, if the user is idle (no mouse or keyboard input)
 | 
			
		||||
    # for longer than idle_threshold seconds.
 | 
			
		||||
    # Set to 0 to disable.
 | 
			
		||||
    idle_threshold = 120
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Which monitor should the notifications be displayed on.
 | 
			
		||||
    monitor = 0
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Display notification on focused monitor.  Possible modes are:
 | 
			
		||||
    #   mouse: follow mouse pointer
 | 
			
		||||
    #   keyboard: follow window with keyboard focus
 | 
			
		||||
    #   none: don't follow anything
 | 
			
		||||
    # 
 | 
			
		||||
    #
 | 
			
		||||
    # "keyboard" needs a windowmanager that exports the
 | 
			
		||||
    # _NET_ACTIVE_WINDOW property.
 | 
			
		||||
    # This should be the case for almost all modern windowmanagers.
 | 
			
		||||
    # 
 | 
			
		||||
    #
 | 
			
		||||
    # If this option is set to mouse or keyboard, the monitor option
 | 
			
		||||
    # will be ignored.
 | 
			
		||||
    follow = none
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Should a notification popped up from history be sticky or timeout
 | 
			
		||||
    # as if it would normally do.
 | 
			
		||||
    sticky_history = yes
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Maximum amount of notifications kept in history
 | 
			
		||||
    history_length = 100
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Display indicators for URLs (U) and actions (A).
 | 
			
		||||
    show_indicators = no
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # The height of a single line.  If the height is smaller than the
 | 
			
		||||
    # font height, it will get raised to the font height.
 | 
			
		||||
    # This adds empty space above and under the text.
 | 
			
		||||
    line_height = 0
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Draw a line of "separatpr_height" pixel height between two
 | 
			
		||||
    # notifications.
 | 
			
		||||
    # Set to 0 to disable.
 | 
			
		||||
    separator_height = 2
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Padding between text and separator.
 | 
			
		||||
    padding = 15
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Horizontal padding.
 | 
			
		||||
    horizontal_padding = 16
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Define a color for the separator.
 | 
			
		||||
    # possible values are:
 | 
			
		||||
    #  * auto: dunst tries to find a color fitting to the background;
 | 
			
		||||
@@ -130,15 +130,15 @@
 | 
			
		||||
    #  * frame: use the same color as the frame;
 | 
			
		||||
    #  * anything else will be interpreted as a X color.
 | 
			
		||||
    separator_color = frame
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Print a notification on startup.
 | 
			
		||||
    # This is mainly for error detection, since dbus (re-)starts dunst
 | 
			
		||||
    # automatically after a crash.
 | 
			
		||||
    startup_notification = false
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # dmenu path.
 | 
			
		||||
    dmenu = /usr/bin/rofi -dmenu -i -p '' -config ~/.config/dunst/dunst-xresources
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Browser for opening urls in context menu.
 | 
			
		||||
    browser = /usr/bin/chromium
 | 
			
		||||
 | 
			
		||||
@@ -159,18 +159,18 @@
 | 
			
		||||
    # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
 | 
			
		||||
    # "mod3" and "mod4" (windows-key).
 | 
			
		||||
    # Xev might be helpful to find names for keys.
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Close notification.
 | 
			
		||||
    close = mod4+Escape
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Close all notifications.
 | 
			
		||||
    close_all = ctrl+mod4+Escape
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Redisplay last message(s).
 | 
			
		||||
    # On the US keyboard layout "grave" is normally above TAB and left
 | 
			
		||||
    # of "1".
 | 
			
		||||
    history = mod4+grave
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    # Context menu.
 | 
			
		||||
    context = mod4+shift+period
 | 
			
		||||
 | 
			
		||||
@@ -205,7 +205,7 @@
 | 
			
		||||
# The script will be called as follows:
 | 
			
		||||
#   script appname summary body icon urgency
 | 
			
		||||
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
 | 
			
		||||
# 
 | 
			
		||||
#
 | 
			
		||||
# NOTE: if you don't want a notification to be displayed, set the format
 | 
			
		||||
# to "".
 | 
			
		||||
# NOTE: It might be helpful to run dunst -print in a terminal in order
 | 
			
		||||
 
 | 
			
		||||
@@ -1,19 +0,0 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
# ================================================================================== #
 | 
			
		||||
# Focus the next window on the current workspace in i3, e.g. for binding to Alt+Tab  #
 | 
			
		||||
# Depends: jq, awk, i3wm (obviously)                                                 #
 | 
			
		||||
# Author: Nervengift <dev@nerven.gift>                                               #
 | 
			
		||||
# License: Don't think this deserves a license, Public Domain                        #
 | 
			
		||||
# Known bugs: doesn't work with non-window container focused                         #
 | 
			
		||||
# ================================================================================== #
 | 
			
		||||
 | 
			
		||||
ws=$(i3-msg -t get_workspaces|jq "map(select(.focused))[]|.name")
 | 
			
		||||
echo $ws
 | 
			
		||||
windows=$(i3-msg -t get_tree|jq ".nodes|map(.nodes[])|map(.nodes[])|map(select(.type==\"workspace\" and .name==$ws))[0].nodes|map(recurse(.nodes[]))|map(.window)|.[]|values")
 | 
			
		||||
echo $windows
 | 
			
		||||
current=$(i3-msg -t get_tree|jq "recurse(.nodes[])|select(.focused)|.window")
 | 
			
		||||
echo $current
 | 
			
		||||
if [ "x$current" != "xnull" ]; then
 | 
			
		||||
	next=$(echo $windows | awk "BEGIN {RS=\" \";FS=\"   \"};NR == 1 {w=\$1};{if (f == 1){w=\$1;f=0}else if (\$1 == \"$current\") f=1};END {print w}")
 | 
			
		||||
	i3-msg [id=$next] focus > /dev/null
 | 
			
		||||
fi
 | 
			
		||||
@@ -107,7 +107,6 @@ client.unfocused        $inactive-bg-color  $inactive-bg-color $inactive-text-co
 | 
			
		||||
client.focused_inactive $inactive-bg-color  $inactive-bg-color $inactive-text-color $bg-color
 | 
			
		||||
client.urgent           $urgent-bg-color    $urgent-bg-color   $text-color          $bg-color
 | 
			
		||||
 | 
			
		||||
exec_always --no-startup-id killall -q polybar; while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done; exec polybar -r i3bar
 | 
			
		||||
exec_always --no-startup-id feh --no-fehbg --no-xinerama --bg-fill $DOTFILES/lakesidesunrise.jpg
 | 
			
		||||
 | 
			
		||||
# Window rules
 | 
			
		||||
@@ -130,10 +129,10 @@ focus_follows_mouse yes
 | 
			
		||||
 | 
			
		||||
# keybindings
 | 
			
		||||
bindsym $mod+Shift+j            reload
 | 
			
		||||
bindsym $mod+c                  exec chromium
 | 
			
		||||
bindsym $mod+c                  exec systemd-run --user --scope --slice=chromium.slice --no-block -- chromium
 | 
			
		||||
bindsym $mod+b                  exec systemd-run --user --scope --slice=firefox.slice --no-block -- firefox
 | 
			
		||||
bindsym $mod+v                  exec "i3-sensible-terminal -e \\"$SHELL -c vim;$SHELL\\"
 | 
			
		||||
bindsym $mod+Ctrl+v             exec "i3-sensible-terminal -r floating-term -e \\"$SHELL -c vim;$SHELL\\"
 | 
			
		||||
bindsym Mod1+Tab                exec ~/.config/i3/alt-tab.sh
 | 
			
		||||
bindsym $mod+Return             exec i3-sensible-terminal
 | 
			
		||||
bindsym $mod+Ctrl+Return        exec i3-sensible-terminal -r floating-term
 | 
			
		||||
bindsym $mod+Shift+Return       exec i3-sensible-terminal -d "`xcwd`"
 | 
			
		||||
@@ -148,7 +147,7 @@ bindsym --release $mod+Print    exec imgur-screenshot
 | 
			
		||||
bindsym $mod+$alt+space         exec --no-startup-id ~/.config/i3/cycleaudio.py && pkill -RTMIN+10 i3blocks
 | 
			
		||||
bindsym $mod+numbersign         exec "i3-sensible-terminal -e 'sh -c xclip\ -o\ |\ gpg\ --decrypt\ 2>&1\ \;\ $SHELL'"
 | 
			
		||||
bindsym $mod+r                  exec "bash -c 'pwgen -nc 32 1 | tee >(xargs notify-send Generated\ password\:) | xclip -i'"
 | 
			
		||||
bindsym $mod+g                  exec "LINK=$(gist -PRpc); notify-send -c transfer \\"<a href=\\\\"$LINK\\\\">$LINK</a>\\""
 | 
			
		||||
bindsym $mod+g                  exec "LINK=$(gist -PRpc); notify-send -c transfer \\"$LINK\\""
 | 
			
		||||
bindsym --release $mod+i        exec sh -c 'sleep 0.5 && xdotool type --delay 400 "$(xclip -o -selection clipboard)"'
 | 
			
		||||
 | 
			
		||||
# Media player controls
 | 
			
		||||
@@ -163,25 +162,4 @@ bindsym XF86AudioMute           exec --no-startup-id pactl set-sink-mute   @DEFA
 | 
			
		||||
bindsym XF86MonBrightnessUp     exec xbacklight -inc 5 && pkill -RTMIN+12 i3blocks
 | 
			
		||||
bindsym XF86MonBrightnessDown   exec xbacklight -dec 5 && pkill -RTMIN+12 i3blocks
 | 
			
		||||
 | 
			
		||||
# app launch shortcuts
 | 
			
		||||
exec --no-startup-id ~/.config/i3/disable-standby-fs.py
 | 
			
		||||
exec --no-startup-id feh --no-fehbg --no-xinerama --bg-fill ~/pictures/lakesidesunrise.jpg
 | 
			
		||||
exec --no-startup-id xautolock -time 5 -locker 'dm-tool switch-to-greeter' -nocloseout -nocloseerr
 | 
			
		||||
exec --no-startup-id xss-lock dm-tool switch-to-greeter
 | 
			
		||||
 | 
			
		||||
# startup programs
 | 
			
		||||
exec --no-startup-id nextcloud
 | 
			
		||||
exec --no-startup-id blueman-applet
 | 
			
		||||
exec --no-startup-id redshift
 | 
			
		||||
exec --no-startup-id xbindkeys
 | 
			
		||||
exec --no-startup-id solaar
 | 
			
		||||
exec --no-startup-id pullover
 | 
			
		||||
exec --no-startup-id mailnag
 | 
			
		||||
exec --no-startup-id picom -b --experimental-backends
 | 
			
		||||
exec --no-startup-id chromium --no-startup-window
 | 
			
		||||
exec --no-startup-id thunderbird
 | 
			
		||||
 | 
			
		||||
exec i3-msg 'workspace 1; exec sleep 2 && chromium'
 | 
			
		||||
exec i3-msg 'workspace 2; exec i3-sensible-terminal'
 | 
			
		||||
 | 
			
		||||
# vim:ft=i3
 | 
			
		||||
 
 | 
			
		||||
@@ -37,9 +37,8 @@ opacity-rule = [
 | 
			
		||||
# Blurring
 | 
			
		||||
blur:
 | 
			
		||||
{
 | 
			
		||||
	method = "gaussian";
 | 
			
		||||
	size = 47;
 | 
			
		||||
	deviation = 25.0;
 | 
			
		||||
	method = "dual_kawase";
 | 
			
		||||
	strength = 8;
 | 
			
		||||
};
 | 
			
		||||
blur-background-frame = true;
 | 
			
		||||
blur-background-fixed = true;
 | 
			
		||||
 
 | 
			
		||||
@@ -16,6 +16,7 @@ format-offset  = 0
 | 
			
		||||
screenchange-reload = true
 | 
			
		||||
 | 
			
		||||
[bar/i3bar]
 | 
			
		||||
monitor = ${env:MONITOR:HDMI-0}
 | 
			
		||||
dpi  = ${xrdb:Xft.dpi:96}
 | 
			
		||||
fixed-center = false
 | 
			
		||||
enable-ipc = true
 | 
			
		||||
@@ -45,8 +46,8 @@ line-colour = #f00
 | 
			
		||||
 | 
			
		||||
modules-left = i3
 | 
			
		||||
modules-center =
 | 
			
		||||
# modules-right = volume updates weather xkeyboard wlan eth memory cpu xbacklight battery temperature date
 | 
			
		||||
modules-right = volume updates weather wlan eth memory cpu xbacklight battery temperature date
 | 
			
		||||
# modules-right = volume updates weather xkeyboard wlan gateway eth memory cpu xbacklight battery temperature date
 | 
			
		||||
modules-right = volume updates weather wlan gateway eth memory cpu xbacklight battery temperature date
 | 
			
		||||
 | 
			
		||||
tray-position = right
 | 
			
		||||
tray-detached = false
 | 
			
		||||
@@ -75,6 +76,13 @@ exec = $XDG_CONFIG_HOME/polybar/weather.sh
 | 
			
		||||
interval = 120
 | 
			
		||||
click-left = i3-msg exec "i3-sensible-terminal -r floating-term -e 'sh -c \"xdotool getactivewindow windowsize 910 680 && curl wttr.in && sleep infinity\"'"
 | 
			
		||||
 | 
			
		||||
[module/gateway]
 | 
			
		||||
type = custom/script
 | 
			
		||||
exec = for v in 4 6; do ip -$v r show default | xargs -l1 sh -c 'fping --retry=1 --quiet --iface "$4" "$2"'; done && echo  || echo '%{F#f41f1c}%{F-}'
 | 
			
		||||
interval = 2
 | 
			
		||||
format-prefix = "  "
 | 
			
		||||
format-prefix-foreground = ${colours.icon}
 | 
			
		||||
 | 
			
		||||
[module/xkeyboard]
 | 
			
		||||
type = internal/xkeyboard
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								.config/systemd/user/autocutsel-primary.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.config/systemd/user/autocutsel-primary.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=autocutsel -selection primary
 | 
			
		||||
PartOf=graphical-session.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
ExecStart=/usr/bin/autocutsel -selection PRIMARY
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=graphical-session.target
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										10
									
								
								.config/systemd/user/autocutsel.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.config/systemd/user/autocutsel.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=autocutsel
 | 
			
		||||
PartOf=graphical-session.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
ExecStart=/usr/bin/autocutsel
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=graphical-session.target
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/basic.target.wants/profile.service
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/basic.target.wants/profile.service
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/home/frebib/.config/systemd/user/profile.service
 | 
			
		||||
							
								
								
									
										12
									
								
								.config/systemd/user/blueman-applet.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.config/systemd/user/blueman-applet.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Bluetooth Applet
 | 
			
		||||
After=graphical-session.target bluetooth.service
 | 
			
		||||
Requires=graphical-session.target bluetooth.service
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
ExecStart=/usr/bin/blueman-applet
 | 
			
		||||
Restart=on-failure
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=desktop.target
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/default.target
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/default.target
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/usr/lib/systemd/user/basic.target
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/default.target.wants/dunst.service
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/default.target.wants/dunst.service
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/usr/lib/systemd/user/dunst.service
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/default.target.wants/redshift.service
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/default.target.wants/redshift.service
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/usr/lib/systemd/user/redshift.service
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/desktop.target.wants/blueman-applet.service
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/desktop.target.wants/blueman-applet.service
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/home/frebib/.config/systemd/user/blueman-applet.service
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/desktop.target.wants/dunst.service
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/desktop.target.wants/dunst.service
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/usr/lib/systemd/user/dunst.service
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/desktop.target.wants/nextcloud.service
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/desktop.target.wants/nextcloud.service
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/home/frebib/.config/systemd/user/nextcloud.service
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/desktop.target.wants/picom.service
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/desktop.target.wants/picom.service
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/home/frebib/.config/systemd/user/picom.service
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/desktop.target.wants/polybar@i3bar.service
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/desktop.target.wants/polybar@i3bar.service
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/home/frebib/.config/systemd/user/polybar@.service
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/desktop.target.wants/solaar.service
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/desktop.target.wants/solaar.service
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/home/frebib/.config/systemd/user/solaar.service
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
/usr/lib/systemd/user/xdg-user-dirs-update.service
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
/home/frebib/.config/systemd/user/autocutsel-primary.service
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
/home/frebib/.config/systemd/user/autocutsel.service
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/graphical-session.target.wants/i3.service
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/graphical-session.target.wants/i3.service
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/home/frebib/.config/systemd/user/i3.service
 | 
			
		||||
							
								
								
									
										14
									
								
								.config/systemd/user/i3.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								.config/systemd/user/i3.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=i3 - an improved dynamic, tiling window manager
 | 
			
		||||
Requires=xorg.target
 | 
			
		||||
Before=graphical-session.target
 | 
			
		||||
After=profile.service xprofile.service xorg.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
ExecStart=/usr/bin/i3
 | 
			
		||||
ExecReload=/bin/sh -c 'i3-msg restart; systemctl is-active --user -q picom && systemctl --user restart picom'
 | 
			
		||||
ExecStop=/bin/systemctl --user stop desktop.target
 | 
			
		||||
Restart=always
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=graphical-session.target
 | 
			
		||||
							
								
								
									
										14
									
								
								.config/systemd/user/nextcloud.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								.config/systemd/user/nextcloud.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Nextcloud Client
 | 
			
		||||
Requires=graphical-session.target
 | 
			
		||||
After=graphical-session.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
ExecStart=/usr/bin/nextcloud --background
 | 
			
		||||
ExecReload=/bin/kill -HUP $MAINPID
 | 
			
		||||
KillMode=process
 | 
			
		||||
Restart=on-failure
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=desktop.target
 | 
			
		||||
							
								
								
									
										12
									
								
								.config/systemd/user/picom.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.config/systemd/user/picom.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=A lightweight compositor for X11
 | 
			
		||||
Requires=graphical-session.target
 | 
			
		||||
After=graphical-session.target xorg.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
ExecStart=/usr/bin/picom --experimental-backends --dbus
 | 
			
		||||
Restart=always
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=desktop.target
 | 
			
		||||
							
								
								
									
										12
									
								
								.config/systemd/user/polybar@.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.config/systemd/user/polybar@.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Polybar
 | 
			
		||||
Requires=graphical-session.target
 | 
			
		||||
After=graphical-session.target pulseaudio.socket
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
ExecStart=/usr/bin/polybar --reload --log=warning %i
 | 
			
		||||
Restart=always
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=desktop.target
 | 
			
		||||
							
								
								
									
										10
									
								
								.config/systemd/user/profile.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.config/systemd/user/profile.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Load profile environment into session
 | 
			
		||||
Before=graphical-session-pre.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=oneshot
 | 
			
		||||
ExecStart=/usr/bin/bash -c '. $HOME/.config/dotfiles/.profile && systemctl --user import-environment'
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=basic.target
 | 
			
		||||
@@ -1,5 +1,6 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Lock X LightDM session before sleeping
 | 
			
		||||
Requires=graphical-session.target
 | 
			
		||||
Before=sleep.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
 
 | 
			
		||||
@@ -1 +1 @@
 | 
			
		||||
../sleep-lock-lightdm.service
 | 
			
		||||
/home/frebib/.config/systemd/user/sleep-lock-lightdm.service
 | 
			
		||||
							
								
								
									
										13
									
								
								.config/systemd/user/solaar.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.config/systemd/user/solaar.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Solaar Logitech status applet
 | 
			
		||||
Requires=graphical-session.target
 | 
			
		||||
After=graphical-session.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
ExecStart=/usr/bin/solaar --restart-on-wake-up -d
 | 
			
		||||
KillMode=process
 | 
			
		||||
Restart=on-failure
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=desktop.target
 | 
			
		||||
							
								
								
									
										10
									
								
								.config/systemd/user/xautolock.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.config/systemd/user/xautolock.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=XBindKeys
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
ExecStart=/usr/bin/xautolock -time 1 -locker 'dm-tool switch-to-greeter' -detectsleep -resetsaver -secure
 | 
			
		||||
KillMode=process
 | 
			
		||||
Restart=on-failure
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=graphical-session.target
 | 
			
		||||
							
								
								
									
										11
									
								
								.config/systemd/user/xbindkeys.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.config/systemd/user/xbindkeys.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=XBindKeys
 | 
			
		||||
Requires=profile.service
 | 
			
		||||
After=profile.service
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
ExecStart=/usr/bin/xbindkeys -n -f $XDG_CONFIG_HOME/X11/xbindkeysrc
 | 
			
		||||
KillMode=process
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=graphical-session.target
 | 
			
		||||
							
								
								
									
										3
									
								
								.config/systemd/user/xorg.target
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.config/systemd/user/xorg.target
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Graphical desktop environment
 | 
			
		||||
Requires=basic.target
 | 
			
		||||
							
								
								
									
										1
									
								
								.config/systemd/user/xorg.target.wants/xprofile.service
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.config/systemd/user/xorg.target.wants/xprofile.service
									
									
									
									
									
										Symbolic link
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
/home/frebib/.config/systemd/user/xprofile.service
 | 
			
		||||
							
								
								
									
										13
									
								
								.config/systemd/user/xprofile.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.config/systemd/user/xprofile.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Load Xorg configuration
 | 
			
		||||
PartOf=xorg.target
 | 
			
		||||
Requires=profile.service
 | 
			
		||||
After=xorg.target profile.service
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=oneshot
 | 
			
		||||
RemainAfterExit=yes
 | 
			
		||||
ExecStart=/usr/bin/bash -cx '. $XDG_CONFIG_HOME/X11/xprofile && systemctl --user import-environment'
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=xorg.target
 | 
			
		||||
@@ -18,6 +18,29 @@ if exists tty && tty -s 1>/dev/null 2>/dev/null; then
 | 
			
		||||
    export GPG_TTY="$(tty)"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Configure less and add colours
 | 
			
		||||
export LESS="-RI"
 | 
			
		||||
export PAGER="less"
 | 
			
		||||
export MANPAGER="less -+N"
 | 
			
		||||
# Disable histfile
 | 
			
		||||
export LESSHISTFILE=-
 | 
			
		||||
 | 
			
		||||
if exists tput; then
 | 
			
		||||
    export LESS_TERMCAP_mb=$(tput bold; tput setaf 2) # green
 | 
			
		||||
    export LESS_TERMCAP_md=$(tput bold; tput setaf 6) # cyan
 | 
			
		||||
    export LESS_TERMCAP_me=$(tput sgr0)
 | 
			
		||||
    export LESS_TERMCAP_so=$(tput bold; tput setaf 4) # blue
 | 
			
		||||
    export LESS_TERMCAP_se=$(tput rmso; tput sgr0)
 | 
			
		||||
    export LESS_TERMCAP_us=$(tput smul; tput bold; tput setaf 7) # white
 | 
			
		||||
    export LESS_TERMCAP_ue=$(tput rmul; tput sgr0)
 | 
			
		||||
    export LESS_TERMCAP_mr=$(tput rev)
 | 
			
		||||
    export LESS_TERMCAP_mh=$(tput dim)
 | 
			
		||||
    export LESS_TERMCAP_ZN=$(tput ssubm)
 | 
			
		||||
    export LESS_TERMCAP_ZV=$(tput rsubm)
 | 
			
		||||
    export LESS_TERMCAP_ZO=$(tput ssupm)
 | 
			
		||||
    export LESS_TERMCAP_ZW=$(tput rsupm)
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Set some useful ZSH/Bash options
 | 
			
		||||
setopt sharehistory histignorealldups histignorespace histreduceblanks
 | 
			
		||||
setopt pathdirs autocd autopushd extendedglob nullglob alwaystoend interactivecomments dvorak
 | 
			
		||||
@@ -57,7 +80,6 @@ source "$antigen_src"
 | 
			
		||||
 | 
			
		||||
antigen bundle zsh-users/zsh-completions
 | 
			
		||||
antigen bundle zsh-users/zsh-autosuggestions
 | 
			
		||||
antigen bundle zsh-users/zsh-history-substring-search
 | 
			
		||||
antigen bundle zsh-users/zsh-syntax-highlighting@feature/redrawhook
 | 
			
		||||
antigen bundle mafredri/zsh-async
 | 
			
		||||
 | 
			
		||||
@@ -81,8 +103,6 @@ bindkey '^[^[[3^' x-bash-backward-kill-word
 | 
			
		||||
bindkey '^[[A' fzf-history-widget                   # Up (fzf)
 | 
			
		||||
bindkey '^[[B' fzf-history-widget                   # Down (fzf)
 | 
			
		||||
bindkey '^F'   fzf-file-widget                      # Ctrl+F file search (fzf)
 | 
			
		||||
bindkey '^[[1;3A' history-substring-search-up       # Alt+Up (hsh)
 | 
			
		||||
bindkey '^[[1;3B' history-substring-search-down     # Alt+Down (hsh)
 | 
			
		||||
 | 
			
		||||
bindkey "^V" edit-command-line
 | 
			
		||||
bindkey -M vicmd "^V" edit-command-line
 | 
			
		||||
@@ -98,12 +118,8 @@ bindkey -M vicmd l vi-repeat-search
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
ZSH_AUTOSUGGEST_USE_ASYNC=true
 | 
			
		||||
ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=128
 | 
			
		||||
ZSH_AUTOSUGGEST_CLEAR_WIDGETS=("${(@)ZSH_AUTOSUGGEST_CLEAR_WIDGETS:#(up|down)-line-or-history}")
 | 
			
		||||
ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(history-substring-search-up history-substring-search-down)
 | 
			
		||||
 | 
			
		||||
HISTORY_SUBSTRING_SEARCH_FUZZY=true
 | 
			
		||||
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=true
 | 
			
		||||
HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND='underline'
 | 
			
		||||
 | 
			
		||||
default='fg=12'
 | 
			
		||||
prog='fg=blue'
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -1,6 +1,10 @@
 | 
			
		||||
bookmarks
 | 
			
		||||
.config/secrets
 | 
			
		||||
 | 
			
		||||
.config/gtk-2.0/gtkfilechooser.ini
 | 
			
		||||
.config/imgur-screenshot/credentials.conf
 | 
			
		||||
.config/mailnag/mailnag.dat
 | 
			
		||||
.config/zsh/.zshrc.zwc
 | 
			
		||||
 | 
			
		||||
*.log
 | 
			
		||||
.xournal/recent-files
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										33
									
								
								.profile
									
									
									
									
									
								
							
							
						
						
									
										33
									
								
								.profile
									
									
									
									
									
								
							@@ -43,41 +43,14 @@ export PATH="${PATH}:/sbin:/usr/sbin:$DOTFILES/scripts:$GOPATH/bin"
 | 
			
		||||
 | 
			
		||||
exists() { which $@ 0<&- 1>/dev/null 2>/dev/null; }
 | 
			
		||||
 | 
			
		||||
# Configure less and add colours
 | 
			
		||||
export LESS="-RI"
 | 
			
		||||
export PAGER="less"
 | 
			
		||||
export MANPAGER="less -+N"
 | 
			
		||||
# Disable histfile
 | 
			
		||||
export LESSHISTFILE=-
 | 
			
		||||
 | 
			
		||||
if exists tput; then
 | 
			
		||||
    export LESS_TERMCAP_mb=$(tput bold; tput setaf 2) # green
 | 
			
		||||
    export LESS_TERMCAP_md=$(tput bold; tput setaf 6) # cyan
 | 
			
		||||
    export LESS_TERMCAP_me=$(tput sgr0)
 | 
			
		||||
    export LESS_TERMCAP_so=$(tput bold; tput setaf 4) # blue
 | 
			
		||||
    export LESS_TERMCAP_se=$(tput rmso; tput sgr0)
 | 
			
		||||
    export LESS_TERMCAP_us=$(tput smul; tput bold; tput setaf 7) # white
 | 
			
		||||
    export LESS_TERMCAP_ue=$(tput rmul; tput sgr0)
 | 
			
		||||
    export LESS_TERMCAP_mr=$(tput rev)
 | 
			
		||||
    export LESS_TERMCAP_mh=$(tput dim)
 | 
			
		||||
    export LESS_TERMCAP_ZN=$(tput ssubm)
 | 
			
		||||
    export LESS_TERMCAP_ZV=$(tput rsubm)
 | 
			
		||||
    export LESS_TERMCAP_ZO=$(tput ssupm)
 | 
			
		||||
    export LESS_TERMCAP_ZW=$(tput rsupm)
 | 
			
		||||
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && exists dbus-launch; then
 | 
			
		||||
    eval $(dbus-launch --sh-syntax --exit-with-session)
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Execute this after updating dbus/systemd environment
 | 
			
		||||
# Source secret keys and values into environment
 | 
			
		||||
if [ -f "$XDG_CONFIG_HOME/secrets" ]; then
 | 
			
		||||
    set -o allexport
 | 
			
		||||
    source $XDG_CONFIG_HOME/secrets
 | 
			
		||||
    set +o allexport
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Start a dbus session daemon for programs that require it
 | 
			
		||||
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && exists dbus-launch; then
 | 
			
		||||
    eval $(dbus-launch --sh-syntax --exit-with-session)
 | 
			
		||||
    dbus-update-activation-environment --systemd \
 | 
			
		||||
        DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY \
 | 
			
		||||
        XDG_SEAT_PATH
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										19
									
								
								aliases
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								aliases
									
									
									
									
									
								
							@@ -105,7 +105,9 @@ mcd(){ mkdir -p -- $@ && cd -- $@; }
 | 
			
		||||
randstr() { tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w $1 | head -n 1; }
 | 
			
		||||
 | 
			
		||||
# System aliases
 | 
			
		||||
alias s="sudo systemctl"
 | 
			
		||||
alias sc="systemctl"
 | 
			
		||||
alias ssc="sudo systemctl"
 | 
			
		||||
alias scu="systemctl --user"
 | 
			
		||||
alias j=journalctl
 | 
			
		||||
alias ps='ps aux'
 | 
			
		||||
alias catn='tail -n +1 --'
 | 
			
		||||
@@ -154,16 +156,19 @@ alias gpall="git remote | xargs -L1 git push"
 | 
			
		||||
alias gl="git pull --rebase"
 | 
			
		||||
alias glp="gl && gp"
 | 
			
		||||
alias gd="git diff --patch-with-stat"
 | 
			
		||||
alias gdni="gd --no-index"
 | 
			
		||||
alias gds="gd --staged"
 | 
			
		||||
alias gsh="git show --format=full --patch-with-stat"
 | 
			
		||||
alias glg="git log --format=full --stat --color"
 | 
			
		||||
alias glog="git log --oneline --decorate --color --graph"
 | 
			
		||||
alias gsh="git show --format=fuller --patch-with-stat"
 | 
			
		||||
alias glg="git log --color --format=fuller --stat"
 | 
			
		||||
alias glgp="git log --color --format=fuller --patch-with-stat"
 | 
			
		||||
alias glog="git log --color --oneline --decorate --graph"
 | 
			
		||||
 | 
			
		||||
alias grst="git reset"
 | 
			
		||||
alias gundo="git reset @~1"
 | 
			
		||||
alias gundo="git reset --keep @~1"
 | 
			
		||||
alias gclean="git clean"
 | 
			
		||||
alias gbr="git branch"
 | 
			
		||||
alias gtg="git tag"
 | 
			
		||||
alias gbl="git blame"
 | 
			
		||||
alias gr="git remote"
 | 
			
		||||
alias grv="git remote -v"
 | 
			
		||||
alias gra="gr add"
 | 
			
		||||
@@ -287,8 +292,8 @@ alias xinitrc="$EDITOR $XDG_CONFIG_HOME/X11/xinitrc"
 | 
			
		||||
alias xresources="$EDITOR $XDG_CONFIG_HOME/X11/xresources ; xrdb merge $XDG_CONFIG_HOME/X11/xresources"
 | 
			
		||||
alias sshc="$EDITOR ~/.ssh/config"
 | 
			
		||||
alias dotfiles="cd $DOTFILES"
 | 
			
		||||
alias i3c="$EDITOR $XDG_CONFIG_HOME/i3/config ; i3-msg restart"
 | 
			
		||||
alias polybarc="$EDITOR $XDG_CONFIG_HOME/polybar/config; killall -q polybar; while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done; exec polybar -r i3bar"
 | 
			
		||||
alias i3c="$EDITOR $XDG_CONFIG_HOME/i3/config; systemctl --user reload i3"
 | 
			
		||||
alias polybarc="$EDITOR $XDG_CONFIG_HOME/polybar/config; systemctl --user restart polybar@i3bar"
 | 
			
		||||
 | 
			
		||||
alias sf=screenfetch
 | 
			
		||||
alias nf=neofetch
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user