Compare commits
23 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
94fcdb812c | ||
|
84f9bf297f | ||
|
fa7041ff8b | ||
|
f68b89be0f | ||
|
1c449f436a | ||
|
b0933f7e42 | ||
|
bc1b20a0aa | ||
|
7ec07febf3 | ||
|
f395ed8f03 | ||
|
d1067cbb00 | ||
|
e813bc26e6 | ||
|
1f613497fb | ||
|
d77bd51746 | ||
|
651fc3426e | ||
|
bef862a0b1 | ||
|
3eb127c65c | ||
|
468fa01fa2 | ||
|
c3064a3d76 | ||
|
10dc194dc6 | ||
|
2574a62403 | ||
|
97566eccc6 | ||
|
d63f2adf19 | ||
|
fd2ca33e0d |
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -11,3 +11,6 @@
|
|||||||
[submodule "i3/.config/i3/i3blocks-contrib"]
|
[submodule "i3/.config/i3/i3blocks-contrib"]
|
||||||
path = i3/.config/i3/i3blocks-contrib
|
path = i3/.config/i3/i3blocks-contrib
|
||||||
url = https://github.com/vivien/i3blocks-contrib.git
|
url = https://github.com/vivien/i3blocks-contrib.git
|
||||||
|
[submodule "zsh/.zprezto-contrib/fzf-z"]
|
||||||
|
path = zsh/.zprezto-contrib/fzf-z
|
||||||
|
url = git@github.com:andrewferrier/fzf-z.git
|
||||||
|
@@ -24,3 +24,9 @@ fi
|
|||||||
if [ -f $HOME/.Xmodmap ]; then
|
if [ -f $HOME/.Xmodmap ]; then
|
||||||
/usr/bin/xmodmap $HOME/.Xmodmap 2>/dev/null &
|
/usr/bin/xmodmap $HOME/.Xmodmap 2>/dev/null &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
#https://superuser.com/questions/114895/improve-man-page-search/114903#114903
|
||||||
|
# saner defaults for LESS (and bat)
|
||||||
|
export LESS="-iMRj4a"
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
@@ -2,6 +2,8 @@
|
|||||||
setxkbmap "us,es" "altgr-intl," -option "ctrl:nocaps,grp:shift_toggle,terminate:ctrl_alt_bksp"
|
setxkbmap "us,es" "altgr-intl," -option "ctrl:nocaps,grp:shift_toggle,terminate:ctrl_alt_bksp"
|
||||||
#xmodmap ~/.Xmodmap
|
#xmodmap ~/.Xmodmap
|
||||||
#source ~/.xinitrc
|
#source ~/.xinitrc
|
||||||
export XTERMINAL=termite
|
export XTERMINAL=alacritty
|
||||||
export TERMINAL=termite
|
export TERMINAL=alacritty
|
||||||
export TERMCMD=termite
|
export TERMCMD=alacritty
|
||||||
|
export BROWSER2=chromium
|
||||||
|
export BROWSER=firefox
|
||||||
|
83
alacritty/.config/alacritty/alacritty.toml
Normal file
83
alacritty/.config/alacritty/alacritty.toml
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
[window]
|
||||||
|
[window.padding]
|
||||||
|
x = 15
|
||||||
|
y = 15
|
||||||
|
|
||||||
|
[font]
|
||||||
|
[font.normal]
|
||||||
|
family = "IosevkaTerm"
|
||||||
|
style = "Regular"
|
||||||
|
|
||||||
|
[shell]
|
||||||
|
program = "tmux"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Return"
|
||||||
|
mods = "Control|Shift"
|
||||||
|
action = "SpawnNewInstance"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "V"
|
||||||
|
mods = "Control|Shift"
|
||||||
|
action = "Paste"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "C"
|
||||||
|
mods = "Control|Shift"
|
||||||
|
action = "Copy"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Insert"
|
||||||
|
mods = "Shift"
|
||||||
|
action = "PasteSelection"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Key0"
|
||||||
|
mods = "Control"
|
||||||
|
action = "ResetFontSize"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Equals"
|
||||||
|
mods = "Control"
|
||||||
|
action = "IncreaseFontSize"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Plus"
|
||||||
|
mods = "Control"
|
||||||
|
action = "IncreaseFontSize"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Minus"
|
||||||
|
mods = "Control"
|
||||||
|
action = "DecreaseFontSize"
|
||||||
|
|
||||||
|
[[key_bindings]]
|
||||||
|
key = "Minus"
|
||||||
|
mods = "Control"
|
||||||
|
action = "DecreaseFontSize"
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
[colors.primary]
|
||||||
|
background = "0x1d1f21"
|
||||||
|
foreground = "0xc5c8c6"
|
||||||
|
[colors.cursor]
|
||||||
|
text = "0x1d1f21"
|
||||||
|
cursor = "0xc5c8c6"
|
||||||
|
[colors.normal]
|
||||||
|
black = "0x1d1f21"
|
||||||
|
red = "0xcc6666"
|
||||||
|
green = "0xb5bd68"
|
||||||
|
yellow = "0xf0c674"
|
||||||
|
blue = "0x81a2be"
|
||||||
|
magenta = "0xb294bb"
|
||||||
|
cyan = "0x8abeb7"
|
||||||
|
white = "0xc5c8c6"
|
||||||
|
[colors.bright]
|
||||||
|
black = "0x969896"
|
||||||
|
red = "0xde935f"
|
||||||
|
green = "0x282a2e"
|
||||||
|
yellow = "0x373b41"
|
||||||
|
blue = "0xb4b7b4"
|
||||||
|
magenta = "0xe0e0e0"
|
||||||
|
cyan = "0xa3685a"
|
||||||
|
white = "0xffffff"
|
635
alacritty/.config/alacritty/alacritty.yml
Normal file
635
alacritty/.config/alacritty/alacritty.yml
Normal file
@@ -0,0 +1,635 @@
|
|||||||
|
# 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.
|
||||||
|
#env:
|
||||||
|
# TERM variable
|
||||||
|
#
|
||||||
|
# This value is used to set the `$TERM` environment variable for
|
||||||
|
# each instance of Alacritty. If it is not present, alacritty will
|
||||||
|
# check the local terminfo database and use `alacritty` if it is
|
||||||
|
# available, otherwise `xterm-256color` is used.
|
||||||
|
#TERM: alacritty
|
||||||
|
|
||||||
|
window:
|
||||||
|
# Window dimensions (changes require restart)
|
||||||
|
#
|
||||||
|
# Specified in number of columns/lines, not pixels.
|
||||||
|
# If both are `0`, this setting is ignored.
|
||||||
|
#dimensions:
|
||||||
|
# columns: 0
|
||||||
|
# lines: 0
|
||||||
|
|
||||||
|
# Window position (changes require restart)
|
||||||
|
#
|
||||||
|
# Specified in number of pixels.
|
||||||
|
# If the position is not set, the window manager will handle the placement.
|
||||||
|
#position:
|
||||||
|
# x: 0
|
||||||
|
# y: 0
|
||||||
|
|
||||||
|
# Window padding (changes require restart)
|
||||||
|
#
|
||||||
|
# Blank space added around the window in pixels. This padding is scaled
|
||||||
|
# by DPI and the specified value is always added at both opposing sides.
|
||||||
|
padding:
|
||||||
|
x: 15
|
||||||
|
y: 15
|
||||||
|
|
||||||
|
# Spread additional padding evenly around the terminal content.
|
||||||
|
#dynamic_padding: false
|
||||||
|
|
||||||
|
# Window decorations
|
||||||
|
#
|
||||||
|
# Values for `decorations`:
|
||||||
|
# - full: Borders and title bar
|
||||||
|
# - none: Neither borders nor title bar
|
||||||
|
#
|
||||||
|
# Values for `decorations` (macOS only):
|
||||||
|
# - transparent: Title bar, transparent background and title bar buttons
|
||||||
|
# - buttonless: Title bar, transparent background, but no title bar buttons
|
||||||
|
#decorations: full
|
||||||
|
|
||||||
|
# Startup Mode (changes require restart)
|
||||||
|
#
|
||||||
|
# Values for `startup_mode`:
|
||||||
|
# - Windowed
|
||||||
|
# - Maximized
|
||||||
|
# - Fullscreen
|
||||||
|
#
|
||||||
|
# Values for `startup_mode` (macOS only):
|
||||||
|
# - 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.
|
||||||
|
#history: 10000
|
||||||
|
|
||||||
|
# Number of lines the viewport will move for every line scrolled when
|
||||||
|
# scrollback is enabled (history > 0).
|
||||||
|
#multiplier: 3
|
||||||
|
|
||||||
|
# Font configuration
|
||||||
|
font:
|
||||||
|
# Normal (roman) font face
|
||||||
|
normal:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# - (macOS) Menlo
|
||||||
|
# - (Linux/BSD) monospace
|
||||||
|
# - (Windows) Consolas
|
||||||
|
# family: Hack Nerd Font
|
||||||
|
# family: DejaVuSansM Nerd Font
|
||||||
|
# family: FiraCode Nerd Font
|
||||||
|
# family: IosevkaTerm Nerd Font
|
||||||
|
family: CaskaydiaCove NFM
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
style: Regular
|
||||||
|
|
||||||
|
# Bold font face
|
||||||
|
#bold:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# If the bold family is not specified, it will fall back to the
|
||||||
|
# value specified for the normal font.
|
||||||
|
#family: monospace
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
#style: Bold
|
||||||
|
|
||||||
|
# Italic font face
|
||||||
|
#italic:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# If the italic family is not specified, it will fall back to the
|
||||||
|
# value specified for the normal font.
|
||||||
|
#family: monospace
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
#style: Italic
|
||||||
|
|
||||||
|
# Bold italic font face
|
||||||
|
#bold_italic:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# If the bold italic family is not specified, it will fall back to the
|
||||||
|
# value specified for the normal font.
|
||||||
|
#family: monospace
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
#style: Bold Italic
|
||||||
|
|
||||||
|
# Point size
|
||||||
|
#size: 11.0
|
||||||
|
|
||||||
|
# Offset is the extra space around each character. `offset.y` can be thought of
|
||||||
|
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
||||||
|
#offset:
|
||||||
|
# x: 0
|
||||||
|
# y: 0
|
||||||
|
|
||||||
|
# Glyph offset determines the locations of the glyphs within their cells with
|
||||||
|
# the default being at the bottom. Increasing `x` moves the glyph to the right,
|
||||||
|
# increasing `y` moves the glyph upwards.
|
||||||
|
#glyph_offset:
|
||||||
|
# x: 0
|
||||||
|
# y: 0
|
||||||
|
|
||||||
|
# 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: false
|
||||||
|
|
||||||
|
# Colors (Tomorrow Night Bright)
|
||||||
|
#colors:
|
||||||
|
# Default colors
|
||||||
|
#primary:
|
||||||
|
# background: '#000000'
|
||||||
|
# foreground: '#eaeaea'
|
||||||
|
|
||||||
|
# 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: '#9a9a9a'
|
||||||
|
#bright_foreground: '#ffffff'
|
||||||
|
|
||||||
|
# Cursor colors
|
||||||
|
#
|
||||||
|
# Colors which should be used to draw the terminal cursor. If these are unset,
|
||||||
|
# the cursor color will be the inverse of the cell color.
|
||||||
|
#cursor:
|
||||||
|
# text: '#000000'
|
||||||
|
# cursor: '#ffffff'
|
||||||
|
|
||||||
|
# Selection colors
|
||||||
|
#
|
||||||
|
# Colors which should be used to draw the selection area. If selection
|
||||||
|
# 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:
|
||||||
|
# text: '#eaeaea'
|
||||||
|
# background: '#404040'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
#normal:
|
||||||
|
# black: '#000000'
|
||||||
|
# red: '#d54e53'
|
||||||
|
# green: '#b9ca4a'
|
||||||
|
# yellow: '#e6c547'
|
||||||
|
# blue: '#7aa6da'
|
||||||
|
# magenta: '#c397d8'
|
||||||
|
# cyan: '#70c0ba'
|
||||||
|
# white: '#eaeaea'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
#bright:
|
||||||
|
# black: '#666666'
|
||||||
|
# red: '#ff3334'
|
||||||
|
# green: '#9ec400'
|
||||||
|
# yellow: '#e7c547'
|
||||||
|
# blue: '#7aa6da'
|
||||||
|
# magenta: '#b77ee0'
|
||||||
|
# cyan: '#54ced6'
|
||||||
|
# white: '#ffffff'
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# `- { index: 16, color: '#ff00ff' }`
|
||||||
|
#
|
||||||
|
#indexed_colors: []
|
||||||
|
|
||||||
|
# Visual Bell
|
||||||
|
#
|
||||||
|
# Any time the BEL code is received, Alacritty "rings" the visual bell. Once
|
||||||
|
# rung, the terminal background will be set to white and transition back to the
|
||||||
|
# default background color. You can control the rate of this transition by
|
||||||
|
# setting the `duration` property (represented in milliseconds). You can also
|
||||||
|
# configure the transition function by setting the `animation` property.
|
||||||
|
#
|
||||||
|
# Values for `animation`:
|
||||||
|
# - Ease
|
||||||
|
# - EaseOut
|
||||||
|
# - EaseOutSine
|
||||||
|
# - EaseOutQuad
|
||||||
|
# - EaseOutCubic
|
||||||
|
# - EaseOutQuart
|
||||||
|
# - EaseOutQuint
|
||||||
|
# - EaseOutExpo
|
||||||
|
# - EaseOutCirc
|
||||||
|
# - Linear
|
||||||
|
#
|
||||||
|
# Specifying a `duration` of `0` will disable the visual bell.
|
||||||
|
#visual_bell:
|
||||||
|
# animation: EaseOutExpo
|
||||||
|
# duration: 0
|
||||||
|
# color: '#ffffff'
|
||||||
|
|
||||||
|
# Background opacity
|
||||||
|
#
|
||||||
|
# Window opacity as a floating point number from `0.0` to `1.0`.
|
||||||
|
# The value `0.0` is completely transparent and `1.0` is opaque.
|
||||||
|
#background_opacity: 1.0
|
||||||
|
|
||||||
|
#selection:
|
||||||
|
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
||||||
|
|
||||||
|
# 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`:
|
||||||
|
# - ▇ Block
|
||||||
|
# - _ Underline
|
||||||
|
# - | Beam
|
||||||
|
#style: Block
|
||||||
|
|
||||||
|
# If this is `true`, the cursor will be rendered as a hollow box when the
|
||||||
|
# window is not focused.
|
||||||
|
#unfocused_hollow: true
|
||||||
|
|
||||||
|
# Live config reload (changes require restart)
|
||||||
|
#live_config_reload: true
|
||||||
|
|
||||||
|
# Shell
|
||||||
|
#
|
||||||
|
# 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: tmux
|
||||||
|
# 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. For example, this is the
|
||||||
|
# default paste binding:
|
||||||
|
#
|
||||||
|
# `- { key: V, mods: Control|Shift, action: Paste }`
|
||||||
|
#
|
||||||
|
# Each key binding will specify a:
|
||||||
|
#
|
||||||
|
# - `key`: Identifier of the key pressed
|
||||||
|
#
|
||||||
|
# - A-Z
|
||||||
|
# - F1-F24
|
||||||
|
# - Key0-Key9
|
||||||
|
#
|
||||||
|
# A full list with available key codes can be found here:
|
||||||
|
# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
|
||||||
|
#
|
||||||
|
# Instead of using the name of the keys, the `key` field also supports using
|
||||||
|
# the scancode of the desired key. Scancodes have to be specified as a
|
||||||
|
# decimal number. This command will allow you to display the hex scancodes
|
||||||
|
# for certain keys:
|
||||||
|
#
|
||||||
|
# `showkey --scancodes`.
|
||||||
|
#
|
||||||
|
# Then exactly one of:
|
||||||
|
#
|
||||||
|
# - `chars`: Send a byte sequence to the running application
|
||||||
|
#
|
||||||
|
# The `chars` field writes the specified string to the terminal. This makes
|
||||||
|
# it possible to pass escape sequences. To find escape codes for bindings
|
||||||
|
# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside
|
||||||
|
# of tmux. Note that applications use terminfo to map escape sequences back
|
||||||
|
# to keys. It is therefore required to update the terminfo when changing an
|
||||||
|
# escape sequence.
|
||||||
|
#
|
||||||
|
# - `action`: Execute a predefined action
|
||||||
|
#
|
||||||
|
# - Copy
|
||||||
|
# - Paste
|
||||||
|
# - PasteSelection
|
||||||
|
# - IncreaseFontSize
|
||||||
|
# - DecreaseFontSize
|
||||||
|
# - ResetFontSize
|
||||||
|
# - ScrollPageUp
|
||||||
|
# - ScrollPageDown
|
||||||
|
# - ScrollLineUp
|
||||||
|
# - ScrollLineDown
|
||||||
|
# - ScrollToTop
|
||||||
|
# - ScrollToBottom
|
||||||
|
# - ClearHistory
|
||||||
|
# - Hide
|
||||||
|
# - Minimize
|
||||||
|
# - Quit
|
||||||
|
# - ToggleFullscreen
|
||||||
|
# - SpawnNewInstance
|
||||||
|
# - ClearLogNotice
|
||||||
|
# - ReceiveChar
|
||||||
|
# - None
|
||||||
|
#
|
||||||
|
# (macOS only):
|
||||||
|
# - ToggleSimpleFullscreen: Enters fullscreen without occupying another space
|
||||||
|
#
|
||||||
|
# - `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:
|
||||||
|
# (Windows, Linux, and BSD only)
|
||||||
|
- { key: Return, mods: Control|Shift, action: SpawnNewInstance }
|
||||||
|
- { 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: IncreaseFontSize }
|
||||||
|
- { key: Plus, mods: Control, action: IncreaseFontSize }
|
||||||
|
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||||
|
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||||
|
|
||||||
|
# (Windows only)
|
||||||
|
#- { key: Return, mods: Alt, action: ToggleFullscreen }
|
||||||
|
|
||||||
|
# (macOS only)
|
||||||
|
#- { 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: K, mods: Command, chars: "\x0c" }
|
||||||
|
#- { 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: F, mods: Command|Control, action: ToggleFullscreen }
|
||||||
|
|
||||||
|
#- { key: Paste, action: Paste }
|
||||||
|
#- { key: Copy, action: Copy }
|
||||||
|
#- { key: L, mods: Control, action: ClearLogNotice }
|
||||||
|
#- { key: L, mods: Control, chars: "\x0c" }
|
||||||
|
#- { key: PageUp, mods: Shift, action: ScrollPageUp, mode: ~Alt }
|
||||||
|
#- { key: PageDown, mods: Shift, action: ScrollPageDown, mode: ~Alt }
|
||||||
|
#- { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt }
|
||||||
|
#- { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt }
|
||||||
|
|
||||||
|
#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: Warn
|
||||||
|
|
||||||
|
# Print all received window events.
|
||||||
|
#print_events: false
|
||||||
|
|
||||||
|
# Base16-tomorrow-night
|
||||||
|
colors:
|
||||||
|
# Default colors
|
||||||
|
primary:
|
||||||
|
background: '0x1d1f21'
|
||||||
|
foreground: '0xc5c8c6'
|
||||||
|
|
||||||
|
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||||
|
cursor:
|
||||||
|
text: '0x1d1f21'
|
||||||
|
cursor: '0xc5c8c6'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
normal:
|
||||||
|
black: '0x1d1f21'
|
||||||
|
red: '0xcc6666'
|
||||||
|
green: '0xb5bd68'
|
||||||
|
yellow: '0xf0c674'
|
||||||
|
blue: '0x81a2be'
|
||||||
|
magenta: '0xb294bb'
|
||||||
|
cyan: '0x8abeb7'
|
||||||
|
white: '0xc5c8c6'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
bright:
|
||||||
|
black: '0x969896'
|
||||||
|
red: '0xde935f'
|
||||||
|
green: '0x282a2e'
|
||||||
|
yellow: '0x373b41'
|
||||||
|
blue: '0xb4b7b4'
|
||||||
|
magenta: '0xe0e0e0'
|
||||||
|
cyan: '0xa3685a'
|
||||||
|
white: '0xffffff'
|
||||||
|
|
||||||
|
#draw_bold_text_with_bright_colors: true
|
||||||
|
|
||||||
|
|
||||||
|
## base16-Atelier-dune
|
||||||
|
#colors:
|
||||||
|
# # Default colors
|
||||||
|
# primary:
|
||||||
|
# background: '0x20201d'
|
||||||
|
# foreground: '0xa6a28c'
|
||||||
|
# # Colors the cursor will use if `custom_cursor_colors` is true
|
||||||
|
# cursor:
|
||||||
|
# text: '0x20201d'
|
||||||
|
# cursor: '0xa6a28c'
|
||||||
|
# # Normal colors
|
||||||
|
# normal:
|
||||||
|
# black: '0x20201d'
|
||||||
|
# red: '0xd73737'
|
||||||
|
# green: '0x60ac39'
|
||||||
|
# yellow: '0xae9513'
|
||||||
|
# blue: '0x6684e1'
|
||||||
|
# magenta: '0xb854d4'
|
||||||
|
# cyan: '0x1fad83'
|
||||||
|
# white: '0xa6a28c'
|
||||||
|
# # Bright colors
|
||||||
|
# bright:
|
||||||
|
# black: '0x7d7a68'
|
||||||
|
# red: '0xb65611'
|
||||||
|
# green: '0x292824'
|
||||||
|
# yellow: '0x6e6b5e'
|
||||||
|
# blue: '0x999580'
|
||||||
|
# magenta: '0xe8e4cf'
|
||||||
|
# cyan: '0xd43552'
|
||||||
|
# white: '0xfefbec'
|
||||||
|
#draw_bold_text_with_bright_colors: false
|
@@ -28,7 +28,7 @@
|
|||||||
[shortcuts]
|
[shortcuts]
|
||||||
close = ctrl+space
|
close = ctrl+space
|
||||||
close_all = ctrl+shift+space
|
close_all = ctrl+shift+space
|
||||||
history = ctrl+grave
|
#history = ctrl+grave
|
||||||
context = ctrl+shift+period
|
context = ctrl+shift+period
|
||||||
|
|
||||||
[urgency_low]
|
[urgency_low]
|
@@ -1,399 +0,0 @@
|
|||||||
;; -*- mode: emacs-lisp -*-
|
|
||||||
;; This file is loaded by Spacemacs at startup.
|
|
||||||
;; It must be stored in your home directory.
|
|
||||||
|
|
||||||
(defun dotspacemacs/layers ()
|
|
||||||
"Configuration Layers declaration.
|
|
||||||
You should not put any user code in this function besides modifying the variable
|
|
||||||
values."
|
|
||||||
(setq-default
|
|
||||||
;; Base distribution to use. This is a layer contained in the directory
|
|
||||||
;; `+distribution'. For now available distributions are `spacemacs-base'
|
|
||||||
;; or `spacemacs'. (default 'spacemacs)
|
|
||||||
dotspacemacs-distribution 'spacemacs
|
|
||||||
;; Lazy installation of layers (i.e. layers are installed only when a file
|
|
||||||
Podéis tomarOSddjk with a supported type is opened). Possible values are `all', `unused'
|
|
||||||
;; and `nil'. `unuemacs do not wrap linessed' will lazy install only unused layers (i.e. layers
|
|
||||||
;; not listed in variable `dotspacemacs-configuration-layers'), `all' will
|
|
||||||
;; lazy install any layer that support lazy installation even the layers
|
|
||||||
;; listed in `dotspacemacs-configuration-layers'. `nil' disable the lazy
|
|
||||||
;; installation feature and you have to explicitly list a layer in the
|
|
||||||
;; variable `dotspacemacs-configuration-layers' to install it.
|
|
||||||
;; (default 'unused)
|
|
||||||
dotspacemacs-enable-lazy-installation 'unused
|
|
||||||
;; If non-nil then Spacemacs will ask for confirmation before installing
|
|
||||||
;; a layer lazily. (default t)
|
|
||||||
dotspacemacs-ask-for-lazy-installation t
|
|
||||||
;; If non-nil layers with lazy install support are lazy installed.
|
|
||||||
;; List of additional paths where to look for configuration layers.
|
|
||||||
;; Paths must have a trailing slash (i.e. `~/.mycontribs/')
|
|
||||||
dotspacemacs-configuration-layer-path '()
|
|
||||||
;; List of configuration layers to load.
|
|
||||||
dotspacemacs-configuration-layers
|
|
||||||
'(
|
|
||||||
go
|
|
||||||
clojure
|
|
||||||
nginx
|
|
||||||
csv
|
|
||||||
javascript
|
|
||||||
yaml
|
|
||||||
html
|
|
||||||
python
|
|
||||||
(go :variables
|
|
||||||
gofmt-command "goimports"
|
|
||||||
)
|
|
||||||
;; ----------------------------------------------------------------
|
|
||||||
;; Example of useful layers you may want to use right away.
|
|
||||||
;; Uncomment some layer names and press <SPC f e R> (Vim style) or
|
|
||||||
;; <M-m f e R> (Emacs style) to install them.
|
|
||||||
;; ----------------------------------------------------------------
|
|
||||||
helm
|
|
||||||
(auto-completion :variables
|
|
||||||
auto-completion-return-key-behavior 'complete
|
|
||||||
auto-completion-tab-key-behavior 'cycle
|
|
||||||
auto-completion-complete-with-key-sequence nil
|
|
||||||
auto-completion-complete-with-key-sequence-delay 0.1
|
|
||||||
auto-completion-private-snippets-directory nil)
|
|
||||||
|
|
||||||
;; better-defaults
|
|
||||||
emacs-lisp
|
|
||||||
git
|
|
||||||
latex
|
|
||||||
markdown
|
|
||||||
org
|
|
||||||
themes-megapack
|
|
||||||
(shell :variables
|
|
||||||
shell-default-height 30
|
|
||||||
shell-default-position 'bottom)
|
|
||||||
spell-checking
|
|
||||||
syntax-checking
|
|
||||||
version-control
|
|
||||||
yaml
|
|
||||||
)
|
|
||||||
;; List of additional packages that will be installed without being
|
|
||||||
;; wrapped in a layer. If you need some configuration for these
|
|
||||||
;; packages, then consider creating a layer. You can also put the
|
|
||||||
;; configuration in `dotspacemacs/user-config'.
|
|
||||||
dotspacemacs-additional-packages '()
|
|
||||||
;; A list of packages that cannot be updated.
|
|
||||||
dotspacemacs-frozen-packages '()
|
|
||||||
;; A list of packages that will not be installed and loaded.
|
|
||||||
dotspacemacs-excluded-packages '()
|
|
||||||
;; Defines the behaviour of Spacemacs when installing packages.
|
|
||||||
;; Possible values are `used-only', `used-but-keep-unused' and `all'.
|
|
||||||
;; `used-only' installs only explicitly used packages and uninstall any
|
|
||||||
;; unused packages as well as their unused dependencies.
|
|
||||||
;; `used-but-keep-unused' installs only the used packages but won't uninstall
|
|
||||||
;; them if they become unused. `all' installs *all* packages supported by
|
|
||||||
;; Spacemacs and never uninstall them. (default is `used-only')
|
|
||||||
dotspacemacs-install-packages 'used-only))
|
|
||||||
|
|
||||||
(defun dotspacemacs/init ()
|
|
||||||
"Initialization function.
|
|
||||||
This function is called at the very startup of Spacemacs initialization
|
|
||||||
before layers configuration.
|
|
||||||
You should not put any user code in there besides modifying the variable
|
|
||||||
values."
|
|
||||||
;; This setq-default sexp is an exhaustive list of all the supported
|
|
||||||
;; spacemacs settings.
|
|
||||||
(setq-default
|
|
||||||
;; If non nil ELPA repositories are contacted via HTTPS whenever it's
|
|
||||||
;; possible. Set it to nil if you have no way to use HTTPS in your
|
|
||||||
;; environment, otherwise it is strongly recommended to let it set to t.
|
|
||||||
;; This variable has no effect if Emacs is launched with the parameter
|
|
||||||
;; `--insecure' which forces the value of this variable to nil.
|
|
||||||
;; (default t)
|
|
||||||
dotspacemacs-elpa-https t
|
|
||||||
;; Maximum allowed time in seconds to contact an ELPA repository.
|
|
||||||
dotspacemacs-elpa-timeout 5
|
|
||||||
;; If non nil then spacemacs will check for updates at startup
|
|
||||||
;; when the current branch is not `develop'. Note that checking for
|
|
||||||
;; new versions works via git commands, thus it calls GitHub services
|
|
||||||
;; whenever you start Emacs. (default nil)
|
|
||||||
dotspacemacs-check-for-update nil
|
|
||||||
;; If non-nil, a form that evaluates to a package directory. For example, to
|
|
||||||
;; use different package directories for different Emacs versions, set this
|
|
||||||
;; to `emacs-version'.
|
|
||||||
dotspacemacs-elpa-subdirectory nil
|
|
||||||
;; One of `vim', `emacs' or `hybrid'.
|
|
||||||
;; `hybrid' is like `vim' except that `insert state' is replaced by the
|
|
||||||
;; `hybrid state' with `emacs' key bindings. The value can also be a list
|
|
||||||
;; with `:variables' keyword (similar to layers). Check the editing styles
|
|
||||||
;; section of the documentation for details on available variables.
|
|
||||||
;; (default 'vim)
|
|
||||||
dotspacemacs-editing-style 'vim
|
|
||||||
;; If non nil output loading progress in `*Messages*' buffer. (default nil)
|
|
||||||
dotspacemacs-verbose-loading nil
|
|
||||||
;; Specify the startup banner. Default value is `official', it displays
|
|
||||||
;; the official spacemacs logo. An integer value is the index of text
|
|
||||||
;; banner, `random' chooses a random text banner in `core/banners'
|
|
||||||
;; directory. A string value must be a path to an image format supported
|
|
||||||
;; by your Emacs build.
|
|
||||||
;; If the value is nil then no banner is displayed. (default 'official)
|
|
||||||
dotspacemacs-startup-banner 'official
|
|
||||||
;; List of items to show in startup buffer or an association list of
|
|
||||||
;; the form `(list-type . list-size)`. If nil then it is disabled.
|
|
||||||
;; Possible values for list-type are:
|
|
||||||
;; `recents' `bookmarks' `projects' `agenda' `todos'."
|
|
||||||
;; List sizes may be nil, in which case
|
|
||||||
;; `spacemacs-buffer-startup-lists-length' takes effect.
|
|
||||||
dotspacemacs-startup-lists '((recents . 5)
|
|
||||||
(projects . 7))
|
|
||||||
;; True if the home buffer should respond to resize events.
|
|
||||||
dotspacemacs-startup-buffer-responsive t
|
|
||||||
;; Default major mode of the scratch buffer (default `text-mode')
|
|
||||||
dotspacemacs-scratch-mode 'text-mode
|
|
||||||
;; List of themes, the first of the list is loaded when spacemacs starts.
|
|
||||||
;; Press <SPC> T n to cycle to the next theme in the list (works great
|
|
||||||
;; with 2 themes variants, one dark and one light)
|
|
||||||
dotspacemacs-themes '(
|
|
||||||
leuven
|
|
||||||
spacemacs-dark
|
|
||||||
minimal-light
|
|
||||||
tango-plus
|
|
||||||
dichromacy
|
|
||||||
ample
|
|
||||||
sanityinc-tomorrow-night)
|
|
||||||
;; If non nil the cursor color matches the state color in GUI Emacs.
|
|
||||||
dotspacemacs-colorize-cursor-according-to-state t
|
|
||||||
;; Default font, or prioritized list of fonts. `powerline-scale' allows to
|
|
||||||
;; quickly tweak the mode-line size to make separators look not too crappy.
|
|
||||||
dotspacemacs-default-font '("DejaVu Sans Mono"
|
|
||||||
:size 14
|
|
||||||
:weight normal
|
|
||||||
:width normal
|
|
||||||
:powerline-scale 1.5)
|
|
||||||
;; The leader key
|
|
||||||
dotspacemacs-leader-key "SPC"
|
|
||||||
;; The key used for Emacs commands (M-x) (after pressing on the leader key).
|
|
||||||
;; (default "SPC")
|
|
||||||
dotspacemacs-emacs-command-key "SPC"
|
|
||||||
;; The key used for Vim Ex commands (default ":")
|
|
||||||
dotspacemacs-ex-command-key ":"
|
|
||||||
;; The leader key accessible in `emacs state' and `insert state'
|
|
||||||
;; (default "M-m")
|
|
||||||
dotspacemacs-emacs-leader-key "M-m"
|
|
||||||
;; Major mode leader key is a shortcut key which is the equivalent of
|
|
||||||
;; pressing `<leader> m`. Set it to `nil` to disable it. (default ",")
|
|
||||||
dotspacemacs-major-mode-leader-key ","
|
|
||||||
;; Major mode leader key accessible in `emacs state' and `insert state'.
|
|
||||||
;; (default "C-M-m")
|
|
||||||
dotspacemacs-major-mode-emacs-leader-key "C-M-m"
|
|
||||||
;; These variables control whether separate commands are bound in the GUI to
|
|
||||||
;; the key pairs C-i, TAB and C-m, RET.
|
|
||||||
;; Setting it to a non-nil value, allows for separate commands under <C-i>
|
|
||||||
;; and TAB or <C-m> and RET.
|
|
||||||
;; In the terminal, these pairs are generally indistinguishable, so this only
|
|
||||||
;; works in the GUI. (default nil)
|
|
||||||
dotspacemacs-distinguish-gui-tab nil
|
|
||||||
;; If non nil `Y' is remapped to `y$' in Evil states. (default nil)
|
|
||||||
dotspacemacs-remap-Y-to-y$ nil
|
|
||||||
;; If non-nil, the shift mappings `<' and `>' retain visual state if used
|
|
||||||
;; there. (default t)
|
|
||||||
dotspacemacs-retain-visual-state-on-shift t
|
|
||||||
;; If non-nil, J and K move lines up and down when in visual mode.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-visual-line-move-text nil
|
|
||||||
;; If non nil, inverse the meaning of `g' in `:substitute' Evil ex-command.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-ex-substitute-global nil
|
|
||||||
;; Name of the default layout (default "Default")
|
|
||||||
dotspacemacs-default-layout-name "Default"
|
|
||||||
;; If non nil the default layout name is displayed in the mode-line.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-display-default-layout nil
|
|
||||||
;; If non nil then the last auto saved layouts are resume automatically upon
|
|
||||||
;; start. (default nil)
|
|
||||||
dotspacemacs-auto-resume-layouts nil
|
|
||||||
;; Size (in MB) above which spacemacs will prompt to open the large file
|
|
||||||
;; literally to avoid performance issues. Opening a file literally means that
|
|
||||||
;; no major mode or minor modes are active. (default is 1)
|
|
||||||
dotspacemacs-large-file-size 1
|
|
||||||
;; Location where to auto-save files. Possible values are `original' to
|
|
||||||
;; auto-save the file in-place, `cache' to auto-save the file to another
|
|
||||||
;; file stored in the cache directory and `nil' to disable auto-saving.
|
|
||||||
;; (default 'cache)
|
|
||||||
dotspacemacs-auto-save-file-location 'cache
|
|
||||||
;; Maximum number of rollback slots to keep in the cache. (default 5)
|
|
||||||
dotspacemacs-max-rollback-slots 5
|
|
||||||
;; If non nil, `helm' will try to minimize the space it uses. (default nil)
|
|
||||||
dotspacemacs-helm-resize nil
|
|
||||||
;; if non nil, the helm header is hidden when there is only one source.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-helm-no-header nil
|
|
||||||
;; define the position to display `helm', options are `bottom', `top',
|
|
||||||
;; `left', or `right'. (default 'bottom)
|
|
||||||
dotspacemacs-helm-position 'bottom
|
|
||||||
;; Controls fuzzy matching in helm. If set to `always', force fuzzy matching
|
|
||||||
;; in all non-asynchronous sources. If set to `source', preserve individual
|
|
||||||
;; source settings. Else, disable fuzzy matching in all sources.
|
|
||||||
;; (default 'always)
|
|
||||||
dotspacemacs-helm-use-fuzzy 'always
|
|
||||||
;; If non nil the paste micro-state is enabled. When enabled pressing `p`
|
|
||||||
;; several times cycle between the kill ring content. (default nil)
|
|
||||||
dotspacemacs-enable-paste-transient-state nil
|
|
||||||
;; Which-key delay in seconds. The which-key buffer is the popup listing
|
|
||||||
;; the commands bound to the current keystroke sequence. (default 0.4)
|
|
||||||
dotspacemacs-which-key-delay 0.4
|
|
||||||
;; Which-key frame position. Possible values are `right', `bottom' and
|
|
||||||
;; `right-then-bottom'. right-then-bottom tries to display the frame to the
|
|
||||||
;; right; if there is insufficient space it displays it at the bottom.
|
|
||||||
;; (default 'bottom)
|
|
||||||
dotspacemacs-which-key-position 'bottom
|
|
||||||
;; If non nil a progress bar is displayed when spacemacs is loading. This
|
|
||||||
;; may increase the boot time on some systems and emacs builds, set it to
|
|
||||||
;; nil to boost the loading time. (default t)
|
|
||||||
dotspacemacs-loading-progress-bar t
|
|
||||||
;; If non nil the frame is fullscreen when Emacs starts up. (default nil)
|
|
||||||
;; (Emacs 24.4+ only)
|
|
||||||
dotspacemacs-fullscreen-at-startup nil
|
|
||||||
;; If non nil `spacemacs/toggle-fullscreen' will not use native fullscreen.
|
|
||||||
;; Use to disable fullscreen animations in OSX. (default nil)
|
|
||||||
dotspacemacs-fullscreen-use-non-native nil
|
|
||||||
;; If non nil the frame is maximized when Emacs starts up.
|
|
||||||
;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
|
|
||||||
;; (default nil) (Emacs 24.4+ only)
|
|
||||||
dotspacemacs-maximized-at-startup nil
|
|
||||||
;; A value from the range (0..100), in increasing opacity, which describes
|
|
||||||
;; the transparency level of a frame when it's active or selected.
|
|
||||||
;; Transparency can be toggled through `toggle-transparency'. (default 90)
|
|
||||||
dotspacemacs-active-transparency 90
|
|
||||||
;; A value from the range (0..100), in increasing opacity, which describes
|
|
||||||
;; the transparency level of a frame when it's inactive or deselected.
|
|
||||||
;; Transparency can be toggled through `toggle-transparency'. (default 90)
|
|
||||||
dotspacemacs-inactive-transparency 90
|
|
||||||
;; If non nil show the titles of transient states. (default t)
|
|
||||||
dotspacemacs-show-transient-state-title t
|
|
||||||
;; If non nil show the color guide hint for transient state keys. (default t)
|
|
||||||
dotspacemacs-show-transient-state-color-guide t
|
|
||||||
;; If non nil unicode symbols are displayed in the mode line. (default t)
|
|
||||||
dotspacemacs-mode-line-unicode-symbols t
|
|
||||||
;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth
|
|
||||||
;; scrolling overrides the default behavior of Emacs which recenters point
|
|
||||||
;; when it reaches the top or bottom of the screen. (default t)
|
|
||||||
dotspacemacs-smooth-scrolling t
|
|
||||||
;; Control line numbers activation.
|
|
||||||
;; If set to `t' or `relative' line numbers are turned on in all `prog-mode' and
|
|
||||||
;; `text-mode' derivatives. If set to `relative', line numbers are relative.
|
|
||||||
;; This variable can also be set to a property list for finer control:
|
|
||||||
;; '(:relative nil
|
|
||||||
;; :disabled-for-modes dired-mode
|
|
||||||
;; doc-view-mode
|
|
||||||
;; markdown-mode
|
|
||||||
;; org-mode
|
|
||||||
;; pdf-view-mode
|
|
||||||
;; text-mode
|
|
||||||
;; :size-limit-kb 1000)
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-line-numbers t
|
|
||||||
;; Code folding method. Possible values are `evil' and `origami'.
|
|
||||||
;; (default 'evil)
|
|
||||||
dotspacemacs-folding-method 'evil
|
|
||||||
;; If non-nil smartparens-strict-mode will be enabled in programming modes.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-smartparens-strict-mode nil
|
|
||||||
;; If non-nil pressing the closing parenthesis `)' key in insert mode passes
|
|
||||||
;; over any automatically added closing parenthesis, bracket, quote, etc…
|
|
||||||
;; This can be temporary disabled by pressing `C-q' before `)'. (default nil)
|
|
||||||
dotspacemacs-smart-closing-parenthesis nil
|
|
||||||
;; Select a scope to highlight delimiters. Possible values are `any',
|
|
||||||
;; `current', `all' or `nil'. Default is `all' (highlight any scope and
|
|
||||||
;; emphasis the current one). (default 'all)
|
|
||||||
dotspacemacs-highlight-delimiters 'all
|
|
||||||
;; If non nil, advise quit functions to keep server open when quitting.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-persistent-server nil
|
|
||||||
;; List of search tool executable names. Spacemacs uses the first installed
|
|
||||||
;; tool of the list. Supported tools are `ag', `pt', `ack' and `grep'.
|
|
||||||
;; (default '("ag" "pt" "ack" "grep"))
|
|
||||||
dotspacemacs-search-tools '("ag" "pt" "ack" "grep")
|
|
||||||
;; The default package repository used if no explicit repository has been
|
|
||||||
;; specified with an installed package.
|
|
||||||
;; Not used for now. (default nil)
|
|
||||||
dotspacemacs-default-package-repository nil
|
|
||||||
;; Delete whitespace while saving buffer. Possible values are `all'
|
|
||||||
;; to aggressively delete empty line and long sequences of whitespace,
|
|
||||||
;; `trailing' to delete only the whitespace at end of lines, `changed'to
|
|
||||||
;; delete only whitespace for changed lines or `nil' to disable cleanup.
|
|
||||||
;; (default nil)
|
|
||||||
dotspacemacs-whitespace-cleanup nil
|
|
||||||
))
|
|
||||||
|
|
||||||
(defun dotspacemacs/user-init ()
|
|
||||||
"Initialization function for user code.
|
|
||||||
It is called immediately after `dotspacemacs/init', before layer configuration
|
|
||||||
executes.
|
|
||||||
This function is mostly useful for variables that need to be set
|
|
||||||
before packages are loaded. If you are unsure, you should try in setting them in
|
|
||||||
`dotspacemacs/user-config' first."
|
|
||||||
)
|
|
||||||
|
|
||||||
(defun dotspacemacs/user-config ()
|
|
||||||
"Configuration function for user code.
|
|
||||||
This function is called at the very end of Spacemacs initialization after
|
|
||||||
layers configuration.
|
|
||||||
This is the place where most of your configurations should be done. Unless it is
|
|
||||||
explicitly specified that a variable should be set before a package is loaded,
|
|
||||||
you should place your code here."
|
|
||||||
(with-eval-after-load 'helm
|
|
||||||
(define-key helm-map (kbd "C-w") 'evil-delete-backward-word)
|
|
||||||
)
|
|
||||||
;; Launch terminal
|
|
||||||
|
|
||||||
(defun open-terminal ()
|
|
||||||
"Open a terminal in the current working directory."
|
|
||||||
(interactive)
|
|
||||||
(call-process (or (getenv "XTERMINAL") "xterm") nil 0 nil))
|
|
||||||
;; This does not work: (concat "echo -c 'cd " default-directory "'"))
|
|
||||||
|
|
||||||
(global-set-key (kbd "C-c t") 'open-terminal)
|
|
||||||
)
|
|
||||||
|
|
||||||
;; Do not write anything past this comment. This is where Emacs will
|
|
||||||
;; auto-generate custom variable definitions.
|
|
||||||
(custom-set-variables
|
|
||||||
;; custom-set-variables was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
'(ansi-color-faces-vector
|
|
||||||
[default bold shadow italic underline bold bold-italic bold])
|
|
||||||
'(beacon-color "#cc6666")
|
|
||||||
'(custom-safe-themes
|
|
||||||
(quote
|
|
||||||
("3e335d794ed3030fefd0dbd7ff2d3555e29481fe4bbb0106ea11c660d6001767" "cc0dbb53a10215b696d391a90de635ba1699072745bf653b53774706999208e3" "ed317c0a3387be628a48c4bbdb316b4fa645a414838149069210b66dd521733f" "938d8c186c4cb9ec4a8d8bc159285e0d0f07bad46edf20aa469a89d0d2a586ea" "fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" "bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" default)))
|
|
||||||
'(evil-want-Y-yank-to-eol nil)
|
|
||||||
'(fci-rule-color "#373b41" t)
|
|
||||||
'(flycheck-color-mode-line-face-to-color (quote mode-line-buffer-id))
|
|
||||||
'(frame-background-mode (quote dark))
|
|
||||||
'(package-selected-packages
|
|
||||||
(quote
|
|
||||||
(zenburn-theme zen-and-art-theme underwater-theme ujelly-theme twilight-theme twilight-bright-theme twilight-anti-bright-theme toxi-theme tao-theme tangotango-theme tango-plus-theme tango-2-theme sunny-day-theme sublime-themes subatomic256-theme subatomic-theme spacegray-theme soothe-theme solarized-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme seti-theme reverse-theme railscasts-theme purple-haze-theme professional-theme planet-theme phoenix-dark-pink-theme phoenix-dark-mono-theme organic-green-theme omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme noctilux-theme naquadah-theme mustang-theme monokai-theme monochrome-theme molokai-theme moe-theme minimal-theme material-theme majapahit-theme madhat2r-theme lush-theme light-soap-theme jbeans-theme jazz-theme ir-black-theme clojure-snippets clj-refactor inflections edn paredit peg cider-eval-sexp-fu cider seq queue clojure-mode nginx-mode auctex-latexmk company-auctex auctex csv-mode web-beautify livid-mode skewer-mode simple-httpd json-mode json-snatcher json-reformat js2-refactor multiple-cursors js2-mode js-doc company-tern dash-functional tern coffee-mode yaml-mode helm-company helm-c-yasnippet fuzzy company-web web-completion-data company-statistics company-go company-anaconda company auto-yasnippet yasnippet ac-ispell auto-complete web-mode tagedit slim-mode scss-mode sass-mode pug-mode less-css-mode helm-css-scss haml-mode emmet-mode smeargle orgit magit-gitflow helm-gitignore gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit magit-popup xterm-color shell-pop org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-download multi-term mmm-mode markdown-toc markdown-mode htmlize gnuplot git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-commit with-editor git-gutter gh-md flyspell-correct-helm flyspell-correct flycheck-pos-tip pos-tip flycheck eshell-z eshell-prompt-extras esh-help diff-hl auto-dictionary yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode helm-pydoc cython-mode anaconda-mode pythonic go-guru go-eldoc go-mode ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint info+ indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation hide-comnt help-fns+ helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed dash aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async)))
|
|
||||||
'(vc-annotate-background nil)
|
|
||||||
'(vc-annotate-color-map
|
|
||||||
(quote
|
|
||||||
((20 . "#cc6666")
|
|
||||||
(40 . "#de935f")
|
|
||||||
(60 . "#f0c674")
|
|
||||||
(80 . "#b5bd68")
|
|
||||||
(100 . "#8abeb7")
|
|
||||||
(120 . "#81a2be")
|
|
||||||
(140 . "#b294bb")
|
|
||||||
(160 . "#cc6666")
|
|
||||||
(180 . "#de935f")
|
|
||||||
(200 . "#f0c674")
|
|
||||||
(220 . "#b5bd68")
|
|
||||||
(240 . "#8abeb7")
|
|
||||||
(260 . "#81a2be")
|
|
||||||
(280 . "#b294bb")
|
|
||||||
(300 . "#cc6666")
|
|
||||||
(320 . "#de935f")
|
|
||||||
(340 . "#f0c674")
|
|
||||||
(360 . "#b5bd68"))))
|
|
||||||
'(vc-annotate-very-old-color nil))
|
|
||||||
(custom-set-faces
|
|
||||||
;; custom-set-faces was added by Custom.
|
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
|
||||||
;; Your init file should contain only one such instance.
|
|
||||||
;; If there is more than one, they won't work right.
|
|
||||||
'(default ((t (:background nil)))))
|
|
@@ -13,15 +13,25 @@
|
|||||||
|
|
||||||
(setq quelpa-checkout-melpa-p nil)
|
(setq quelpa-checkout-melpa-p nil)
|
||||||
|
|
||||||
(unless (require 'quelpa nil t)
|
(unless (package-installed-p 'quelpa)
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(url-insert-file-contents "https://raw.github.com/quelpa/quelpa/master/bootstrap.el")
|
(url-insert-file-contents "https://github.com/quelpa/quelpa/raw/master/quelpa.el")
|
||||||
(eval-buffer)))
|
(eval-buffer)
|
||||||
|
(quelpa-self-upgrade)))
|
||||||
|
|
||||||
(quelpa 'use-package)
|
(require 'quelpa nil t)
|
||||||
;'(use-package
|
|
||||||
;:fetcher github
|
(unless (package-installed-p 'use-package)
|
||||||
;:repo "quelpa/quelpa-use-package"))
|
(package-refresh-contents)
|
||||||
|
(package-install 'use-package))
|
||||||
|
|
||||||
|
(eval-when-compile
|
||||||
|
(require 'use-package))
|
||||||
|
|
||||||
|
;;(quelpa 'use-package)
|
||||||
|
;; ;'(use-package
|
||||||
|
;; ;:fetcher github
|
||||||
|
;; ;:repo "quelpa/quelpa-use-package"))
|
||||||
(require 'use-package)
|
(require 'use-package)
|
||||||
(quelpa
|
(quelpa
|
||||||
'(quelpa-use-package
|
'(quelpa-use-package
|
||||||
|
144
firefox/.local/share/applications/firefox.desktop
Normal file
144
firefox/.local/share/applications/firefox.desktop
Normal file
@@ -0,0 +1,144 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
#NoDisplay=true
|
||||||
|
Name=Firefox Web Browser (nixGL)
|
||||||
|
GenericName=Web Browser
|
||||||
|
GenericName[ar]=متصفح ويب
|
||||||
|
GenericName[ast]=Restolador Web
|
||||||
|
GenericName[bn]=ওয়েব ব্রাউজার
|
||||||
|
GenericName[ca]=Navegador web
|
||||||
|
GenericName[cs]=Webový prohlížeč
|
||||||
|
GenericName[da]=Webbrowser
|
||||||
|
GenericName[el]=Περιηγητής διαδικτύου
|
||||||
|
GenericName[es]=Navegador web
|
||||||
|
GenericName[et]=Veebibrauser
|
||||||
|
GenericName[fa]=مرورگر اینترنتی
|
||||||
|
GenericName[fi]=WWW-selain
|
||||||
|
GenericName[fr]=Navigateur Web
|
||||||
|
GenericName[gl]=Navegador Web
|
||||||
|
GenericName[he]=דפדפן אינטרנט
|
||||||
|
GenericName[hr]=Web preglednik
|
||||||
|
GenericName[hu]=Webböngésző
|
||||||
|
GenericName[it]=Browser web
|
||||||
|
GenericName[ja]=ウェブ・ブラウザ
|
||||||
|
GenericName[ko]=웹 브라우저
|
||||||
|
GenericName[ku]=Geroka torê
|
||||||
|
GenericName[lt]=Interneto naršyklė
|
||||||
|
GenericName[nb]=Nettleser
|
||||||
|
GenericName[nl]=Webbrowser
|
||||||
|
GenericName[nn]=Nettlesar
|
||||||
|
GenericName[no]=Nettleser
|
||||||
|
GenericName[pl]=Przeglądarka WWW
|
||||||
|
GenericName[pt]=Navegador Web
|
||||||
|
GenericName[pt_BR]=Navegador Web
|
||||||
|
GenericName[ro]=Navigator Internet
|
||||||
|
GenericName[ru]=Веб-браузер
|
||||||
|
GenericName[sk]=Internetový prehliadač
|
||||||
|
GenericName[sl]=Spletni brskalnik
|
||||||
|
GenericName[sv]=Webbläsare
|
||||||
|
GenericName[tr]=Web Tarayıcı
|
||||||
|
GenericName[ug]=توركۆرگۈ
|
||||||
|
GenericName[uk]=Веб-браузер
|
||||||
|
GenericName[vi]=Trình duyệt Web
|
||||||
|
GenericName[zh_CN]=网络浏览器
|
||||||
|
GenericName[zh_TW]=網路瀏覽器
|
||||||
|
Keywords=Internet;WWW;Browser;Web;Explorer
|
||||||
|
Keywords[ar]=انترنت;إنترنت;متصفح;ويب;وب
|
||||||
|
Keywords[ast]=Internet;WWW;Restolador;Web;Esplorador
|
||||||
|
Keywords[ca]=Internet;WWW;Navegador;Web;Explorador;Explorer
|
||||||
|
Keywords[cs]=Internet;WWW;Prohlížeč;Web;Explorer
|
||||||
|
Keywords[da]=Internet;Internettet;WWW;Browser;Browse;Web;Surf;Nettet
|
||||||
|
Keywords[de]=Internet;WWW;Browser;Web;Explorer;Webseite;Site;surfen;online;browsen
|
||||||
|
Keywords[el]=Internet;WWW;Browser;Web;Explorer;Διαδίκτυο;Περιηγητής;Firefox;Φιρεφοχ;Ιντερνετ
|
||||||
|
Keywords[es]=Explorador;Internet;WWW
|
||||||
|
Keywords[fi]=Internet;WWW;Browser;Web;Explorer;selain;Internet-selain;internetselain;verkkoselain;netti;surffaa
|
||||||
|
Keywords[fr]=Internet;WWW;Browser;Web;Explorer;Fureteur;Surfer;Navigateur
|
||||||
|
Keywords[he]=דפדפן;אינטרנט;רשת;אתרים;אתר;פיירפוקס;מוזילה;
|
||||||
|
Keywords[hr]=Internet;WWW;preglednik;Web
|
||||||
|
Keywords[hu]=Internet;WWW;Böngésző;Web;Háló;Net;Explorer
|
||||||
|
Keywords[it]=Internet;WWW;Browser;Web;Navigatore
|
||||||
|
Keywords[is]=Internet;WWW;Vafri;Vefur;Netvafri;Flakk
|
||||||
|
Keywords[ja]=Internet;WWW;Web;インターネット;ブラウザ;ウェブ;エクスプローラ
|
||||||
|
Keywords[nb]=Internett;WWW;Nettleser;Explorer;Web;Browser;Nettside
|
||||||
|
Keywords[nl]=Internet;WWW;Browser;Web;Explorer;Verkenner;Website;Surfen;Online
|
||||||
|
Keywords[pt]=Internet;WWW;Browser;Web;Explorador;Navegador
|
||||||
|
Keywords[pt_BR]=Internet;WWW;Browser;Web;Explorador;Navegador
|
||||||
|
Keywords[ru]=Internet;WWW;Browser;Web;Explorer;интернет;браузер;веб;файрфокс;огнелис
|
||||||
|
Keywords[sk]=Internet;WWW;Prehliadač;Web;Explorer
|
||||||
|
Keywords[sl]=Internet;WWW;Browser;Web;Explorer;Brskalnik;Splet
|
||||||
|
Keywords[tr]=İnternet;WWW;Tarayıcı;Web;Gezgin;Web sitesi;Site;sörf;çevrimiçi;tara
|
||||||
|
Keywords[uk]=Internet;WWW;Browser;Web;Explorer;Інтернет;мережа;переглядач;оглядач;браузер;веб;файрфокс;вогнелис;перегляд
|
||||||
|
Keywords[vi]=Internet;WWW;Browser;Web;Explorer;Trình duyệt;Trang web
|
||||||
|
Keywords[zh_CN]=Internet;WWW;Browser;Web;Explorer;网页;浏览;上网;火狐;Firefox;ff;互联网;网站;
|
||||||
|
Keywords[zh_TW]=Internet;WWW;Browser;Web;Explorer;網際網路;網路;瀏覽器;上網;網頁;火狐
|
||||||
|
Exec=firefox %u
|
||||||
|
Terminal=false
|
||||||
|
X-MultipleArgs=false
|
||||||
|
Type=Application
|
||||||
|
Icon=firefox
|
||||||
|
Categories=GNOME;GTK;Network;WebBrowser;
|
||||||
|
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;video/webm;application/x-xpinstall;
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=firefox
|
||||||
|
Actions=new-window;new-private-window;
|
||||||
|
|
||||||
|
[Desktop Action new-window]
|
||||||
|
Name=Open a New Window
|
||||||
|
Name[ar]=افتح نافذة جديدة
|
||||||
|
Name[ast]=Abrir una ventana nueva
|
||||||
|
Name[bn]=Abrir una ventana nueva
|
||||||
|
Name[ca]=Obre una finestra nova
|
||||||
|
Name[cs]=Otevřít nové okno
|
||||||
|
Name[da]=Åbn et nyt vindue
|
||||||
|
Name[de]=Ein neues Fenster öffnen
|
||||||
|
Name[el]=Νέο παράθυρο
|
||||||
|
Name[es]=Abrir una ventana nueva
|
||||||
|
Name[fi]=Avaa uusi ikkuna
|
||||||
|
Name[fr]=Ouvrir une nouvelle fenêtre
|
||||||
|
Name[gl]=Abrir unha nova xanela
|
||||||
|
Name[he]=פתיחת חלון חדש
|
||||||
|
Name[hr]=Otvori novi prozor
|
||||||
|
Name[hu]=Új ablak nyitása
|
||||||
|
Name[it]=Apri una nuova finestra
|
||||||
|
Name[ja]=新しいウィンドウを開く
|
||||||
|
Name[ko]=새 창 열기
|
||||||
|
Name[ku]=Paceyeke nû veke
|
||||||
|
Name[lt]=Atverti naują langą
|
||||||
|
Name[nb]=Åpne et nytt vindu
|
||||||
|
Name[nl]=Nieuw venster openen
|
||||||
|
Name[pt]=Abrir nova janela
|
||||||
|
Name[pt_BR]=Abrir nova janela
|
||||||
|
Name[ro]=Deschide o fereastră nouă
|
||||||
|
Name[ru]=Новое окно
|
||||||
|
Name[sk]=Otvoriť nové okno
|
||||||
|
Name[sl]=Odpri novo okno
|
||||||
|
Name[sv]=Öppna ett nytt fönster
|
||||||
|
Name[tr]=Yeni pencere aç
|
||||||
|
Name[ug]=يېڭى كۆزنەك ئېچىش
|
||||||
|
Name[uk]=Відкрити нове вікно
|
||||||
|
Name[vi]=Mở cửa sổ mới
|
||||||
|
Name[zh_CN]=新建窗口
|
||||||
|
Name[zh_TW]=開啟新視窗
|
||||||
|
Exec=firefox -new-window
|
||||||
|
|
||||||
|
[Desktop Action new-private-window]
|
||||||
|
Name=Open a New Private Window
|
||||||
|
Name[ar]=افتح نافذة جديدة للتصفح الخاص
|
||||||
|
Name[ca]=Obre una finestra nova en mode d'incògnit
|
||||||
|
Name[cs]=Otevřít nové anonymní okno
|
||||||
|
Name[de]=Ein neues privates Fenster öffnen
|
||||||
|
Name[el]=Νέο ιδιωτικό παράθυρο
|
||||||
|
Name[es]=Abrir una ventana privada nueva
|
||||||
|
Name[fi]=Avaa uusi yksityinen ikkuna
|
||||||
|
Name[fr]=Ouvrir une nouvelle fenêtre de navigation privée
|
||||||
|
Name[he]=פתיחת חלון גלישה פרטית חדש
|
||||||
|
Name[hu]=Új privát ablak nyitása
|
||||||
|
Name[it]=Apri una nuova finestra anonima
|
||||||
|
Name[nb]=Åpne et nytt privat vindu
|
||||||
|
Name[ru]=Новое приватное окно
|
||||||
|
Name[sl]=Odpri novo okno zasebnega brskanja
|
||||||
|
Name[sv]=Öppna ett nytt privat fönster
|
||||||
|
Name[tr]=Yeni gizli pencere aç
|
||||||
|
Name[uk]=Відкрити нове вікно у потайливому режимі
|
||||||
|
Name[zh_TW]=開啟新隱私瀏覽視窗
|
||||||
|
Exec=nixGL firefox -private-window
|
3
firefox/README.md
Normal file
3
firefox/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
toolkit.legacyUserProfileCustomizations.stylesheets to true
|
||||||
|
|
||||||
|
cp <profile>/chrome/userChrome.css
|
10
firefox/userChrome.css
Normal file
10
firefox/userChrome.css
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/* hides the native tabs */
|
||||||
|
#TabsToolbar {
|
||||||
|
visibility: collapse;
|
||||||
|
}
|
||||||
|
#titlebar {
|
||||||
|
visibility: collapse;
|
||||||
|
}
|
||||||
|
#sidebar-header {
|
||||||
|
visibility: collapse !important;
|
||||||
|
}
|
3
fish/.config/fish/config.fish
Normal file
3
fish/.config/fish/config.fish
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
set -U fish_greeting
|
||||||
|
set -g -x NIX_PATH "/home/j/.nix-defexpr/channels/:/nix/var/nix/profiles/per-user/root/channels"
|
||||||
|
starship init fish | source
|
48
flake.lock
generated
Normal file
48
flake.lock
generated
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"home-manager": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756579987,
|
||||||
|
"narHash": "sha256-duCce8zGsaMsrqqOmLOsuaV1PVIw/vXWnKuLKZClsGg=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "99a69bdf8a3c6bf038c4121e9c4b6e99706a187a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756542300,
|
||||||
|
"narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "d7600c775f877cd87b4f5a831c28aa94137377aa",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"home-manager": "home-manager",
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
46
flake.nix
Normal file
46
flake.nix
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
{
|
||||||
|
description = "Home Manager configuration of j";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
# Specify the source of Home Manager and Nixpkgs.
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
home-manager = {
|
||||||
|
url = "github:nix-community/home-manager";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs =
|
||||||
|
{ nixpkgs, home-manager, ... }:
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# TCS config
|
||||||
|
homeConfigurations."j@lenny" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
|
||||||
|
# Specify your home configuration modules here, for example,
|
||||||
|
# the path to your home.nix.
|
||||||
|
modules = [
|
||||||
|
./home-manager/common.nix
|
||||||
|
./home-manager/lenny.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
# Optionally use extraSpecialArgs
|
||||||
|
# to pass through arguments to home.nix
|
||||||
|
};
|
||||||
|
|
||||||
|
# Home
|
||||||
|
homeConfigurations."j" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
|
||||||
|
# Specify your home configuration modules here, for example,
|
||||||
|
# the path to your home.nix.
|
||||||
|
modules = [
|
||||||
|
./home-manager/common.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@@ -22,3 +22,5 @@ lg = !"git lg1"
|
|||||||
smudge = git-lfs smudge -- %f
|
smudge = git-lfs smudge -- %f
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
required = true
|
required = true
|
||||||
|
[pull]
|
||||||
|
rebase = false
|
||||||
|
162
home-manager/common.nix
Normal file
162
home-manager/common.nix
Normal file
@@ -0,0 +1,162 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
|
# manage.
|
||||||
|
home.username = "j";
|
||||||
|
home.homeDirectory = "/home/j";
|
||||||
|
|
||||||
|
# This value determines the Home Manager release that your configuration is
|
||||||
|
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||||
|
# introduces backwards incompatible changes.
|
||||||
|
#
|
||||||
|
# You should not change this value, even if you update Home Manager. If you do
|
||||||
|
# want to update the value, then make sure to first check the Home Manager
|
||||||
|
# release notes.
|
||||||
|
home.stateVersion = "25.05"; # Please read the comment before changing.
|
||||||
|
|
||||||
|
# The home.packages option allows you to install Nix packages into your
|
||||||
|
# environment.
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
# Desktop
|
||||||
|
pavucontrol
|
||||||
|
wofi
|
||||||
|
waybar
|
||||||
|
mako # Notification daemon
|
||||||
|
hyprlock # Lock
|
||||||
|
hypridle # Run lock on idle
|
||||||
|
|
||||||
|
pkgs.nerd-fonts.fira-code
|
||||||
|
pkgs.nerd-fonts.monoid
|
||||||
|
|
||||||
|
wezterm
|
||||||
|
|
||||||
|
# Editors
|
||||||
|
emacs
|
||||||
|
neovim
|
||||||
|
helix
|
||||||
|
|
||||||
|
# Utils
|
||||||
|
jq
|
||||||
|
bat # Replacement for less
|
||||||
|
eza # Better ld
|
||||||
|
zoxide # better cd
|
||||||
|
yazi # File manager
|
||||||
|
ripgrep # Better search
|
||||||
|
fzf # Fuzzy file finder
|
||||||
|
|
||||||
|
zenith # System monitor
|
||||||
|
|
||||||
|
# Shells
|
||||||
|
fish
|
||||||
|
grc # Colorizer
|
||||||
|
fishPlugins.grc
|
||||||
|
starship
|
||||||
|
|
||||||
|
# Dev tools
|
||||||
|
git
|
||||||
|
lazygit
|
||||||
|
|
||||||
|
# Python
|
||||||
|
uv
|
||||||
|
|
||||||
|
#uutils-coreutils
|
||||||
|
|
||||||
|
# # It is sometimes useful to fine-tune packages, for example, by applying
|
||||||
|
# # overrides. You can do that directly here, just don't forget the
|
||||||
|
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
|
||||||
|
# # fonts?
|
||||||
|
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
|
||||||
|
|
||||||
|
# # You can also create simple shell scripts directly inside your
|
||||||
|
# # configuration. For example, this adds a command 'my-hello' to your
|
||||||
|
# # environment:
|
||||||
|
# (pkgs.writeShellScriptBin "my-hello" ''
|
||||||
|
# echo "Hello, ${config.home.username}!"
|
||||||
|
# '')
|
||||||
|
];
|
||||||
|
|
||||||
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
|
# plain files is through 'home.file'.
|
||||||
|
home.file = {
|
||||||
|
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
||||||
|
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
||||||
|
# # symlink to the Nix store copy.
|
||||||
|
# ".screenrc".source = dotfiles/screenrc;
|
||||||
|
|
||||||
|
# # You can also set the file content immediately.
|
||||||
|
# ".gradle/gradle.properties".text = ''
|
||||||
|
# org.gradle.console=verbose
|
||||||
|
# org.gradle.daemon.idletimeout=3600000
|
||||||
|
# '';
|
||||||
|
};
|
||||||
|
|
||||||
|
# Home Manager can also manage your environment variables through
|
||||||
|
# 'home.sessionVariables'. These will be explicitly sourced when using a
|
||||||
|
# shell provided by Home Manager. If you don't want to manage your shell
|
||||||
|
# through Home Manager then you have to manually source 'hm-session-vars.sh'
|
||||||
|
# located at either
|
||||||
|
#
|
||||||
|
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
||||||
|
#
|
||||||
|
# or
|
||||||
|
#
|
||||||
|
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
|
||||||
|
#
|
||||||
|
# or
|
||||||
|
#
|
||||||
|
# /etc/profiles/per-user/j/etc/profile.d/hm-session-vars.sh
|
||||||
|
#
|
||||||
|
home.sessionVariables = {
|
||||||
|
# EDITOR = "emacs";
|
||||||
|
EDITOR = "nvim";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Let Home Manager install and manage itself.
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
programs.eza = {
|
||||||
|
enableFishIntegration = true;
|
||||||
|
icons = "auto";
|
||||||
|
git = true;
|
||||||
|
extraOptions = [
|
||||||
|
"--color=always"
|
||||||
|
"--tree"
|
||||||
|
"--level=1"
|
||||||
|
"--group-directories=first"
|
||||||
|
"--dereference"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.fish = {
|
||||||
|
enable = true;
|
||||||
|
interactiveShellInit = ''set fish_greeting '';
|
||||||
|
plugins = [
|
||||||
|
{ name = "grc"; src = pkgs.fishPlugins.grc.src; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.starship = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
add_newline = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.zoxide.enable = true;
|
||||||
|
programs.bash = {
|
||||||
|
enable = true;
|
||||||
|
initExtra = ''
|
||||||
|
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
||||||
|
then
|
||||||
|
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
|
||||||
|
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
|
||||||
|
fi
|
||||||
|
''; # Launch fish on startup
|
||||||
|
};
|
||||||
|
|
||||||
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
15
home-manager/lenny.nix
Normal file
15
home-manager/lenny.nix
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
jujutsu
|
||||||
|
];
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "Fernando Sánchez";
|
||||||
|
userEmail = "f.sanchez@thechannelstore.tv";
|
||||||
|
extraConfig = {
|
||||||
|
init.defaultBranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
81
home-manager/old.nix
Normal file
81
home-manager/old.nix
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
{ config, pkgs, nixgl, ... }:
|
||||||
|
let nixgl = import <nixgl> {};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# Home Manager needs a bit of information about you and the
|
||||||
|
# paths it should manage.
|
||||||
|
home.username = "j";
|
||||||
|
home.homeDirectory = "/home/j";
|
||||||
|
|
||||||
|
nixpkgs = {
|
||||||
|
config = {
|
||||||
|
allowUnfree = true;
|
||||||
|
allowUnfreePredicate = (_: true);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# This value determines the Home Manager release that your
|
||||||
|
# configuration is compatible with. This helps avoid breakage
|
||||||
|
# when a new Home Manager release introduces backwards
|
||||||
|
# incompatible changes.
|
||||||
|
#
|
||||||
|
# You can update Home Manager without changing this value. See
|
||||||
|
# the Home Manager release notes for a list of state version
|
||||||
|
# changes in each release.
|
||||||
|
home.stateVersion = "23.05";
|
||||||
|
|
||||||
|
# Let Home Manager install and manage itself.
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
home.packages = [
|
||||||
|
pkgs.htop
|
||||||
|
pkgs.zoom-us
|
||||||
|
pkgs.fortune
|
||||||
|
pkgs.tmux
|
||||||
|
pkgs.git
|
||||||
|
pkgs.git-lfs
|
||||||
|
pkgs.hugo
|
||||||
|
pkgs.fish
|
||||||
|
pkgs.fd
|
||||||
|
pkgs.helix
|
||||||
|
pkgs.starship
|
||||||
|
pkgs.ripgrep
|
||||||
|
pkgs.eza
|
||||||
|
pkgs.ansible
|
||||||
|
pkgs.ranger
|
||||||
|
pkgs.sshpass
|
||||||
|
pkgs.jq
|
||||||
|
pkgs.bat
|
||||||
|
pkgs.davfs2
|
||||||
|
pkgs.pandoc
|
||||||
|
pkgs.rustup
|
||||||
|
#pkgs.texlive
|
||||||
|
# pkgs.texlive.combine {
|
||||||
|
# inherit (texlive) xcolor
|
||||||
|
# }
|
||||||
|
pkgs.wl-clipboard
|
||||||
|
nixgl.auto.nixGLDefault
|
||||||
|
#(pkgs.python311.withPackages (p: with p; [
|
||||||
|
#jupyterlab
|
||||||
|
#matplotlib
|
||||||
|
#pandas
|
||||||
|
#openpyxl
|
||||||
|
#]))
|
||||||
|
pkgs.alacritty
|
||||||
|
pkgs.wezterm
|
||||||
|
pkgs.kitty
|
||||||
|
pkgs.zellij
|
||||||
|
(pkgs.nerdfonts.override { fonts = [ "Iosevka" "IosevkaTerm" "Hack" "CascadiaCode" "FiraCode" "DejaVuSansMono" ]; })
|
||||||
|
];
|
||||||
|
|
||||||
|
fonts.fontconfig.enable = true;
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
vimAlias = true;
|
||||||
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
auto-pairs
|
||||||
|
fzf-vim
|
||||||
|
lightline-vim
|
||||||
|
];
|
||||||
|
};
|
||||||
|
services.owncloud-client.enable = true;
|
||||||
|
}
|
13
home-manager/personal.nix
Normal file
13
home-manager/personal.nix
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [ ];
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "J. Fernando Sánchez";
|
||||||
|
userEmail = "balkian@gmail.com";
|
||||||
|
extraConfig = {
|
||||||
|
init.defaultBranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@@ -23,7 +23,7 @@ floating_modifier $mod
|
|||||||
#bindsym $mod+Return exec --no-startup-id i3-one-tmux
|
#bindsym $mod+Return exec --no-startup-id i3-one-tmux
|
||||||
bindsym $mod+Return [title="^scratch"] scratchpad show
|
bindsym $mod+Return [title="^scratch"] scratchpad show
|
||||||
bindsym Control+Mod1+t exec --no-startup-id i3-sensible-terminal
|
bindsym Control+Mod1+t exec --no-startup-id i3-sensible-terminal
|
||||||
bindsym Control+Mod1+Shift+t exec --no-startup-id i3-sensible-terminal --title=scratch -e 'tmux attach'
|
bindsym Control+Mod1+Shift+t exec --no-startup-id i3-sensible-terminal --title=scratch -e 'tmux new-session -A -s scratch'
|
||||||
|
|
||||||
# File manager
|
# File manager
|
||||||
bindsym Control+Mod1+f exec --no-startup-id i3-sensible-terminal --title=filemanager -e 'zsh -c ranger'
|
bindsym Control+Mod1+f exec --no-startup-id i3-sensible-terminal --title=filemanager -e 'zsh -c ranger'
|
||||||
@@ -31,7 +31,7 @@ bindsym Control+Mod1+f exec --no-startup-id i3-sensible-terminal --title=fileman
|
|||||||
# start lock
|
# start lock
|
||||||
bindsym Control+Mod1+l exec --no-startup-id i3-exit.sh lock
|
bindsym Control+Mod1+l exec --no-startup-id i3-exit.sh lock
|
||||||
|
|
||||||
bindsym Control+Mod1+Shift+w exec --no-startup-id chromium || chromium-browser
|
bindsym Control+Mod1+Shift+w exec --no-startup-id $BROWSER2
|
||||||
bindsym Control+Mod1+w exec --no-startup-id $BROWSER
|
bindsym Control+Mod1+w exec --no-startup-id $BROWSER
|
||||||
bindsym Control+Mod1+v exec --no-startup-id pavucontrol
|
bindsym Control+Mod1+v exec --no-startup-id pavucontrol
|
||||||
bindsym Control+Mod1+g exec --no-startup-id gvim
|
bindsym Control+Mod1+g exec --no-startup-id gvim
|
||||||
@@ -43,6 +43,7 @@ bindsym $mod+period [instance="emacs" title="^(?!myagenda$)"] scratchpad show
|
|||||||
bindsym $mod+shift+comma exec --no-startup-id myemacs -nc --eval '(progn (find-file "~/Dropbox/Todo/org/rules.org") (org-agenda-list) (set-frame-name "myagenda"))'
|
bindsym $mod+shift+comma exec --no-startup-id myemacs -nc --eval '(progn (find-file "~/Dropbox/Todo/org/rules.org") (org-agenda-list) (set-frame-name "myagenda"))'
|
||||||
bindsym $mod+c exec myemacs -n -e '(make-capture-frame)'
|
bindsym $mod+c exec myemacs -n -e '(make-capture-frame)'
|
||||||
bindsym $mod+comma [title="^myagenda"] scratchpad show
|
bindsym $mod+comma [title="^myagenda"] scratchpad show
|
||||||
|
bindsym $mod+Control+s exec --no-startup-id flameshot gui
|
||||||
|
|
||||||
# Spotify
|
# Spotify
|
||||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||||
@@ -65,6 +66,7 @@ bindsym $mod+q kill
|
|||||||
#bindsym $mod+Space exec --no-startup-id dmenu_run
|
#bindsym $mod+Space exec --no-startup-id dmenu_run
|
||||||
bindsym $mod+space exec --no-startup-id runmenu
|
bindsym $mod+space exec --no-startup-id runmenu
|
||||||
bindsym $mod+o exec --no-startup-id filemenu $HOME
|
bindsym $mod+o exec --no-startup-id filemenu $HOME
|
||||||
|
bindsym $mod+b exec btmenu
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -145,6 +147,7 @@ bindsym $mod+d focus child
|
|||||||
|
|
||||||
# switch to workspace
|
# switch to workspace
|
||||||
|
|
||||||
|
bindsym $mod+grave workspace 0: Personal
|
||||||
bindsym $mod+1 workspace 1: Term
|
bindsym $mod+1 workspace 1: Term
|
||||||
bindsym $mod+2 workspace 2: Web
|
bindsym $mod+2 workspace 2: Web
|
||||||
bindsym $mod+3 workspace 3: Edit
|
bindsym $mod+3 workspace 3: Edit
|
||||||
@@ -159,6 +162,7 @@ bindsym $mod+Control+h workspace prev
|
|||||||
bindsym $mod+Control+l workspace next
|
bindsym $mod+Control+l workspace next
|
||||||
|
|
||||||
# move focused container to workspace
|
# move focused container to workspace
|
||||||
|
bindsym $mod+Shift+grave move container to workspace 0: Personal
|
||||||
bindsym $mod+Shift+exclam move container to workspace 1: Term
|
bindsym $mod+Shift+exclam move container to workspace 1: Term
|
||||||
bindsym $mod+Shift+at move container to workspace 2: Web
|
bindsym $mod+Shift+at move container to workspace 2: Web
|
||||||
bindsym $mod+Shift+numbersign move container to workspace 3: Edit
|
bindsym $mod+Shift+numbersign move container to workspace 3: Edit
|
||||||
@@ -247,12 +251,12 @@ bindsym $mod+n exec i3-input -F 'rename workspace to %s' -P 'New name: '
|
|||||||
# }
|
# }
|
||||||
# }
|
# }
|
||||||
# class border backgr. text indicator
|
# class border backgr. text indicator
|
||||||
client.focused #4c7899 #4c7899 fefef #93a1a1 #2e9ef4
|
client.focused #4c7899 #4c7899 #fefef #93a1a1 #2e9ef4
|
||||||
client.focused_inactive #4c7899 #101010 #93a1a1 #484e50
|
client.focused_inactive #4c7899 #101010 #93a1a1 #484e50
|
||||||
client.unfocused #ffffff #101010 #93a1a1 #292d2e
|
client.unfocused #ffffff #101010 #93a1a1 #292d2e
|
||||||
client.urgent #2f343a #101010 #93a1a1 #900000
|
client.urgent #2f343a #101010 #93a1a1 #900000
|
||||||
|
|
||||||
default_border pixel 5
|
default_border pixel 3
|
||||||
# smart_borders on
|
# smart_borders on
|
||||||
workspace_layout tabbed
|
workspace_layout tabbed
|
||||||
|
|
||||||
@@ -287,15 +291,16 @@ assign [class="^Audacious$"] 6: Music
|
|||||||
assign [class="^Xchat$"] 7: Chat
|
assign [class="^Xchat$"] 7: Chat
|
||||||
#for_window [class="Pcmanfm"] floating enable
|
#for_window [class="Pcmanfm"] floating enable
|
||||||
|
|
||||||
workspace "1: Term" output DP1
|
workspace "0: Personal" output DP-2
|
||||||
workspace "2: Web" output DP1
|
workspace "1: Term" output DP-1
|
||||||
workspace "3: Edit" output DP1
|
workspace "2: Web" output DP-1
|
||||||
workspace "4: Viewer" output eDP1
|
workspace "3: Edit" output DP-1
|
||||||
workspace "5: Files" output eDP1
|
workspace "4: Viewer" output eDP-1
|
||||||
workspace "6: Music" output eDP1
|
workspace "5: Files" output eDP-1
|
||||||
workspace "7: Chat" output eDP1
|
workspace "6: Music" output eDP-1
|
||||||
workspace "8: Misc Big" output DP1
|
workspace "7: Chat" output eDP-1
|
||||||
workspace "9: Misc Small" output eDP1
|
workspace "8: Misc Big" output DP-1
|
||||||
|
workspace "9: Misc Small" output eDP-1
|
||||||
|
|
||||||
gaps inner 8
|
gaps inner 8
|
||||||
gaps outer 5
|
gaps outer 5
|
||||||
@@ -317,14 +322,14 @@ bindsym $mod+Delete mode "$mode_system"
|
|||||||
bindsym $mod+Escape exec xfce4-session-logout
|
bindsym $mod+Escape exec xfce4-session-logout
|
||||||
#exec --no-startup-id xautolock -corners '----' -time 10 -locker 'dm-tool lock' # lightdm
|
#exec --no-startup-id xautolock -corners '----' -time 10 -locker 'dm-tool lock' # lightdm
|
||||||
#exec xautolock -time 10 -corners "----" -locker 'i3lock -t -c 000000 -i ~/Pictures/Wallpapers/Game\ Over\ Hacker.png' &
|
#exec xautolock -time 10 -corners "----" -locker 'i3lock -t -c 000000 -i ~/Pictures/Wallpapers/Game\ Over\ Hacker.png' &
|
||||||
exec --no-startup-id compton -b --config ~/.compton.conf
|
exec --no-startup-id picom -b --config ~/.picom.conf
|
||||||
exec --no-startup-id dropbox start
|
exec --no-startup-id dropbox start
|
||||||
exec --no-startup-id i3-sensible-terminal --title=filemanager -e 'ranger'
|
exec --no-startup-id i3-sensible-terminal --title=filemanager -e 'ranger'
|
||||||
exec --no-startup-id nitrogen --restore
|
exec --no-startup-id nitrogen --restore
|
||||||
exec --no-startup-id nm-applet
|
exec --no-startup-id nm-applet
|
||||||
exec --no-startup-id pasystray
|
exec --no-startup-id pasystray
|
||||||
exec --no-startup-id syndaemon -i 0.5 -d
|
exec --no-startup-id syndaemon -i 0.5 -d
|
||||||
exec --no-startup-id i3-sensible-terminal --title=scratch -e 'tmux attach'
|
exec --no-startup-id i3-sensible-terminal --title=scratch -e 'tmux new-session -A -s scratch'
|
||||||
exec --no-startup-id i3-exit.sh autolock
|
exec --no-startup-id i3-exit.sh autolock
|
||||||
exec --no-startup-id xfce4-power-manager
|
exec --no-startup-id xfce4-power-manager
|
||||||
#exec --no-startup-id xfsettingsd --sm-client-disable &
|
#exec --no-startup-id xfsettingsd --sm-client-disable &
|
||||||
|
1
keep/.keep/commands.json
Normal file
1
keep/.keep/commands.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"pandoc --filter pandoc-include-code -i index.md --metadata pagetitle=yourtitle -s --highlight-style=pygments -o index.docx": {"desc": "generate docx (Word, Office) from a markdown file with code highlighting", "alias": "md2doc"}}
|
1
keep/.keep/update_check.txt
Normal file
1
keep/.keep/update_check.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
06/21/2019
|
8
kitty/.config/kitty/open-actions.conf
Normal file
8
kitty/.config/kitty/open-actions.conf
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
protocol file
|
||||||
|
mime image/*
|
||||||
|
action launch --type=overlay kitten icat --hold ${FILE_PATH}
|
||||||
|
|
||||||
|
protocol file
|
||||||
|
ext log
|
||||||
|
action launch --title ${FILE} --type=os-window tail -f ${FILE_PATH}
|
||||||
|
action change_font_size current -2
|
15
not_dots/52-tablet.conf
Normal file
15
not_dots/52-tablet.conf
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# Config for the HUION tablet
|
||||||
|
#
|
||||||
|
## Install:
|
||||||
|
# yay linux-headers
|
||||||
|
# yay digimend
|
||||||
|
## To also control the buttons, install wacom and use xsetwacom
|
||||||
|
# yay wacom
|
||||||
|
|
||||||
|
Section "InputClass"
|
||||||
|
Identifier "Huion on wacom"
|
||||||
|
# MatchIsTablet "on"
|
||||||
|
MatchProduct "HUION"
|
||||||
|
MatchDevicePath "/dev/input/event*"
|
||||||
|
Driver "wacom"
|
||||||
|
EndSection
|
332
nvim/.config/nvim/init.vim
Normal file
332
nvim/.config/nvim/init.vim
Normal file
@@ -0,0 +1,332 @@
|
|||||||
|
"Balkian
|
||||||
|
|
||||||
|
" Auto-install plug-vim
|
||||||
|
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
|
||||||
|
!curl -fLo $HOME/.local/share/nvim/site/autoload/plug.vim --create-dirs "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
|
||||||
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||||
|
endif
|
||||||
|
|
||||||
|
"set nocompatible " be iMproved
|
||||||
|
"filetype off " required!
|
||||||
|
|
||||||
|
|
||||||
|
call plug#begin(stdpath('data') . '/plugged')
|
||||||
|
echo stdpath('data')
|
||||||
|
|
||||||
|
Plug 'gmarik/vundle'
|
||||||
|
Plug 'LaTeX-Box-Team/LaTeX-Box'
|
||||||
|
Plug 'tpope/vim-repeat'
|
||||||
|
Plug 'tpope/vim-unimpaired'
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
Plug 'tpope/vim-surround'
|
||||||
|
Plug 'tpope/vim-abolish'
|
||||||
|
Plug 'scrooloose/nerdtree'
|
||||||
|
Plug 'scrooloose/nerdcommenter'
|
||||||
|
Plug 'scrooloose/syntastic'
|
||||||
|
Plug 'ervandew/supertab'
|
||||||
|
Plug 'majutsushi/tagbar'
|
||||||
|
Plug 'MarcWeber/vim-addon-mw-utils'
|
||||||
|
" for vim-snippets
|
||||||
|
Plug 'tomtom/tlib_vim'
|
||||||
|
Plug 'honza/vim-snippets'
|
||||||
|
Plug 'garbas/vim-snipmate'
|
||||||
|
Plug 'mattn/webapi-vim'
|
||||||
|
Plug 'mattn/gist-vim'
|
||||||
|
Plug 'klen/python-mode'
|
||||||
|
Plug 'ivanov/vim-ipython'
|
||||||
|
Plug 'jamessan/vim-gnupg'
|
||||||
|
Plug 'Lokaltog/vim-easymotion'
|
||||||
|
Plug 'vim-scripts/YankRing.vim'
|
||||||
|
Plug 'kien/ctrlp.vim'
|
||||||
|
Plug 'sgur/ctrlp-extensions.vim'
|
||||||
|
Plug 'sjl/gundo.vim'
|
||||||
|
Plug 'bling/vim-airline'
|
||||||
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
Plug 'xolox/vim-misc'
|
||||||
|
Plug 'xolox/vim-notes'
|
||||||
|
Plug 'beloglazov/vim-online-thesaurus'
|
||||||
|
Plug 'vim-scripts/ShowMarks'
|
||||||
|
Plug 'atweiden/vim-dragvisuals'
|
||||||
|
"Plug 'tomasr/molokai'
|
||||||
|
Plug 'chriskempson/base16-vim'
|
||||||
|
Plug 'elzr/vim-json'
|
||||||
|
Plug 'Rykka/riv.vim'
|
||||||
|
Plug 'niklasl/vim-rdf'
|
||||||
|
Plug 'lepture/vim-jinja'
|
||||||
|
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
filetype plugin indent on " required!
|
||||||
|
|
||||||
|
set hidden " To start working with buffers instead of tabs
|
||||||
|
|
||||||
|
"highlight SpecialKey ctermfg=DarkGray
|
||||||
|
set listchars=tab:>-,trail:~
|
||||||
|
set list
|
||||||
|
set tabstop=4
|
||||||
|
set softtabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
|
||||||
|
au FileType py set textwidth=79
|
||||||
|
au FileType html set tabstop=2 shiftwidth=2
|
||||||
|
autocmd Filetype javascript set ts=4 sts=4 sw=4 expandtab smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
|
||||||
|
set expandtab
|
||||||
|
set smarttab
|
||||||
|
set autoindent
|
||||||
|
set smartindent
|
||||||
|
syntax on
|
||||||
|
set ignorecase
|
||||||
|
set smartcase
|
||||||
|
set number
|
||||||
|
"set paste
|
||||||
|
set mouse=a
|
||||||
|
set autochdir
|
||||||
|
set showmatch
|
||||||
|
set incsearch
|
||||||
|
set hlsearch
|
||||||
|
|
||||||
|
set ruler
|
||||||
|
set wildmenu
|
||||||
|
set autoread
|
||||||
|
|
||||||
|
" faster commands
|
||||||
|
noremap <space> :
|
||||||
|
" Better Map Leader
|
||||||
|
let mapleader=","
|
||||||
|
noremap \ ,
|
||||||
|
|
||||||
|
" Commenting blocks of code. I don't need it with NerdCommenter
|
||||||
|
" autocmd FileType c,cpp,java,scala,javascript let b:comment_leader = '// '
|
||||||
|
" autocmd FileType sh,ruby,python let b:comment_leader = '# '
|
||||||
|
" autocmd FileType conf,fstab let b:comment_leader = '# '
|
||||||
|
" autocmd FileType tex let b:comment_leader = '% '
|
||||||
|
" autocmd FileType mail let b:comment_leader = '> '
|
||||||
|
" autocmd FileType vim let b:comment_leader = '" '
|
||||||
|
" noremap <silent> ,cc :<C-B>silent <C-E>s/^/<C-R>=escape(b:comment_leader,'\/')<CR>/<CR>:nohlsearch<CR>
|
||||||
|
" noremap <silent> ,cu :<C-B>silent <C-E>s/^\V<C-R>=escape(b:comment_leader,'\/')<CR>//e<CR>:nohlsearch<CR>
|
||||||
|
"
|
||||||
|
map <leader>p "+gp
|
||||||
|
map <leader>P "+gP
|
||||||
|
noremap <C-S> :w<CR>
|
||||||
|
imap <C-S> <C-O>:w<CR>
|
||||||
|
|
||||||
|
"Custom maps
|
||||||
|
noremap <Leader>n :NERDTreeToggle<CR>
|
||||||
|
noremap <Leader>t :TagbarOpen fj<CR>
|
||||||
|
noremap <Leader>f :CtrlPMixed<CR>
|
||||||
|
noremap <Leader>b :CtrlPBookmarkDir<CR>
|
||||||
|
noremap <Leader>l :CtrlPLine<CR>
|
||||||
|
"Omni
|
||||||
|
|
||||||
|
set completeopt=longest,menuone
|
||||||
|
inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
|
||||||
|
inoremap <expr> <C-n> pumvisible() ? '<C-n>' :
|
||||||
|
\ '<C-n><C-r>=pumvisible() ? "\<lt>Down>" : ""<CR>'
|
||||||
|
inoremap <expr> <M-,> pumvisible() ? '<C-n>' :
|
||||||
|
\ '<C-x><C-o><C-n><C-p><C-r>=pumvisible() ? "\<lt>Down>" : ""<CR>'
|
||||||
|
inoremap <expr> <C-Space> (pumvisible() ? (col('.') > 1 ? '<Esc>i<Right>' : '<Esc>i') : '') .
|
||||||
|
\ '<C-x><C-o><C-r>=pumvisible() ? "\<lt>C-n>\<lt>C-p>\<lt>Down>" : ""<CR>'
|
||||||
|
set spell spelllang=en_gb
|
||||||
|
|
||||||
|
" tab navigation like firefox
|
||||||
|
nnoremap <C-S-tab> :tabprevious<CR>
|
||||||
|
nnoremap <C-tab> :tabnext<CR>
|
||||||
|
nnoremap <C-t> :tabnew<CR>
|
||||||
|
inoremap <C-S-tab> <Esc>:tabprevious<CR>i
|
||||||
|
inoremap <C-tab> <Esc>:tabnext<CR>i
|
||||||
|
"inoremap <C-t> <Esc>:tabnew<CR>
|
||||||
|
nnoremap <Leader>dd :bd<CR>
|
||||||
|
|
||||||
|
|
||||||
|
" Save sessions
|
||||||
|
function! RestoreSession()
|
||||||
|
if argc() == 0 "vim called without arguments
|
||||||
|
execute 'source ~/.vim/Session.vim'
|
||||||
|
end
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
nmap Sq <ESC>:mksession! ~/.vim/Session.vim<CR>:qa!<CR>
|
||||||
|
nmap SQ <ESC>:mksession! ~/.vim/Session.vim<CR>:wqa<CR>
|
||||||
|
nmap SO :so ~/.vim/Session.vim<CR>
|
||||||
|
|
||||||
|
set sessionoptions+=resize,winpos
|
||||||
|
|
||||||
|
"autocmd VimEnter * call RestoreSession()
|
||||||
|
|
||||||
|
"Make tabs and buffers work better
|
||||||
|
":se switchbuf=usetab,newtab
|
||||||
|
|
||||||
|
" Color and shit
|
||||||
|
"set t_Co=256
|
||||||
|
"set background=dark
|
||||||
|
"colo solarized
|
||||||
|
colo base16-tomorrow-night
|
||||||
|
"hi SpellBad ctermfg=Red
|
||||||
|
|
||||||
|
"Statusline
|
||||||
|
|
||||||
|
set statusline=%t%h%m%r%y%{fugitive#statusline()}\%=[%{strlen(&fenc)?&fenc:'none'},%{&ff}]\ \ %c,%l/%L\ %P
|
||||||
|
set laststatus=2
|
||||||
|
|
||||||
|
" Now that I use Airline, there is no need for this :)
|
||||||
|
"function! InsertStatuslineColor(mode)
|
||||||
|
"if a:mode == 'i'
|
||||||
|
"hi statusline guibg=Red ctermbg=Red guifg=White ctermfg=White
|
||||||
|
"elseif a:mode == 'r'
|
||||||
|
"hi statusline guibg=Blue ctermfg=White guifg=White ctermbg=Blue
|
||||||
|
"else
|
||||||
|
"hi statusline ctermbg=Yellow guibg=Yellow ctermfg=Black guifg=Black
|
||||||
|
"endif
|
||||||
|
"endfunction
|
||||||
|
|
||||||
|
"call InsertStatuslineColor('')
|
||||||
|
"au InsertEnter * call InsertStatuslineColor(v:insertmode)
|
||||||
|
"au InsertLeave * call InsertStatuslineColor('')
|
||||||
|
|
||||||
|
au BufRead,BufNewFile *.md set filetype=markdown
|
||||||
|
|
||||||
|
"Diff the buffer and the original
|
||||||
|
command DiffOrig let g:diffline = line('.') | vert new | set bt=nofile | r # | 0d_ | diffthis | :exe "norm! ".g:diffline."G" | wincmd p | diffthis | wincmd p
|
||||||
|
nnoremap <Leader>do :DiffOrig<cr>
|
||||||
|
nnoremap <leader>dc :q<cr>:diffoff<cr>:exe "norm! ".g:diffline."G"<cr>
|
||||||
|
|
||||||
|
set guifont=DejaVu\ Sans\ Mono
|
||||||
|
|
||||||
|
set foldmethod=syntax
|
||||||
|
set foldclose=all
|
||||||
|
set foldopen+=insert,jump
|
||||||
|
set nofoldenable
|
||||||
|
|
||||||
|
" Matching for html
|
||||||
|
if !exists('g:loaded_matchit') && findfile('plugin/matchit.vim', &rtp) ==# ''
|
||||||
|
runtime! macros/matchit.vim
|
||||||
|
endif
|
||||||
|
|
||||||
|
""""""""""""""""""""
|
||||||
|
" GnuPG Extensions "
|
||||||
|
""""""""""""""""""""
|
||||||
|
|
||||||
|
" Tell the GnuPG plugin to armor new files.
|
||||||
|
let g:GPGPreferArmor=1
|
||||||
|
|
||||||
|
" Tell the GnuPG plugin to sign new files.
|
||||||
|
let g:GPGPreferSign=1
|
||||||
|
|
||||||
|
augroup GnuPGExtra
|
||||||
|
" Set extra file options.
|
||||||
|
autocmd BufReadCmd,FileReadCmd *.\(gpg\|asc\|pgp\) call SetGPGOptions()
|
||||||
|
" Automatically close unmodified files after inactivity.
|
||||||
|
autocmd CursorHold *.\(gpg\|asc\|pgp\) quit
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
function SetGPGOptions()
|
||||||
|
" Set updatetime to 1 minute.
|
||||||
|
set updatetime=60000
|
||||||
|
" Fold at markers.
|
||||||
|
"set foldmethod=marker
|
||||||
|
setlocal foldmethod=expr
|
||||||
|
setlocal foldexpr=(getline(v:lnum)=~'^$')?-1:((indent(v:lnum)<indent(v:lnum+1))?('>'.indent(v:lnum+1)):indent(v:lnum))
|
||||||
|
set foldtext=getline(v:foldstart)
|
||||||
|
|
||||||
|
" Automatically close all folds.
|
||||||
|
set foldclose=all
|
||||||
|
" Only open folds with insert commands.
|
||||||
|
set foldopen=insert
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
" CtrlP
|
||||||
|
" Do not clear the file cache on exit
|
||||||
|
let g:ctrlp_clear_cache_on_exit = 0
|
||||||
|
let g:ctrlp_extensions = [ 'mixed' ]
|
||||||
|
let g:ctrlp_regexp = 0
|
||||||
|
let g:ctrlp_cmd = 'CtrlPMixed'
|
||||||
|
|
||||||
|
" Git things
|
||||||
|
nmap <leader>gs :Gstatus<cr>
|
||||||
|
nmap <leader>gd :Gdiff<cr>
|
||||||
|
nmap <leader>gl :Glog<cr>
|
||||||
|
|
||||||
|
" Gundo magic
|
||||||
|
nnoremap <leader>u :GundoToggle<CR>
|
||||||
|
|
||||||
|
" YankRing+Ctrl-P
|
||||||
|
map <leader>y :YRShow<CR>
|
||||||
|
let g:yankring_replace_n_pkey = '<c-j>'
|
||||||
|
let g:yankring_replace_n_nkey = '<c-k>'
|
||||||
|
|
||||||
|
|
||||||
|
let g:airline_left_sep=''
|
||||||
|
let g:airline_right_sep='|'
|
||||||
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
let g:airline#extensions#tabline#left_sep = ' '
|
||||||
|
let g:airline#extensions#tabline#left_alt_sep = '|'
|
||||||
|
let g:airline_theme='base16'
|
||||||
|
|
||||||
|
" Notes
|
||||||
|
:let g:notes_directories = ['~/Dropbox/Notes']
|
||||||
|
|
||||||
|
" Block move
|
||||||
|
vmap <expr> <LEFT> DVB_Drag('left')
|
||||||
|
vmap <expr> <RIGHT> DVB_Drag('right')
|
||||||
|
vmap <expr> <DOWN> DVB_Drag('down')
|
||||||
|
vmap <expr> <UP> DVB_Drag('up')
|
||||||
|
vmap <expr> D DVB_Duplicate()
|
||||||
|
|
||||||
|
function! s:get_visual_selection()
|
||||||
|
" Why is this not a built-in Vim script function?!
|
||||||
|
let [lnum1, col1] = getpos("'<")[1:2]
|
||||||
|
let [lnum2, col2] = getpos("'>")[1:2]
|
||||||
|
let lines = getline(lnum1, lnum2)
|
||||||
|
let lines[-1] = lines[-1][: col2 - (&selection == 'inclusive' ? 1 : 2)]
|
||||||
|
let lines[0] = lines[0][col1 - 1:]
|
||||||
|
return join(lines, "\n")
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
" Thesaurus
|
||||||
|
let g:online_thesaurus_map_keys = 0
|
||||||
|
nnoremap <leader>k :OnlineThesaurusCurrentWord<CR>
|
||||||
|
vnoremap <leader>k <Esc>:Thesaurus <C-R><C-R>=<SID>get_visual_selection()<CR><CR>
|
||||||
|
|
||||||
|
" Resizing
|
||||||
|
nnoremap <silent> <Leader>+ :exe "resize " . (winheight(0) * 3/2)<CR>
|
||||||
|
nnoremap <silent> <Leader>- :exe "resize " . (winheight(0) * 2/3)<CR>
|
||||||
|
nnoremap <silent> <Leader>+ :exe "resize " . (winheight(0) * 3/2)<CR>
|
||||||
|
nnoremap <silent> <Leader>> :exe "vertical resize " . (winwidth(0) * 3/2)<CR>
|
||||||
|
nnoremap <silent> <Leader>< :exe "vertical resize " . (winwidth(0) * 2/3)<CR>
|
||||||
|
|
||||||
|
" Clipboard magic
|
||||||
|
if has('unnamedplus')
|
||||||
|
set clipboard=unnamed,unnamedplus
|
||||||
|
endif
|
||||||
|
|
||||||
|
set cursorline
|
||||||
|
|
||||||
|
set guioptions-=m "remove menu bar
|
||||||
|
set guioptions-=T "remove toolbar
|
||||||
|
set guioptions-=r "remove right-hand scroll bar
|
||||||
|
set guioptions-=L "remove left-hand scroll bar
|
||||||
|
|
||||||
|
let g:pymode_rope_project_root = "~/.ropeprojects"
|
||||||
|
|
||||||
|
" backup to ~/.tmp
|
||||||
|
set backup
|
||||||
|
set backupdir=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp
|
||||||
|
set backupskip=/tmp/*,/private/tmp/*
|
||||||
|
set directory=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp
|
||||||
|
set writebackup
|
||||||
|
|
||||||
|
" Easymotion
|
||||||
|
let g:EasyMotion_do_mapping = 0 " Disable default mappings
|
||||||
|
|
||||||
|
" Bi-directional find motion
|
||||||
|
" Jump to anywhere you want with minimal keystrokes, with just one key binding.
|
||||||
|
" `s{char}{label}`
|
||||||
|
nmap s <Plug>(easymotion-s)
|
||||||
|
nmap <Leader>w <Plug>(easymotion-bd-w)
|
||||||
|
" or
|
||||||
|
" `s{char}{char}{label}`
|
||||||
|
" Need one more keystroke, but on average, it may be more comfortable.
|
||||||
|
nmap s <Plug>(easymotion-s2)
|
||||||
|
|
||||||
|
" Turn on case sensitive feature
|
||||||
|
let g:EasyMotion_smartcase = 1
|
@@ -24,12 +24,12 @@ shadow-exclude = [
|
|||||||
# Opacity
|
# Opacity
|
||||||
#mark-override-focused = true;
|
#mark-override-focused = true;
|
||||||
#menu-opacity = 0.9;
|
#menu-opacity = 0.9;
|
||||||
inactive-opacity = 0.95;
|
# inactive-opacity = 0.95;
|
||||||
# active-opacity = 0.8;
|
# active-opacity = 0.8;
|
||||||
# frame-opacity = 0.7;
|
# frame-opacity = 0.7;
|
||||||
inactive-opacity-override = false;
|
inactive-opacity-override = false;
|
||||||
alpha-step = 0.06;
|
#alpha-step = 0.06;
|
||||||
inactive-dim = 0.2;
|
inactive-dim = 0.4;
|
||||||
#inactive-dim-fixed = false;
|
#inactive-dim-fixed = false;
|
||||||
# blur-background = true;
|
# blur-background = true;
|
||||||
# blur-background-frame = true;
|
# blur-background-frame = true;
|
||||||
@@ -43,7 +43,13 @@ blur-background-exclude = [
|
|||||||
];
|
];
|
||||||
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||||
#
|
#
|
||||||
opacity-rule = [ "99:_NET_WM_STATE@:32a = '_NET_WM_STATE_FULLSCREEN'" ];
|
opacity-rule = [
|
||||||
|
"99:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'",
|
||||||
|
"99:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'",
|
||||||
|
"99:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'",
|
||||||
|
"99:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'",
|
||||||
|
"99:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'",
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -66,13 +72,21 @@ detect-client-opacity = true;
|
|||||||
refresh-rate = 0;
|
refresh-rate = 0;
|
||||||
vsync = "none";
|
vsync = "none";
|
||||||
dbe = false;
|
dbe = false;
|
||||||
paint-on-overlay = true;
|
#paint-on-overlay = true;
|
||||||
# sw-opti = true;
|
# sw-opti = true;
|
||||||
# unredir-if-possible = true;
|
unredir-if-possible = true;
|
||||||
# unredir-if-possible-delay = 5000;
|
# unredir-if-possible-delay = 5000;
|
||||||
# unredir-if-possible-exclude = [ ];
|
# unredir-if-possible-exclude = [ ];
|
||||||
focus-exclude = [ "class_g = 'Cairo-clock'",
|
focus-exclude = [ "class_g = 'Cairo-clock'",
|
||||||
"class_g = 'Popcorn Time'" ];
|
"class_g = 'Popcorn Time'",
|
||||||
|
# "class_g = 'firefox'",
|
||||||
|
# prevents dimming fullscreen windows
|
||||||
|
"_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_FULLSCREEN'",
|
||||||
|
"_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_FULLSCREEN'",
|
||||||
|
"_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'",
|
||||||
|
"_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'",
|
||||||
|
"_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'",
|
||||||
|
];
|
||||||
detect-transient = true;
|
detect-transient = true;
|
||||||
detect-client-leader = false;
|
detect-client-leader = false;
|
||||||
invert-color-include = [ ];
|
invert-color-include = [ ];
|
11
ranger/.config/ranger/bookmarks.new
Normal file
11
ranger/.config/ranger/bookmarks.new
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
F:/home/j
|
||||||
|
f:/home/j
|
||||||
|
m:/home/j/Downloads
|
||||||
|
p:/home/j/Doctorado/Papers
|
||||||
|
s:/home/j/Doctorado/Papers/SocialContext
|
||||||
|
d:/home/j/Downloads
|
||||||
|
D:/home/j/Doctorado
|
||||||
|
o:/home/j/Downloads
|
||||||
|
g:/home/j/git/balkian
|
||||||
|
G:/home/j/GSI
|
||||||
|
j:/home/j/Downloads
|
@@ -270,7 +270,7 @@ map ! console shell%space
|
|||||||
map @ console -p6 shell %%s
|
map @ console -p6 shell %%s
|
||||||
map # console shell -p%space
|
map # console shell -p%space
|
||||||
map s console shell%space
|
map s console shell%space
|
||||||
map r chain draw_possible_programs; console open_with%%space
|
map r chain draw_possible_programs; console open_with%space
|
||||||
map f console find%space
|
map f console find%space
|
||||||
map cd console cd%space
|
map cd console cd%space
|
||||||
|
|
||||||
@@ -414,7 +414,11 @@ map cm search_next order=mtime
|
|||||||
map ca search_next order=atime
|
map ca search_next order=atime
|
||||||
|
|
||||||
|
|
||||||
map <C-t> terminal
|
map <C-T> terminal
|
||||||
|
map T eval fm.execute_console("shell tmux send-keys -t 1 'cd " + str(fm.thisdir) + "' 'Enter' \; select-pane -t 1") if 'TMUX' in os.environ.keys() else fm.execute_console("terminal")
|
||||||
|
#map <C-e> eval cmd("myemacs -n {0}".format(f.thisfile.relative_path))
|
||||||
|
map <C-e> shell myemacs -n %s
|
||||||
|
copymap <C-e> e
|
||||||
# Tabs
|
# Tabs
|
||||||
map <C-n> tab_new ~
|
map <C-n> tab_new ~
|
||||||
map <C-w> tab_close
|
map <C-w> tab_close
|
||||||
|
@@ -83,9 +83,10 @@ ext x?html?, has w3m, terminal = w3m "$@"
|
|||||||
# Misc
|
# Misc
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
# Define the "editor" for text files as first action
|
# Define the "editor" for text files as first action
|
||||||
mime ^text, label editor = myemacs "-nc" -- "$@"
|
mime ^text, label editor = $VISUAL -- "$@"
|
||||||
mime ^text, label pager = "$PAGER" -- "$@"
|
mime ^text, label pager = "$PAGER" -- "$@"
|
||||||
!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php = myemacs "-nc" -- "$@"
|
mime ^text, label external = $VISUAL -nc -- "$@"
|
||||||
|
!mime ^text, label editor, ext xml|json|csv|tex|py|pl|rb|js|sh|php = $VISUAL -- "$@"
|
||||||
!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
|
!mime ^text, label pager, ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
|
||||||
|
|
||||||
ext 1 = man "$1"
|
ext 1 = man "$1"
|
||||||
@@ -204,7 +205,7 @@ label wallpaper, number 14, mime ^image, has feh, X = feh --bg-fill "$1"
|
|||||||
|
|
||||||
# Define the editor for non-text files + pager as last action
|
# Define the editor for non-text files + pager as last action
|
||||||
!mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = ask
|
!mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = ask
|
||||||
label editor, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = myemacs "-nc" -- "$@"
|
label editor, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = $VISUAL -- "$@"
|
||||||
label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
|
label pager, !mime ^text, !ext xml|json|csv|tex|py|pl|rb|js|sh|php = "$PAGER" -- "$@"
|
||||||
|
|
||||||
# The very last action, so that it's never triggered accidentally, is to execute a program:
|
# The very last action, so that it's never triggered accidentally, is to execute a program:
|
||||||
|
2
screenlayouts/.screenlayout/auto.sh
Normal file
2
screenlayouts/.screenlayout/auto.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --auto
|
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
xrandr --output VIRTUAL1 --off --output eDP-1 --mode 1920x1080 --pos 328x1080 --rotate normal --output DP-1 --primary --mode 2560x1080 --pos 0x0 --rotate normal --output HDMI-2 --off --output HDMI-1 --off --output DP-2 --off
|
xrandr --output eDP-1-1 --primary --mode 1920x1080 --pos 320x1080 --rotate normal --output DP-1-1 --mode 2560x1080 --pos 0x0 --rotate normal --output HDMI-1-1 --off --output DP-1-2 --off --output HDMI-1-2 --off
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
xrandr --output HDMI1 --off --output DVI-1 --off --output DP-1 --off --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output VGA1 --off
|
xrandr --output HDMI1 --off --output DVI-1 --off --output DP-1 --off --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output VGA1 --off --auto
|
||||||
|
2
screenlayouts/.screenlayout/triple-screen.sh
Executable file
2
screenlayouts/.screenlayout/triple-screen.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
xrandr --output eDP-1 --primary --mode 1920x1080 --pos 2240x1080 --rotate normal --output DP-1 --off --output HDMI-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-2 --mode 2560x1080 --pos 1920x0 --rotate normal --output HDMI-2 --off
|
19
scripts/.bin/btmenu
Executable file
19
scripts/.bin/btmenu
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if command -v myrofi >/dev/null 2>&1;
|
||||||
|
then
|
||||||
|
program="myrofi -no-show-icons -dmenu"
|
||||||
|
else
|
||||||
|
program="dmenu"
|
||||||
|
fi
|
||||||
|
|
||||||
|
bluetoothctl power on
|
||||||
|
bluetoothctl agent on
|
||||||
|
bluetoothctl default-agent
|
||||||
|
# bluetoothctl scan on
|
||||||
|
list=$(bluetoothctl paired-devices);
|
||||||
|
device=$(echo -ne "$list" | cut -d' ' -f 3- | $program "$@" )
|
||||||
|
|
||||||
|
addr=$(echo "$list" | grep "$device" | cut -d' ' -f2)
|
||||||
|
|
||||||
|
bluetoothctl connect "$addr"
|
4
scripts/.bin/colors.sh
Executable file
4
scripts/.bin/colors.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
for i in {0..255} ; do
|
||||||
|
printf "\x1b[38;5;${i}mcolour${i}\n"
|
||||||
|
done
|
@@ -21,12 +21,11 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v rofi >/dev/null 2>&1;
|
if command -v myrofi >/dev/null 2>&1;
|
||||||
then
|
then
|
||||||
launcher="rofi -dmenu -i -mesg '""$input""'"
|
myrofi -show file-browser $input
|
||||||
else
|
else
|
||||||
launcher="dmenu -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191
|
launcher="dmenu -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191
|
||||||
|
# find "$input" -maxdepth 1 ! -path "$input" -print | sh -c "$launcher" | xargs $0
|
||||||
|
ls -t1 "$input" | sh -c "$launcher" | xargs -I '{}' $0 "$input/{}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# find "$input" -maxdepth 1 ! -path "$input" -print | sh -c "$launcher" | xargs $0
|
|
||||||
ls -t1 "$input" | sh -c "$launcher" | xargs -I '{}' $0 "$input/{}"
|
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
one-window 'gnome-terminal' 'xdotool windowfocus $WID & xdotool key ctrl+shift+t'
|
|
2
scripts/.bin/myrofi
Executable file
2
scripts/.bin/myrofi
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#1/bin/sh
|
||||||
|
rofi -theme ~/.bin/rofi-slate-theme.rasi -i "$@"
|
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if command -v rofi >/dev/null 2>&1;
|
if command -v myrofi >/dev/null 2>&1;
|
||||||
then
|
then
|
||||||
launcher="rofi -dmenu -i -mesg '""$input""'"
|
launcher="myrofi -dmenu -no-show-icons -i -mesg '""$input""'"
|
||||||
else
|
else
|
||||||
launcher="dmenu -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191
|
launcher="dmenu -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191
|
||||||
fi
|
fi
|
||||||
|
@@ -3,9 +3,9 @@
|
|||||||
shopt -s nullglob globstar
|
shopt -s nullglob globstar
|
||||||
|
|
||||||
|
|
||||||
if command -v rofi >/dev/null 2>&1;
|
if command -v myrofi >/dev/null 2>&1;
|
||||||
then
|
then
|
||||||
program="rofi -dmenu"
|
program="myrofi -no-show-icons -dmenu"
|
||||||
else
|
else
|
||||||
program="dmenu"
|
program="dmenu"
|
||||||
fi
|
fi
|
||||||
|
@@ -6,10 +6,8 @@ killall -q polybar
|
|||||||
# Wait until the processes have been shut down
|
# Wait until the processes have been shut down
|
||||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
if type "xrandr"; then
|
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
MONITOR=$m polybar --reload main &
|
||||||
MONITOR=$m polybar --reload main &
|
done
|
||||||
done
|
|
||||||
else
|
|
||||||
polybar --reload main &
|
polybar --reload main &
|
||||||
fi
|
fi
|
||||||
|
9
scripts/.bin/remove-old-snaps.sh
Normal file
9
scripts/.bin/remove-old-snaps.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Removes old revisions of snaps
|
||||||
|
# CLOSE ALL SNAPS BEFORE RUNNING THIS
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
LANG=C snap list --all | awk '/disabled/{print $1, $3}' |
|
||||||
|
while read snapname revision; do
|
||||||
|
snap remove "$snapname" --revision="$revision"
|
||||||
|
done
|
36
scripts/.bin/rofi-black-colors.rasi
Normal file
36
scripts/.bin/rofi-black-colors.rasi
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
/* -- Gray -- */
|
||||||
|
|
||||||
|
* {
|
||||||
|
shade1: #000000;
|
||||||
|
shade2: #050505;
|
||||||
|
shade3: #101010;
|
||||||
|
shade4: #151515;
|
||||||
|
shade5: #202020;
|
||||||
|
shade6: #252525;
|
||||||
|
shade7: #303030;
|
||||||
|
shade8: #353535;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**** Comment One First To Use Another ****/
|
||||||
|
|
||||||
|
/* -- Dark -- */
|
||||||
|
* {
|
||||||
|
border: @shade2;
|
||||||
|
border-alt: @shade3;
|
||||||
|
background: @shade4;
|
||||||
|
background-alt: @shade5;
|
||||||
|
selected: @shade5;
|
||||||
|
foreground: #ffffff;
|
||||||
|
urgent: #DA4453;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -- light -- */
|
||||||
|
* {
|
||||||
|
border: @shade8;
|
||||||
|
border-alt: @shade7;
|
||||||
|
background: @shade6;
|
||||||
|
background-alt: @shade6;
|
||||||
|
selected: @shade5;
|
||||||
|
foreground: #ffffff;
|
||||||
|
urgent: #DA4453;
|
||||||
|
}
|
139
scripts/.bin/rofi-slate-theme.rasi
Normal file
139
scripts/.bin/rofi-slate-theme.rasi
Normal file
@@ -0,0 +1,139 @@
|
|||||||
|
/*
|
||||||
|
* Based on a theme by:
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya
|
||||||
|
* Mail : adi1090x@gmail.com
|
||||||
|
* Github : @adi1090x
|
||||||
|
* Twitter : @adi1090x
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
configuration {
|
||||||
|
font: "FantasqueSansMono Nerd Font 10";
|
||||||
|
show-icons: true;
|
||||||
|
icon-theme: "Papirus";
|
||||||
|
display-drun: "";
|
||||||
|
drun-display-format: "{name}";
|
||||||
|
disable-history: false;
|
||||||
|
fullscreen: false;
|
||||||
|
hide-scrollbar: false;
|
||||||
|
sidebar-mode: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@import "rofi-black-colors.rasi"
|
||||||
|
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
|
border: 2% 1% 2% 1%;
|
||||||
|
border-color: @border;
|
||||||
|
border-radius: 0% 0% 0% 0%;
|
||||||
|
height: 70%;
|
||||||
|
width: 70%;
|
||||||
|
location: center;
|
||||||
|
x-offset: 0;
|
||||||
|
y-offset: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 0% 1% 0% 0%;
|
||||||
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
|
font: "FantasqueSansMono Nerd Font 12";
|
||||||
|
}
|
||||||
|
|
||||||
|
entry {
|
||||||
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
|
placeholder-color: @foreground;
|
||||||
|
expand: true;
|
||||||
|
horizontal-align: 0;
|
||||||
|
placeholder: "Search";
|
||||||
|
padding: 0.15% 0% 0% 0%;
|
||||||
|
blink: true;
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
children: [ prompt, entry ];
|
||||||
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
|
expand: false;
|
||||||
|
border: 0% 0% 0.3% 0%;
|
||||||
|
border-radius: 0% 0% 0% 0%;
|
||||||
|
border-color: @border-alt;
|
||||||
|
margin: 0% 38.25% 0% 0%;
|
||||||
|
padding: 1%;
|
||||||
|
position: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
background-color: @background;
|
||||||
|
columns: 8;
|
||||||
|
spacing: 1%;
|
||||||
|
cycle: false;
|
||||||
|
dynamic: true;
|
||||||
|
layout: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
background-color: @background;
|
||||||
|
border: 2% 1% 2% 1%;
|
||||||
|
border-radius: 0% 0% 0% 0%;
|
||||||
|
border-color: @border-alt;
|
||||||
|
children: [ inputbar, listview ];
|
||||||
|
spacing: 2%;
|
||||||
|
padding: 6% 3% 6% 3%;
|
||||||
|
}
|
||||||
|
|
||||||
|
element {
|
||||||
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
|
orientation: vertical;
|
||||||
|
border-radius: 0%;
|
||||||
|
padding: 1% 0% 1% 0%;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-icon {
|
||||||
|
size: 64px;
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-text {
|
||||||
|
expand: true;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
margin: 0.5% 1% 0% 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent {
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @foreground;
|
||||||
|
border-radius: 1%;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active {
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected {
|
||||||
|
background-color: @selected;
|
||||||
|
text-color: @foreground;
|
||||||
|
border: 0% 0% 0.3% 0%;
|
||||||
|
border-radius: 0% 0% 0% 0%;
|
||||||
|
border-color: @border-alt;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.active {
|
||||||
|
background-color: @background-alt;
|
||||||
|
color: @foreground;
|
||||||
|
}
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
if command -v rofi >/dev/null 2>&1;
|
if command -v rofi >/dev/null 2>&1;
|
||||||
then
|
then
|
||||||
launcher="rofi -show combi -combi-hide-mode-prefix -combi-modi drun,run"
|
launcher="rofi -show combi -combi-hide-mode-prefix -combi-modi window,drun,run -theme .bin/rofi-slate-theme.rasi"
|
||||||
else
|
else
|
||||||
launcher="dmenu_run -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191919" -sf "#b72f62" -b"
|
launcher="dmenu_run -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191919" -sf "#b72f62" -b"
|
||||||
fi
|
fi
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
one-window "terminator" "xdotool windowfocus \$WID & xdotool key ctrl+shift+t;" "/usr/bin/terminator $*"
|
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
if command -v rofi >/dev/null 2>&1;
|
if command -v rofi >/dev/null 2>&1;
|
||||||
then
|
then
|
||||||
program="rofi -show window"
|
program="rofi -show window -combi-hide-mode-prefix -combi-modi drun,run -theme .bin/rofi-slate-theme.rasi"
|
||||||
else
|
else
|
||||||
program="i3-winmenu.py"
|
program="i3-winmenu.py"
|
||||||
fi
|
fi
|
||||||
|
@@ -31,6 +31,8 @@ values."
|
|||||||
;; List of configuration layers to load.
|
;; List of configuration layers to load.
|
||||||
dotspacemacs-configuration-layers
|
dotspacemacs-configuration-layers
|
||||||
'(
|
'(
|
||||||
|
docker
|
||||||
|
rust
|
||||||
typescript
|
typescript
|
||||||
(auto-completion :variables
|
(auto-completion :variables
|
||||||
auto-completion-return-key-behavior 'complete
|
auto-completion-return-key-behavior 'complete
|
||||||
@@ -89,7 +91,9 @@ values."
|
|||||||
;; A list of packages that cannot be updated.
|
;; A list of packages that cannot be updated.
|
||||||
dotspacemacs-frozen-packages '()
|
dotspacemacs-frozen-packages '()
|
||||||
;; A list of packages that will not be installed and loaded.
|
;; A list of packages that will not be installed and loaded.
|
||||||
dotspacemacs-excluded-packages '()
|
dotspacemacs-excluded-packages '(
|
||||||
|
smartparens
|
||||||
|
)
|
||||||
;; Defines the behaviour of Spacemacs when installing packages.
|
;; Defines the behaviour of Spacemacs when installing packages.
|
||||||
;; Possible values are `used-only', `used-but-keep-unused' and `all'.
|
;; Possible values are `used-only', `used-but-keep-unused' and `all'.
|
||||||
;; `used-only' installs only explicitly used packages and uninstall any
|
;; `used-only' installs only explicitly used packages and uninstall any
|
||||||
@@ -158,18 +162,20 @@ values."
|
|||||||
;; Press <SPC> T n to cycle to the next theme in the list (works great
|
;; Press <SPC> T n to cycle to the next theme in the list (works great
|
||||||
;; with 2 themes variants, one dark and one light)
|
;; with 2 themes variants, one dark and one light)
|
||||||
dotspacemacs-themes '(
|
dotspacemacs-themes '(
|
||||||
|
sanityinc-tomorrow-night
|
||||||
|
monokai
|
||||||
leuven
|
leuven
|
||||||
spacemacs-dark
|
spacemacs-dark
|
||||||
minimal-light
|
minimal-light
|
||||||
tango-plus
|
tango-plus
|
||||||
dichromacy
|
dichromacy
|
||||||
ample
|
ample
|
||||||
sanityinc-tomorrow-night)
|
)
|
||||||
;; If non nil the cursor color matches the state color in GUI Emacs.
|
;; If non nil the cursor color matches the state color in GUI Emacs.
|
||||||
dotspacemacs-colorize-cursor-according-to-state t
|
dotspacemacs-colorize-cursor-according-to-state t
|
||||||
;; Default font, or prioritized list of fonts. `powerline-scale' allows to
|
;; Default font, or prioritized list of fonts. `powerline-scale' allows to
|
||||||
;; quickly tweak the mode-line size to make separators look not too crappy.
|
;; quickly tweak the mode-line size to make separators look not too crappy.
|
||||||
dotspacemacs-default-font '("DejaVu Sans Mono"
|
dotspacemacs-default-font '("Hack"
|
||||||
:size 14
|
:size 14
|
||||||
:weight normal
|
:weight normal
|
||||||
:width normal :powerline-scale 1.5)
|
:width normal :powerline-scale 1.5)
|
||||||
@@ -301,7 +307,7 @@ values."
|
|||||||
dotspacemacs-folding-method 'evil
|
dotspacemacs-folding-method 'evil
|
||||||
;; If non-nil smartparens-strict-mode will be enabled in programming modes.
|
;; If non-nil smartparens-strict-mode will be enabled in programming modes.
|
||||||
;; (default nil)
|
;; (default nil)
|
||||||
dotspacemacs-smartparens-strict-mode nil
|
;; dotspacemacs-smartparens-strict-mode nil
|
||||||
;; If non-nil pressing the closing parenthesis `)' key in insert mode passes
|
;; If non-nil pressing the closing parenthesis `)' key in insert mode passes
|
||||||
;; over any automatically added closing parenthesis, bracket, quote, etc…
|
;; over any automatically added closing parenthesis, bracket, quote, etc…
|
||||||
;; This can be temporary disabled by pressing `C-q' before `)'. (default nil)
|
;; This can be temporary disabled by pressing `C-q' before `)'. (default nil)
|
||||||
@@ -328,6 +334,15 @@ values."
|
|||||||
;; (default nil)
|
;; (default nil)
|
||||||
dotspacemacs-whitespace-cleanup nil
|
dotspacemacs-whitespace-cleanup nil
|
||||||
latex-enable-auto-fill nil
|
latex-enable-auto-fill nil
|
||||||
|
|
||||||
|
undo-tree-visualizer-timestamps t
|
||||||
|
undo-tree-visualizer-diff t
|
||||||
|
;; 10X bump of the undo limits to avoid issues with premature
|
||||||
|
;; Emacs GC which truncages the undo history very aggresively
|
||||||
|
undo-limit 800000
|
||||||
|
undo-strong-limit 12000000
|
||||||
|
undo-outer-limit 120000000
|
||||||
|
|
||||||
))
|
))
|
||||||
|
|
||||||
(defun dotspacemacs/user-init ()
|
(defun dotspacemacs/user-init ()
|
||||||
@@ -379,20 +394,37 @@ you should place your code here."
|
|||||||
'(ansi-color-faces-vector
|
'(ansi-color-faces-vector
|
||||||
[default bold shadow italic underline bold bold-italic bold])
|
[default bold shadow italic underline bold bold-italic bold])
|
||||||
'(beacon-color "#cc6666")
|
'(beacon-color "#cc6666")
|
||||||
|
'(compilation-message-face 'default)
|
||||||
'(custom-safe-themes
|
'(custom-safe-themes
|
||||||
(quote
|
'("a2cde79e4cc8dc9a03e7d9a42fabf8928720d420034b66aecc5b665bbf05d4e9" "cd4d1a0656fee24dc062b997f54d6f9b7da8f6dc8053ac858f15820f9a04a679" "a8245b7cc985a0610d71f9852e9f2767ad1b852c2bdea6f4aadc12cce9c4d6d0" "c3d4af771cbe0501d5a865656802788a9a0ff9cf10a7df704ec8b8ef69017c68" "06f0b439b62164c6f8f84fdda32b62fb50b6d00e8b01c2208e55543a6337433a" "190a9882bef28d7e944aa610aa68fe1ee34ecea6127239178c7ac848754992df" "3e335d794ed3030fefd0dbd7ff2d3555e29481fe4bbb0106ea11c660d6001767" "cc0dbb53a10215b696d391a90de635ba1699072745bf653b53774706999208e3" "ed317c0a3387be628a48c4bbdb316b4fa645a414838149069210b66dd521733f" "938d8c186c4cb9ec4a8d8bc159285e0d0f07bad46edf20aa469a89d0d2a586ea" "fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" "bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" default))
|
||||||
("c3d4af771cbe0501d5a865656802788a9a0ff9cf10a7df704ec8b8ef69017c68" "06f0b439b62164c6f8f84fdda32b62fb50b6d00e8b01c2208e55543a6337433a" "190a9882bef28d7e944aa610aa68fe1ee34ecea6127239178c7ac848754992df" "3e335d794ed3030fefd0dbd7ff2d3555e29481fe4bbb0106ea11c660d6001767" "cc0dbb53a10215b696d391a90de635ba1699072745bf653b53774706999208e3" "ed317c0a3387be628a48c4bbdb316b4fa645a414838149069210b66dd521733f" "938d8c186c4cb9ec4a8d8bc159285e0d0f07bad46edf20aa469a89d0d2a586ea" "fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" "bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" default)))
|
|
||||||
'(evil-want-Y-yank-to-eol nil)
|
'(evil-want-Y-yank-to-eol nil)
|
||||||
'(fci-rule-color "#373b41" t)
|
'(fci-rule-color "#373b41" t)
|
||||||
'(flycheck-color-mode-line-face-to-color (quote mode-line-buffer-id))
|
'(flycheck-color-mode-line-face-to-color 'mode-line-buffer-id)
|
||||||
'(frame-background-mode (quote dark))
|
'(frame-background-mode 'dark)
|
||||||
|
'(highlight-changes-colors '("#FD5FF0" "#AE81FF"))
|
||||||
|
'(highlight-tail-colors
|
||||||
|
'(("#3C3D37" . 0)
|
||||||
|
("#679A01" . 20)
|
||||||
|
("#4BBEAE" . 30)
|
||||||
|
("#1DB4D0" . 50)
|
||||||
|
("#9A8F21" . 60)
|
||||||
|
("#A75B00" . 70)
|
||||||
|
("#F309DF" . 85)
|
||||||
|
("#3C3D37" . 100)))
|
||||||
|
'(magit-diff-use-overlays nil)
|
||||||
|
'(org-agenda-files '("~/sinpapel/Notes/daily.org"))
|
||||||
|
'(org-file-apps
|
||||||
|
'((auto-mode . emacs)
|
||||||
|
("\\.mm\\'" . default)
|
||||||
|
("\\.x?html?\\'" . default)
|
||||||
|
("\\.pdf\\'" . "/usr/bin/evince %s")))
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
'(dockerfile-mode docker tablist docker-tramp transient espresso-theme django-theme autothemer darkokai-theme darkmine-theme darkburn-theme dakrone-theme color-theme-sanityinc-solarized clues-theme lv parseedn parseclj a cherry-blossom-theme busybee-theme bubbleberry-theme birds-of-paradise-plus-theme badwolf-theme ample-zen-theme ample-theme alect-themes afternoon-theme toml-mode racer flycheck-rust cargo rust-mode tide typescript-mode org-projectile-helm dracula-theme darktooth-theme cyberpunk-theme color-theme-sanityinc-tomorrow sesman apropospriate-theme anti-zenburn-theme ghub helm-gitlab gitlab company-quickhelp ag white-sand-theme rebecca-theme org-mime exotica-theme inkpot-theme heroku-theme hemisu-theme hc-zenburn-theme gruvbox-theme gruber-darker-theme grandshell-theme gotham-theme gandalf-theme flatui-theme flatland-theme farmhouse-theme zenburn-theme zen-and-art-theme underwater-theme ujelly-theme twilight-theme twilight-bright-theme twilight-anti-bright-theme toxi-theme tao-theme tangotango-theme tango-plus-theme tango-2-theme sunny-day-theme sublime-themes subatomic256-theme subatomic-theme spacegray-theme soothe-theme solarized-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme seti-theme reverse-theme railscasts-theme purple-haze-theme professional-theme planet-theme phoenix-dark-pink-theme phoenix-dark-mono-theme organic-green-theme omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme noctilux-theme naquadah-theme mustang-theme monokai-theme monochrome-theme molokai-theme moe-theme minimal-theme material-theme majapahit-theme madhat2r-theme lush-theme light-soap-theme jbeans-theme jazz-theme ir-black-theme clojure-snippets clj-refactor inflections edn paredit peg cider-eval-sexp-fu cider seq queue clojure-mode nginx-mode auctex-latexmk company-auctex auctex csv-mode web-beautify livid-mode skewer-mode simple-httpd json-mode json-snatcher json-reformat js2-refactor multiple-cursors js2-mode js-doc company-tern dash-functional tern coffee-mode yaml-mode helm-company helm-c-yasnippet fuzzy company-web web-completion-data company-statistics company-go company-anaconda company auto-yasnippet yasnippet ac-ispell auto-complete web-mode tagedit slim-mode scss-mode sass-mode pug-mode less-css-mode helm-css-scss haml-mode emmet-mode smeargle orgit magit-gitflow helm-gitignore gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit magit-popup xterm-color shell-pop org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-download multi-term mmm-mode markdown-toc markdown-mode htmlize gnuplot git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-commit with-editor git-gutter gh-md flyspell-correct-helm flyspell-correct flycheck-pos-tip pos-tip flycheck eshell-z eshell-prompt-extras esh-help diff-hl auto-dictionary yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode helm-pydoc cython-mode anaconda-mode pythonic go-guru go-eldoc go-mode ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint info+ indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation hide-comnt help-fns+ helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed dash aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async))
|
||||||
(tide typescript-mode org-projectile-helm dracula-theme darktooth-theme cyberpunk-theme color-theme-sanityinc-tomorrow sesman apropospriate-theme anti-zenburn-theme ghub helm-gitlab gitlab company-quickhelp ag white-sand-theme rebecca-theme org-mime exotica-theme inkpot-theme heroku-theme hemisu-theme hc-zenburn-theme gruvbox-theme gruber-darker-theme grandshell-theme gotham-theme gandalf-theme flatui-theme flatland-theme farmhouse-theme zenburn-theme zen-and-art-theme underwater-theme ujelly-theme twilight-theme twilight-bright-theme twilight-anti-bright-theme toxi-theme tao-theme tangotango-theme tango-plus-theme tango-2-theme sunny-day-theme sublime-themes subatomic256-theme subatomic-theme spacegray-theme soothe-theme solarized-theme soft-stone-theme soft-morning-theme soft-charcoal-theme smyx-theme seti-theme reverse-theme railscasts-theme purple-haze-theme professional-theme planet-theme phoenix-dark-pink-theme phoenix-dark-mono-theme organic-green-theme omtose-phellack-theme oldlace-theme occidental-theme obsidian-theme noctilux-theme naquadah-theme mustang-theme monokai-theme monochrome-theme molokai-theme moe-theme minimal-theme material-theme majapahit-theme madhat2r-theme lush-theme light-soap-theme jbeans-theme jazz-theme ir-black-theme clojure-snippets clj-refactor inflections edn paredit peg cider-eval-sexp-fu cider seq queue clojure-mode nginx-mode auctex-latexmk company-auctex auctex csv-mode web-beautify livid-mode skewer-mode simple-httpd json-mode json-snatcher json-reformat js2-refactor multiple-cursors js2-mode js-doc company-tern dash-functional tern coffee-mode yaml-mode helm-company helm-c-yasnippet fuzzy company-web web-completion-data company-statistics company-go company-anaconda company auto-yasnippet yasnippet ac-ispell auto-complete web-mode tagedit slim-mode scss-mode sass-mode pug-mode less-css-mode helm-css-scss haml-mode emmet-mode smeargle orgit magit-gitflow helm-gitignore gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit magit-popup xterm-color shell-pop org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-download multi-term mmm-mode markdown-toc markdown-mode htmlize gnuplot git-gutter-fringe+ git-gutter-fringe fringe-helper git-gutter+ git-commit with-editor git-gutter gh-md flyspell-correct-helm flyspell-correct flycheck-pos-tip pos-tip flycheck eshell-z eshell-prompt-extras esh-help diff-hl auto-dictionary yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode helm-pydoc cython-mode anaconda-mode pythonic go-guru go-eldoc go-mode ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint info+ indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation hide-comnt help-fns+ helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed dash aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async)))
|
'(pos-tip-background-color "#FFFACE")
|
||||||
'(vc-annotate-background nil)
|
'(pos-tip-foreground-color "#272822")
|
||||||
|
'(vc-annotate-background nil) ;
|
||||||
'(vc-annotate-color-map
|
'(vc-annotate-color-map
|
||||||
(quote
|
'((20 . "#cc6666")
|
||||||
((20 . "#cc6666")
|
|
||||||
(40 . "#de935f")
|
(40 . "#de935f")
|
||||||
(60 . "#f0c674")
|
(60 . "#f0c674")
|
||||||
(80 . "#b5bd68")
|
(80 . "#b5bd68")
|
||||||
@@ -409,8 +441,11 @@ you should place your code here."
|
|||||||
(300 . "#cc6666")
|
(300 . "#cc6666")
|
||||||
(320 . "#de935f")
|
(320 . "#de935f")
|
||||||
(340 . "#f0c674")
|
(340 . "#f0c674")
|
||||||
(360 . "#b5bd68"))))
|
(360 . "#b5bd68")))
|
||||||
'(vc-annotate-very-old-color nil))
|
'(vc-annotate-very-old-color nil)
|
||||||
|
'(vc-follow-symlinks t)
|
||||||
|
'(weechat-color-list
|
||||||
|
'(unspecified "#272822" "#3C3D37" "#F70057" "#F92672" "#86C30D" "#A6E22E" "#BEB244" "#E6DB74" "#40CAE4" "#66D9EF" "#FB35EA" "#FD5FF0" "#74DBCD" "#A1EFE4" "#F8F8F2" "#F8F8F0")))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
5
starship/.config/starship.toml
Normal file
5
starship/.config/starship.toml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Get editor completions based on the config schema
|
||||||
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
|
||||||
|
# Inserts a blank line between shell prompts
|
||||||
|
add_newline = false
|
@@ -1,6 +1,8 @@
|
|||||||
[colors]
|
[colors]
|
||||||
# hard contrast:
|
# hard contrast:
|
||||||
background = #1d2021
|
#background = #1d2021
|
||||||
|
background = rgba(29, 32, 33, 0.9)
|
||||||
|
#background = rgba(63, 63, 63, 0.8)
|
||||||
#background = #282828
|
#background = #282828
|
||||||
# soft contrast:
|
# soft contrast:
|
||||||
#background = #32302f
|
#background = #32302f
|
||||||
@@ -45,7 +47,7 @@ allow_bold = true
|
|||||||
mouse_autohide = false
|
mouse_autohide = false
|
||||||
dynamic_title = true
|
dynamic_title = true
|
||||||
urgent_on_bell = true
|
urgent_on_bell = true
|
||||||
browser = chromium
|
browser = firefox
|
||||||
clickable_url = true
|
clickable_url = true
|
||||||
cursor_blink = system
|
cursor_blink = system
|
||||||
cursor_shape = block
|
cursor_shape = block
|
||||||
|
@@ -19,6 +19,9 @@ bind j select-pane -D
|
|||||||
bind k select-pane -U
|
bind k select-pane -U
|
||||||
bind l select-pane -R
|
bind l select-pane -R
|
||||||
|
|
||||||
|
|
||||||
|
bind C break-pane
|
||||||
|
|
||||||
# use vim motion keys while in copy mode
|
# use vim motion keys while in copy mode
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
# use the vim resize keys.
|
# use the vim resize keys.
|
||||||
@@ -33,17 +36,23 @@ bind > resize-pane -R 1
|
|||||||
bind b set-window-option synchronize-panes
|
bind b set-window-option synchronize-panes
|
||||||
|
|
||||||
# Set status bar
|
# Set status bar
|
||||||
set -g status-bg black
|
set -g status-style bg=black,fg=white
|
||||||
set -g status-fg white
|
set -g status-left '#[fg=yellow]#H #{?window_zoomed_flag,🔍, }'
|
||||||
set -g status-left '#[fg=green]#H'
|
|
||||||
set -g status-right '#[fg=yellow]#(uptime | sed -e "s/load average/load/g" -e "s/ / /g")' # | cut -d "," -f 2-)'
|
set -g status-right '#[fg=yellow]#(uptime | sed -e "s/load average/load/g" -e "s/ / /g")' # | cut -d "," -f 2-)'
|
||||||
set -g status-right-length 50
|
set -g status-right-length 50
|
||||||
|
|
||||||
set -g pane-border-status bottom
|
|
||||||
set -g pane-border-format '#(ps --no-headers -t #{pane_tty} -o args -O-c)'
|
|
||||||
|
|
||||||
# Highlight active window
|
# Highlight active window
|
||||||
set-window-option -g window-status-current-bg red
|
set-window-option -g window-status-current-style bg=yellow,fg=black
|
||||||
|
#set -g window-status-format "#I:#{pane_current_path}"
|
||||||
|
#set -g window-status-current-format "#I:#{pane_current_path}"
|
||||||
|
|
||||||
|
|
||||||
|
set -g pane-border-status top
|
||||||
|
set -g pane-border-format '#(ps --no-headers -t #{pane_tty} -o args -O-c) @#{pane_current_path}'
|
||||||
|
|
||||||
|
# Dividing pane colors
|
||||||
|
set -g pane-border-style fg=magenta
|
||||||
|
set -g pane-active-border-style fg=yellow,bg=default
|
||||||
|
|
||||||
# Set window notifications
|
# Set window notifications
|
||||||
setw -g monitor-activity on
|
setw -g monitor-activity on
|
||||||
@@ -52,7 +61,11 @@ set -g visual-activity on
|
|||||||
# Automatically set window title
|
# Automatically set window title
|
||||||
set-option -g status-interval 5
|
set-option -g status-interval 5
|
||||||
set-option -g automatic-rename on
|
set-option -g automatic-rename on
|
||||||
set-option -g automatic-rename-format '#(basename "#{pane_current_path}")'
|
set-option -g automatic-rename-format '#(dirname "#{pane_current_path}"| xargs -0 basename)/#(basename "#{pane_current_path}")'
|
||||||
|
|
||||||
|
# WM windows
|
||||||
|
set-option -g set-titles on
|
||||||
|
set-option -g set-titles-string "#S | #W"
|
||||||
|
|
||||||
# Mouse and panes
|
# Mouse and panes
|
||||||
#set -g mouse-utf8 on
|
#set -g mouse-utf8 on
|
||||||
@@ -98,9 +111,11 @@ set-option -g default-shell ${SHELL}
|
|||||||
unbind m
|
unbind m
|
||||||
bind m run "tmux-zoom.sh"
|
bind m run "tmux-zoom.sh"
|
||||||
|
|
||||||
|
# reload config file (change file location to your the tmux.conf you want to use)
|
||||||
|
bind r source-file ~/.tmux.conf
|
||||||
|
|
||||||
# Fix for emacs and the like
|
# Fix for emacs and the like
|
||||||
set -s escape-time 0
|
set -s escape-time 0
|
||||||
|
|
||||||
# Start new-session as default
|
# Start new-session as default
|
||||||
new-session
|
#new-session
|
||||||
|
|
||||||
|
@@ -1,10 +1,9 @@
|
|||||||
{
|
{
|
||||||
"diffEditor.ignoreTrimWhitespace": false,
|
"diffEditor.ignoreTrimWhitespace": true,
|
||||||
"gitlens.advanced.messages": {
|
"gitlens.advanced.messages": {
|
||||||
"suppressShowKeyBindingsNotice": true,
|
"suppressShowKeyBindingsNotice": true,
|
||||||
"suppressResultsExplorerNotice": true
|
"suppressResultsExplorerNotice": true
|
||||||
},
|
},
|
||||||
"gitlens.keymap": "chorded",
|
|
||||||
"vim.handleKeys": {
|
"vim.handleKeys": {
|
||||||
"<C-K>": false,
|
"<C-K>": false,
|
||||||
"[q": false,
|
"[q": false,
|
||||||
@@ -20,12 +19,14 @@
|
|||||||
"window.titleBarStyle": "custom",
|
"window.titleBarStyle": "custom",
|
||||||
"vim.hlsearch": true,
|
"vim.hlsearch": true,
|
||||||
"vim.statusBarColorControl": true,
|
"vim.statusBarColorControl": true,
|
||||||
"workbench.iconTheme": "vscode-icons",
|
|
||||||
"workbench.colorCustomizations": {
|
"workbench.colorCustomizations": {
|
||||||
"statusBar.background": "#005f5f",
|
"statusBar.background": "#5f0000",
|
||||||
"statusBar.noFolderBackground": "#005f5f",
|
"statusBar.noFolderBackground": "#5f0000",
|
||||||
"statusBar.debuggingBackground": "#005f5f"
|
"statusBar.debuggingBackground": "#5f0000"
|
||||||
},
|
},
|
||||||
"gitlab.instanceUrl": "https://lab.gsi.upm.es",
|
"gitlab.instanceUrl": "https://lab.gsi.upm.es",
|
||||||
"editor.wordWrap": "on"
|
"editor.wordWrap": "on",
|
||||||
|
"window.zoomLevel": 1,
|
||||||
|
"explorer.confirmDragAndDrop": false,
|
||||||
|
"workbench.colorTheme": "Default Light+"
|
||||||
}
|
}
|
||||||
|
16
wezterm/.wezterm.lua
Normal file
16
wezterm/.wezterm.lua
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
local wezterm = require 'wezterm'
|
||||||
|
local config = {}
|
||||||
|
|
||||||
|
config.font = wezterm.font 'Iosevka Nerd Font'
|
||||||
|
config.show_tab_index_in_tab_bar = true
|
||||||
|
|
||||||
|
-- wezterm.on('update-right-status', function(window, pane)
|
||||||
|
-- window:set_left_status 'left'
|
||||||
|
-- window:set_right_status 'right'
|
||||||
|
-- end)
|
||||||
|
|
||||||
|
config.use_fancy_tab_bar = true
|
||||||
|
config.show_tabs_in_tab_bar = false
|
||||||
|
config.show_new_tab_button_in_tab_bar = false
|
||||||
|
|
||||||
|
return config
|
1550
zsh/.p10k.zsh
Normal file
1550
zsh/.p10k.zsh
Normal file
File diff suppressed because it is too large
Load Diff
Submodule zsh/.zprezto updated: 92e668e1d9...0a405494ca
1
zsh/.zprezto-contrib/fzf-z
Submodule
1
zsh/.zprezto-contrib/fzf-z
Submodule
Submodule zsh/.zprezto-contrib/fzf-z added at dfe6870800
@@ -23,6 +23,9 @@ zstyle ':prezto:*:*' color 'yes'
|
|||||||
# Set the Zsh functions to load (man zshcontrib).
|
# Set the Zsh functions to load (man zshcontrib).
|
||||||
# zstyle ':prezto:load' zfunction 'zargs' 'zmv'
|
# zstyle ':prezto:load' zfunction 'zargs' 'zmv'
|
||||||
|
|
||||||
|
|
||||||
|
zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
|
||||||
|
|
||||||
# Set the Prezto modules to load (browse modules).
|
# Set the Prezto modules to load (browse modules).
|
||||||
# The order matters.
|
# The order matters.
|
||||||
zstyle ':prezto:load' pmodule \
|
zstyle ':prezto:load' pmodule \
|
||||||
@@ -35,13 +38,16 @@ zstyle ':prezto:load' pmodule \
|
|||||||
'spectrum' \
|
'spectrum' \
|
||||||
'utility' \
|
'utility' \
|
||||||
'completion' \
|
'completion' \
|
||||||
'fasd' \
|
'fzf-z' \
|
||||||
'pacman' \
|
'pacman' \
|
||||||
'git' \
|
'git' \
|
||||||
'autosuggestions' \
|
'autosuggestions' \
|
||||||
'syntax-highlighting' \
|
|
||||||
'ssh' \
|
'ssh' \
|
||||||
'prompt'
|
'prompt' \
|
||||||
|
'syntax-highlighting'
|
||||||
|
|
||||||
|
# 'fasd' \
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
zstyle ':prezto:module:autosuggestions' color 'yes'
|
zstyle ':prezto:module:autosuggestions' color 'yes'
|
||||||
@@ -110,7 +116,8 @@ zstyle ':prezto:module:pacman' frontend 'yaourt'
|
|||||||
# Set the prompt theme to load.
|
# Set the prompt theme to load.
|
||||||
# Setting it to 'random' loads a random theme.
|
# Setting it to 'random' loads a random theme.
|
||||||
# Auto set to 'off' on dumb terminals.
|
# Auto set to 'off' on dumb terminals.
|
||||||
zstyle ':prezto:module:prompt' theme 'balkian'
|
#zstyle ':prezto:module:prompt' theme 'balkian'
|
||||||
|
zstyle :prezto:module:prompt theme powerlevel10k
|
||||||
|
|
||||||
#
|
#
|
||||||
# Ruby
|
# Ruby
|
||||||
|
11
zsh/.zshenv
11
zsh/.zshenv
@@ -14,11 +14,12 @@ fi
|
|||||||
#
|
#
|
||||||
|
|
||||||
export EDITOR='vim'
|
export EDITOR='vim'
|
||||||
export VISUAL="myemacs -c"
|
export VISUAL="$(command -v myemacs) -t"
|
||||||
export ALTERNATE_EDITOR=""
|
export ALTERNATE_EDITOR=""
|
||||||
export PAGER='less'
|
|
||||||
export TERMCMD='i3-sensible-terminal'
|
export TERMCMD='i3-sensible-terminal'
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Language
|
# Language
|
||||||
#
|
#
|
||||||
@@ -49,4 +50,8 @@ path=(
|
|||||||
|
|
||||||
export PATH
|
export PATH
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
export PATH=$PATH:$GOPATH/bin/
|
export PATH=$PATH:$GOPATH/bin/:$HOME/.npm/bin
|
||||||
|
|
||||||
|
export WASMTIME_HOME="$HOME/.wasmtime"
|
||||||
|
export PATH="$WASMTIME_HOME/bin:$PATH"
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
48
zsh/.zshrc
48
zsh/.zshrc
@@ -1,3 +1,10 @@
|
|||||||
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||||
|
# Initialization code that may require console input (password prompts, [y/n]
|
||||||
|
# confirmations, etc.) must go above this block; everything else may go below.
|
||||||
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Executes commands at the start of an interactive session.
|
# Executes commands at the start of an interactive session.
|
||||||
#
|
#
|
||||||
@@ -15,6 +22,27 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
|||||||
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -s "/usr/share/fzf/key-bindings.zsh" ]]; then
|
||||||
|
source "/usr/share/fzf/key-bindings.zsh"
|
||||||
|
source "/usr/share/fzf/completion.zsh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Change find to fd in fzf
|
||||||
|
|
||||||
|
if command -v fd > /dev/null 2>&1; then
|
||||||
|
|
||||||
|
_fzf_compgen_path() {
|
||||||
|
fd --hidden --follow --exclude ".git" . "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Use fd to generate the list for directory completion
|
||||||
|
_fzf_compgen_dir() {
|
||||||
|
fd --type d --hidden --follow --exclude ".git" . "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
# Customize to your needs...
|
# Customize to your needs...
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -24,7 +52,8 @@ fi
|
|||||||
# Set the default Less options.
|
# Set the default Less options.
|
||||||
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
|
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
|
||||||
# Remove -X and -F (exit if the content fits on one screen) to enable it.
|
# Remove -X and -F (exit if the content fits on one screen) to enable it.
|
||||||
export LESS='-F -g -i -M -R -S -w -X -z-4'
|
export LESS='-g -i -M -R -S -w -z-4 -j4a'
|
||||||
|
|
||||||
|
|
||||||
# Handy alias
|
# Handy alias
|
||||||
alias fail="less +F"
|
alias fail="less +F"
|
||||||
@@ -123,6 +152,8 @@ alias drm="docker rm"
|
|||||||
alias drmi="docker rmi"
|
alias drmi="docker rmi"
|
||||||
alias drun="docker run"
|
alias drun="docker run"
|
||||||
|
|
||||||
|
alias t="tmux new-session -A -s "
|
||||||
|
|
||||||
|
|
||||||
# GSI
|
# GSI
|
||||||
alias gsicluster='ssh balkian@shannon.gsi.dit.upm.es -p 1337'
|
alias gsicluster='ssh balkian@shannon.gsi.dit.upm.es -p 1337'
|
||||||
@@ -147,6 +178,15 @@ function kube (){
|
|||||||
kubectl --context="$context" "$@"
|
kubectl --context="$context" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function ds () {
|
||||||
|
du -xsh "$@" | sort -h
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function sag () {
|
||||||
|
ag -0 -l $1 | xargs -0 sed -ri.bak -e "s/$1/$2/g"
|
||||||
|
}
|
||||||
|
|
||||||
# Dircolors for termite
|
# Dircolors for termite
|
||||||
|
|
||||||
if [[ -s "$HOME/.dircolors" ]]; then
|
if [[ -s "$HOME/.dircolors" ]]; then
|
||||||
@@ -154,3 +194,9 @@ if [[ -s "$HOME/.dircolors" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
setopt interactivecomments
|
setopt interactivecomments
|
||||||
|
|
||||||
|
|
||||||
|
export FZFZ_RECENT_DIRS_TOOL=fasd
|
||||||
|
|
||||||
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
Reference in New Issue
Block a user