mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-05 20:49:22 +00:00
Compare commits
23 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e05e68f5d1 | |||
| 074c169e3c | |||
| 636ea749ac | |||
| da2a2e0f81 | |||
| 0ef12b61ac | |||
| c6fc3db52f | |||
| 1bde81a673 | |||
| d60248f356 | |||
| 40e8b9443b | |||
| 8a032a2804 | |||
| 367be373c4 | |||
| cf2f98d5c0 | |||
| a3704f7db9 | |||
| 7c359ffea0 | |||
| 9542624323 | |||
|
|
b0d74bad1a | ||
| fcade15933 | |||
| 6860909d39 | |||
| 493ad17c15 | |||
|
|
0495ac1ea8 | ||
| 9b5d372a74 | |||
| 9d04343a26 | |||
|
|
4aa0fba682 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,6 +10,7 @@ config/cheat/cheatsheets/tldr/*
|
|||||||
config/git/credentials
|
config/git/credentials
|
||||||
config/npm/npmrc
|
config/npm/npmrc
|
||||||
config/zsh/.zcompdump
|
config/zsh/.zcompdump
|
||||||
|
config/alacritty/theme-active.toml
|
||||||
ssh/local.d/*
|
ssh/local.d/*
|
||||||
!ssh/local.d/.gitkeep
|
!ssh/local.d/.gitkeep
|
||||||
!.gitkeep
|
!.gitkeep
|
||||||
|
|||||||
@@ -30,12 +30,14 @@ x-load-configs
|
|||||||
# Import ssh keys in keychain
|
# Import ssh keys in keychain
|
||||||
ssh-add -A 2>/dev/null
|
ssh-add -A 2>/dev/null
|
||||||
|
|
||||||
|
x-have antidot && {
|
||||||
|
eval "$(antidot init)"
|
||||||
|
}
|
||||||
|
|
||||||
x-have rbenv && {
|
x-have rbenv && {
|
||||||
eval "$(rbenv init - bash)"
|
eval "$(rbenv init - bash)"
|
||||||
}
|
}
|
||||||
|
|
||||||
# eval "$(starship init bash)"
|
|
||||||
x-have oh-my-posh && {
|
x-have oh-my-posh && {
|
||||||
eval "$(oh-my-posh init bash --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
|
eval "$(oh-my-posh init bash --config $DOTFILES/config/omp/own.toml)"
|
||||||
}
|
}
|
||||||
source "$DOTFILES/config/alias"
|
|
||||||
|
|||||||
@@ -17,3 +17,5 @@ export XDG_CACHE_HOME="$HOME/.cache"
|
|||||||
export XDG_RUNTIME_DIR="$HOME/.local/run"
|
export XDG_RUNTIME_DIR="$HOME/.local/run"
|
||||||
|
|
||||||
source "$DOTFILES/config/exports"
|
source "$DOTFILES/config/exports"
|
||||||
|
source "$DOTFILES/config/alias"
|
||||||
|
|
||||||
|
|||||||
16
base/zshrc
16
base/zshrc
@@ -18,6 +18,10 @@ export PATH="$XDG_BIN_HOME:$DOTFILES/local/bin:$HOME/.local/go/bin:$XDG_DATA_HOM
|
|||||||
|
|
||||||
x-load-configs
|
x-load-configs
|
||||||
|
|
||||||
|
x-have oh-my-posh && {
|
||||||
|
eval "$(oh-my-posh init zsh --config $DOTFILES/config/omp/own.toml)"
|
||||||
|
}
|
||||||
|
|
||||||
export COMPLETION_WAITING_DOTS=true
|
export COMPLETION_WAITING_DOTS=true
|
||||||
|
|
||||||
if type brew &> /dev/null; then
|
if type brew &> /dev/null; then
|
||||||
@@ -55,12 +59,10 @@ antigen bundle z
|
|||||||
# these should be always available
|
# these should be always available
|
||||||
antigen bundle tmux
|
antigen bundle tmux
|
||||||
antigen bundle colored-man-pages
|
antigen bundle colored-man-pages
|
||||||
antigen bundle command-not-found
|
|
||||||
antigen bundle ssh-agent
|
antigen bundle ssh-agent
|
||||||
antigen bundle jreese/zsh-titles
|
antigen bundle jreese/zsh-titles
|
||||||
antigen bundle zsh-users/zsh-completions
|
antigen bundle zsh-users/zsh-completions
|
||||||
|
|
||||||
# these should be available if there's need
|
|
||||||
x-have python && antigen bundle MichaelAquilina/zsh-autoswitch-virtualenv
|
x-have python && antigen bundle MichaelAquilina/zsh-autoswitch-virtualenv
|
||||||
|
|
||||||
# nvm is a strange beast
|
# nvm is a strange beast
|
||||||
@@ -75,10 +77,6 @@ antigen apply
|
|||||||
[ -f "${DOTFILES}/config/fzf/fzf.zsh" ] \
|
[ -f "${DOTFILES}/config/fzf/fzf.zsh" ] \
|
||||||
&& source "${DOTFILES}/config/fzf/fzf.zsh"
|
&& source "${DOTFILES}/config/fzf/fzf.zsh"
|
||||||
|
|
||||||
x-have rbenv && {
|
|
||||||
eval "$(rbenv init - zsh)"
|
|
||||||
}
|
|
||||||
|
|
||||||
x-have pyenv && {
|
x-have pyenv && {
|
||||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
@@ -99,10 +97,10 @@ x-have pyenv && {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# eval "$(starship init zsh)"
|
x-have antidot && {
|
||||||
x-have oh-my-posh && {
|
eval "$(antidot init)"
|
||||||
eval "$(oh-my-posh init zsh --config $XDG_CONFIG_HOME/oh-my-posh.omp.json)"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
source "$DOTFILES/config/alias"
|
source "$DOTFILES/config/alias"
|
||||||
|
|
||||||
# Herd checks for a few environment variables to inject PHP binaries and configurations.
|
# Herd checks for a few environment variables to inject PHP binaries and configurations.
|
||||||
|
|||||||
@@ -1,336 +1,38 @@
|
|||||||
[colors]
|
import = [
|
||||||
draw_bold_text_with_bright_colors = true
|
# Default to night if the copied one doesn't exist.
|
||||||
|
"~/.dotfiles/config/alacritty/theme-night.toml",
|
||||||
[colors.bright]
|
"~/.config/alacritty/theme-active.toml"
|
||||||
black = "0x414868"
|
]
|
||||||
blue = "0x7aa2f7"
|
|
||||||
cyan = "0x7dcfff"
|
|
||||||
green = "0x9ece6a"
|
|
||||||
magenta = "0xbb9af7"
|
|
||||||
red = "0xf7768e"
|
|
||||||
white = "0xc0caf5"
|
|
||||||
yellow = "0xe0af68"
|
|
||||||
|
|
||||||
[colors.normal]
|
|
||||||
black = "0x1d202f"
|
|
||||||
blue = "0x7aa2f7"
|
|
||||||
cyan = "0x7dcfff"
|
|
||||||
green = "0x9ece6a"
|
|
||||||
magenta = "0xbb9af7"
|
|
||||||
red = "0xf7768e"
|
|
||||||
white = "0xa9b1d6"
|
|
||||||
yellow = "0xe0af68"
|
|
||||||
|
|
||||||
[colors.primary]
|
|
||||||
background = "0x24283b"
|
|
||||||
foreground = "0xc0caf5"
|
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
TERM = "xterm-256color"
|
TERM = "xterm-256color"
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
draw_bold_text_with_bright_colors = true
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 14.0
|
size = 14.0
|
||||||
|
|
||||||
[font.bold]
|
|
||||||
family = "JetBrainsMonoNL Nerd Font Mono"
|
|
||||||
style = "Bold"
|
|
||||||
|
|
||||||
[font.glyph_offset]
|
[font.glyph_offset]
|
||||||
x = 0
|
x = 0
|
||||||
y = 0
|
y = 0
|
||||||
|
|
||||||
[font.italic]
|
|
||||||
family = "JetBrainsMonoNL Nerd Font Mono"
|
|
||||||
style = "Italic"
|
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "JetBrainsMonoNL Nerd Font Mono"
|
family = "JetBrainsMonoNL Nerd Font Mono"
|
||||||
style = "ExtraLight"
|
style = "ExtraLight"
|
||||||
|
|
||||||
|
[font.italic]
|
||||||
|
family = "JetBrainsMonoNL Nerd Font Mono"
|
||||||
|
style = "Italic"
|
||||||
|
|
||||||
|
[font.bold]
|
||||||
|
family = "JetBrainsMonoNL Nerd Font Mono"
|
||||||
|
style = "Bold"
|
||||||
|
|
||||||
[font.offset]
|
[font.offset]
|
||||||
x = 0
|
x = 0
|
||||||
y = 0
|
y = 0
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Paste"
|
|
||||||
key = "V"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Copy"
|
|
||||||
key = "C"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Quit"
|
|
||||||
key = "Q"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "Quit"
|
|
||||||
key = "W"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "SpawnNewInstance"
|
|
||||||
key = "N"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOH"
|
|
||||||
key = "Home"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1~"
|
|
||||||
key = "Home"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOF"
|
|
||||||
key = "End"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[4~"
|
|
||||||
key = "End"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5;2~"
|
|
||||||
key = "PageUp"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5;5~"
|
|
||||||
key = "PageUp"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[5~"
|
|
||||||
key = "PageUp"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6;2~"
|
|
||||||
key = "PageDown"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6;5~"
|
|
||||||
key = "PageDown"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[6~"
|
|
||||||
key = "PageDown"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3D"
|
|
||||||
key = "Left"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[D"
|
|
||||||
key = "Left"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOD"
|
|
||||||
key = "Left"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3C"
|
|
||||||
key = "Right"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[C"
|
|
||||||
key = "Right"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOC"
|
|
||||||
key = "Right"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3A"
|
|
||||||
key = "Up"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[A"
|
|
||||||
key = "Up"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOA"
|
|
||||||
key = "Up"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;2B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;5B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Control"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[1;3B"
|
|
||||||
key = "Down"
|
|
||||||
mods = "Alt"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[B"
|
|
||||||
key = "Down"
|
|
||||||
mode = "~AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOB"
|
|
||||||
key = "Down"
|
|
||||||
mode = "AppCursor"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[Z"
|
|
||||||
key = "Tab"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOP"
|
|
||||||
key = "F1"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOQ"
|
|
||||||
key = "F2"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOR"
|
|
||||||
key = "F3"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001BOS"
|
|
||||||
key = "F4"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[15~"
|
|
||||||
key = "F5"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[17~"
|
|
||||||
key = "F6"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[18~"
|
|
||||||
key = "F7"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[19~"
|
|
||||||
key = "F8"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[20~"
|
|
||||||
key = "F9"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[21~"
|
|
||||||
key = "F10"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[23~"
|
|
||||||
key = "F11"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[24~"
|
|
||||||
key = "F12"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
key = "Back"
|
|
||||||
action = "ReceiveChar"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[2~"
|
|
||||||
key = "Insert"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u001B[3~"
|
|
||||||
key = "Delete"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002&"
|
|
||||||
key = "W"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002c"
|
|
||||||
key = "T"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002n"
|
|
||||||
key = "RBracket"
|
|
||||||
mods = "Command|Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002p"
|
|
||||||
key = "LBracket"
|
|
||||||
mods = "Command|Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002o"
|
|
||||||
key = "RBracket"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002;"
|
|
||||||
key = "LBracket"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
chars = "\u0002/"
|
|
||||||
key = "F"
|
|
||||||
mods = "Command"
|
|
||||||
|
|
||||||
[mouse]
|
|
||||||
hide_when_typing = false
|
|
||||||
|
|
||||||
[[mouse.bindings]]
|
|
||||||
action = "PasteSelection"
|
|
||||||
mouse = "Middle"
|
|
||||||
|
|
||||||
[selection]
|
[selection]
|
||||||
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
|
||||||
save_to_clipboard = true
|
save_to_clipboard = true
|
||||||
|
|||||||
40
config/alacritty/theme-day.toml
Normal file
40
config/alacritty/theme-day.toml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# TokyoNight Alacritty Colors: Day
|
||||||
|
# Default colors
|
||||||
|
[colors.primary]
|
||||||
|
background = '#e1e2e7'
|
||||||
|
foreground = '#3760bf'
|
||||||
|
|
||||||
|
#[colors.cursor]
|
||||||
|
#cursor = '#3760bf'
|
||||||
|
#text = '#e1e2e7'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '#e9e9ed'
|
||||||
|
red = '#f52a65'
|
||||||
|
green = '#587539'
|
||||||
|
yellow = '#8c6c3e'
|
||||||
|
blue = '#2e7de9'
|
||||||
|
magenta = '#9854f1'
|
||||||
|
cyan = '#007197'
|
||||||
|
white = '#6172b0'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '#a1a6c5'
|
||||||
|
red = '#f52a65'
|
||||||
|
green = '#587539'
|
||||||
|
yellow = '#8c6c3e'
|
||||||
|
blue = '#2e7de9'
|
||||||
|
magenta = '#9854f1'
|
||||||
|
cyan = '#007197'
|
||||||
|
white = '#3760bf'
|
||||||
|
|
||||||
|
# Indexed Colors
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 16
|
||||||
|
color = '#b15c00'
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 17
|
||||||
|
color = '#c64343'
|
||||||
40
config/alacritty/theme-night.toml
Normal file
40
config/alacritty/theme-night.toml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# TokyoNight Alacritty Colors: Storm
|
||||||
|
# Default colors
|
||||||
|
[colors.primary]
|
||||||
|
background = '#24283b'
|
||||||
|
foreground = '#c0caf5'
|
||||||
|
|
||||||
|
#[colors.cursor]
|
||||||
|
#cursor = '#c0caf5'
|
||||||
|
#text = '#24283b'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '#1d202f'
|
||||||
|
red = '#f7768e'
|
||||||
|
green = '#9ece6a'
|
||||||
|
yellow = '#e0af68'
|
||||||
|
blue = '#7aa2f7'
|
||||||
|
magenta = '#bb9af7'
|
||||||
|
cyan = '#7dcfff'
|
||||||
|
white = '#a9b1d6'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '#414868'
|
||||||
|
red = '#f7768e'
|
||||||
|
green = '#9ece6a'
|
||||||
|
yellow = '#e0af68'
|
||||||
|
blue = '#7aa2f7'
|
||||||
|
magenta = '#bb9af7'
|
||||||
|
cyan = '#7dcfff'
|
||||||
|
white = '#c0caf5'
|
||||||
|
|
||||||
|
# Indexed Colors
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 16
|
||||||
|
color = '#ff9e64'
|
||||||
|
|
||||||
|
[[colors.indexed_colors]]
|
||||||
|
index = 17
|
||||||
|
color = '#db4b4b'
|
||||||
@@ -3,6 +3,7 @@ tap "anchore/grype"
|
|||||||
tap "cormacrelf/tap"
|
tap "cormacrelf/tap"
|
||||||
tap "ddosify/tap"
|
tap "ddosify/tap"
|
||||||
tap "dm3ch/tap"
|
tap "dm3ch/tap"
|
||||||
|
tap "doron-cohen/tap"
|
||||||
tap "gesquive/tap"
|
tap "gesquive/tap"
|
||||||
tap "github/gh"
|
tap "github/gh"
|
||||||
tap "homebrew/autoupdate"
|
tap "homebrew/autoupdate"
|
||||||
@@ -22,6 +23,18 @@ tap "xwmx/taps"
|
|||||||
brew "act"
|
brew "act"
|
||||||
# Simple, modern, secure file encryption
|
# Simple, modern, secure file encryption
|
||||||
brew "age"
|
brew "age"
|
||||||
|
# Mozilla CA certificate store
|
||||||
|
brew "ca-certificates"
|
||||||
|
# Mozilla CA bundle for Python
|
||||||
|
brew "certifi"
|
||||||
|
# Cryptographic recipes and primitives for Python
|
||||||
|
brew "cryptography"
|
||||||
|
# YAML Parser
|
||||||
|
brew "libyaml"
|
||||||
|
# Automate deployment, configuration, and upgrading
|
||||||
|
brew "ansible"
|
||||||
|
# Checks ansible playbooks for practices and behaviour
|
||||||
|
brew "ansible-lint"
|
||||||
# Generic-purpose lossless compression algorithm by Google
|
# Generic-purpose lossless compression algorithm by Google
|
||||||
brew "brotli"
|
brew "brotli"
|
||||||
# Library and utilities for processing GIFs
|
# Library and utilities for processing GIFs
|
||||||
@@ -40,10 +53,6 @@ brew "jpeg-xl"
|
|||||||
brew "aom"
|
brew "aom"
|
||||||
# Apache Portable Runtime library
|
# Apache Portable Runtime library
|
||||||
brew "apr"
|
brew "apr"
|
||||||
# Mozilla CA certificate store
|
|
||||||
brew "ca-certificates"
|
|
||||||
# Cryptography and SSL/TLS Toolkit
|
|
||||||
brew "openssl@3"
|
|
||||||
# Companion library to apr, the Apache Portable Runtime library
|
# Companion library to apr, the Apache Portable Runtime library
|
||||||
brew "apr-util"
|
brew "apr-util"
|
||||||
# Password hashing library and CLI utility
|
# Password hashing library and CLI utility
|
||||||
@@ -52,6 +61,16 @@ brew "argon2"
|
|||||||
brew "aspell"
|
brew "aspell"
|
||||||
# Automatic configure script builder
|
# Automatic configure script builder
|
||||||
brew "autoconf"
|
brew "autoconf"
|
||||||
|
# Collection of over 500 reusable autoconf macros
|
||||||
|
brew "autoconf-archive"
|
||||||
|
# GNU multiple precision arithmetic library
|
||||||
|
brew "gmp"
|
||||||
|
# Manage compile and link flags for libraries
|
||||||
|
brew "pkg-config"
|
||||||
|
# Automated text file generator
|
||||||
|
brew "autogen"
|
||||||
|
# Tool for generating GNU Standards-compliant Makefiles
|
||||||
|
brew "automake"
|
||||||
# Bourne-Again SHell, a UNIX command interpreter
|
# Bourne-Again SHell, a UNIX command interpreter
|
||||||
brew "bash"
|
brew "bash"
|
||||||
# Clone of cat(1) with syntax highlighting and Git integration
|
# Clone of cat(1) with syntax highlighting and Git integration
|
||||||
@@ -66,18 +85,12 @@ brew "fontconfig"
|
|||||||
brew "gettext"
|
brew "gettext"
|
||||||
# Core application library for C
|
# Core application library for C
|
||||||
brew "glib"
|
brew "glib"
|
||||||
# Mozilla CA bundle for Python
|
|
||||||
brew "certifi"
|
|
||||||
# Human-friendly and fast alternative to cut and (sometimes) awk
|
# Human-friendly and fast alternative to cut and (sometimes) awk
|
||||||
brew "choose-rust"
|
brew "choose-rust"
|
||||||
# Cross-platform make
|
# Cross-platform make
|
||||||
brew "cmake"
|
brew "cmake"
|
||||||
# GNU multiple precision arithmetic library
|
|
||||||
brew "gmp"
|
|
||||||
# GNU File, Shell, and Text utilities
|
# GNU File, Shell, and Text utilities
|
||||||
brew "coreutils"
|
brew "coreutils"
|
||||||
# Cryptographic recipes and primitives for Python
|
|
||||||
brew "cryptography"
|
|
||||||
# Open source suite of directory software
|
# Open source suite of directory software
|
||||||
brew "openldap"
|
brew "openldap"
|
||||||
# Get a file from an HTTP, HTTPS or FTP server
|
# Get a file from an HTTP, HTTPS or FTP server
|
||||||
@@ -160,6 +173,8 @@ brew "imagemagick"
|
|||||||
brew "irssi"
|
brew "irssi"
|
||||||
# Lightweight and flexible command-line JSON processor
|
# Lightweight and flexible command-line JSON processor
|
||||||
brew "jq"
|
brew "jq"
|
||||||
|
# JSON parser for C
|
||||||
|
brew "json-c"
|
||||||
# Scanning your k8s clusters, diagnosing, and triaging issues in simple English
|
# Scanning your k8s clusters, diagnosing, and triaging issues in simple English
|
||||||
brew "k8sgpt"
|
brew "k8sgpt"
|
||||||
# Network authentication protocol
|
# Network authentication protocol
|
||||||
@@ -172,14 +187,14 @@ brew "libb2"
|
|||||||
brew "libpq"
|
brew "libpq"
|
||||||
# Multi-platform support library with a focus on asynchronous I/O
|
# Multi-platform support library with a focus on asynchronous I/O
|
||||||
brew "libuv"
|
brew "libuv"
|
||||||
# YAML Parser
|
|
||||||
brew "libyaml"
|
|
||||||
# Package manager for the Lua programming language
|
# Package manager for the Lua programming language
|
||||||
brew "luarocks"
|
brew "luarocks"
|
||||||
# LZMA-based compression program similar to gzip or bzip2
|
# LZMA-based compression program similar to gzip or bzip2
|
||||||
brew "lzip"
|
brew "lzip"
|
||||||
# Swiss Army Knife for macOS
|
# Swiss Army Knife for macOS
|
||||||
brew "m-cli"
|
brew "m-cli"
|
||||||
|
# Collection of tools that nobody wrote when UNIX was young
|
||||||
|
brew "moreutils"
|
||||||
# Mongrel of mail user agents (part elm, pine, mush, mh, etc.)
|
# Mongrel of mail user agents (part elm, pine, mush, mh, etc.)
|
||||||
brew "mutt"
|
brew "mutt"
|
||||||
# NCurses Disk Usage
|
# NCurses Disk Usage
|
||||||
@@ -188,10 +203,10 @@ brew "ncdu"
|
|||||||
brew "nginx"
|
brew "nginx"
|
||||||
# Port scanning utility for large networks
|
# Port scanning utility for large networks
|
||||||
brew "nmap"
|
brew "nmap"
|
||||||
|
# ISO-C API and CLI for generating UUIDs
|
||||||
|
brew "ossp-uuid"
|
||||||
# General-purpose scripting language
|
# General-purpose scripting language
|
||||||
brew "php"
|
brew "php"
|
||||||
# Manage compile and link flags for libraries
|
|
||||||
brew "pkg-config"
|
|
||||||
# Coreutils progress viewer
|
# Coreutils progress viewer
|
||||||
brew "progress"
|
brew "progress"
|
||||||
# Python version management
|
# Python version management
|
||||||
@@ -248,6 +263,8 @@ brew "xdg-ninja", args: ["HEAD"]
|
|||||||
brew "yarn"
|
brew "yarn"
|
||||||
# Watcher for macOS 10.14+ light/dark mode changes
|
# Watcher for macOS 10.14+ light/dark mode changes
|
||||||
brew "cormacrelf/tap/dark-notify"
|
brew "cormacrelf/tap/dark-notify"
|
||||||
|
# Cleans up your $HOME from those pesky dotfiles
|
||||||
|
brew "doron-cohen/tap/antidot"
|
||||||
# lets you quickly switch between multiple git user profiles
|
# lets you quickly switch between multiple git user profiles
|
||||||
brew "gesquive/tap/git-user"
|
brew "gesquive/tap/git-user"
|
||||||
brew "keith/formulae/reminders-cli"
|
brew "keith/formulae/reminders-cli"
|
||||||
|
|||||||
Submodule config/nvim-kickstart updated: 5421b7f18a...35893d9d32
@@ -29,7 +29,7 @@
|
|||||||
"lazyvim.plugins.extras.util.mini-hipatterns"
|
"lazyvim.plugins.extras.util.mini-hipatterns"
|
||||||
],
|
],
|
||||||
"news": {
|
"news": {
|
||||||
"NEWS.md": "5204"
|
"NEWS.md": "6077"
|
||||||
},
|
},
|
||||||
"version": 6
|
"version": 6
|
||||||
}
|
}
|
||||||
120
config/omp/own.toml
Normal file
120
config/omp/own.toml
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json"
|
||||||
|
final_space = true
|
||||||
|
shell_integration = true
|
||||||
|
console_title_template = "{{.UserName}}@{{.HostName}} {{.Shell}} in {{.PWD}}"
|
||||||
|
version = 2
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
alignment = "left"
|
||||||
|
type = "prompt"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "cyan"
|
||||||
|
style = "powerline"
|
||||||
|
template = "{{ .Icon }}"
|
||||||
|
type = "os"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = "session"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ if .SSHSession }} {{ .UserName }}@{{ end }}{{ .HostName }}"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "cyan"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ .Path }} "
|
||||||
|
type = "path"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
style = "mixed"
|
||||||
|
|
||||||
|
[blocks.segments.mapped_locations]
|
||||||
|
"~/Code/*" = ""
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = "git"
|
||||||
|
style = "plain"
|
||||||
|
foreground = "lightGreen"
|
||||||
|
template = "{{ .UpstreamIcon }}{{ if or (.Staging.Changed) (.Working.Changed) }}({{if .Behind }}\u2193 {{ .Behind }} {{ end }}{{if .Staging.Changed }}\uF046 {{ .Staging.String }} {{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }}| {{ end }}{{ if .Working.Changed }} {{ .Working.String }}{{ end }}){{ end }}"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
fetch_status = true
|
||||||
|
fetch_upstream_icon = true
|
||||||
|
|
||||||
|
[blocks.segments.properties.untracked_modes]
|
||||||
|
"~/Code/oh-my-posh/" = "no"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = "terraform"
|
||||||
|
style = "plain"
|
||||||
|
foreground = "#000000"
|
||||||
|
background = "#ebcc34"
|
||||||
|
template = "{{.WorkspaceName}}"
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
alignment = "left"
|
||||||
|
type = "prompt"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "#68a063"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}"
|
||||||
|
type = "node"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
display_mode = "files"
|
||||||
|
fetch_package_manager = true
|
||||||
|
fetch_version = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "#4063D8"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||||
|
type = "crystal"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
display_mode = "files"
|
||||||
|
fetch_version = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "#DE3F24"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||||
|
type = "ruby"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
display_mode = "files"
|
||||||
|
fetch_version = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
foreground = "#FED142"
|
||||||
|
style = "plain"
|
||||||
|
template = " {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
|
||||||
|
type = "python"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
display_mode = "context"
|
||||||
|
fetch_virtual_env = false
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
alignment = "left"
|
||||||
|
newline = true
|
||||||
|
type = "prompt"
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
background = "transparent"
|
||||||
|
foreground = "lightGreen"
|
||||||
|
foreground_templates = [ "{{ if gt .Code 0 }}red{{ end }}" ]
|
||||||
|
style = "plain"
|
||||||
|
template = "➜"
|
||||||
|
type = "status"
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
always_enabled = true
|
||||||
|
|
||||||
|
[transient_prompt]
|
||||||
|
background = "transparent"
|
||||||
|
foreground = "lightGreen"
|
||||||
|
foreground_templates = [ "{{ if gt .Code 0 }}red{{ end }}" ]
|
||||||
|
template = "➜ "
|
||||||
|
|
||||||
74
config/omp/zen.toml
Normal file
74
config/omp/zen.toml
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json
|
||||||
|
|
||||||
|
version = 2
|
||||||
|
final_space = true
|
||||||
|
console_title_template = '{{ .Shell }} in {{ .Folder }}'
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
type = 'prompt'
|
||||||
|
alignment = 'left'
|
||||||
|
newline = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'path'
|
||||||
|
style = 'plain'
|
||||||
|
background = 'transparent'
|
||||||
|
foreground = 'blue'
|
||||||
|
template = '{{ .Path }}'
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
style = 'full'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'git'
|
||||||
|
style = 'plain'
|
||||||
|
foreground = 'p:grey'
|
||||||
|
background = 'transparent'
|
||||||
|
template = ' {{ .HEAD }}{{ if or (.Working.Changed) (.Staging.Changed) }}*{{ end }} <cyan>{{ if gt .Behind 0 }}⇣{{ end }}{{ if gt .Ahead 0 }}⇡{{ end }}</>'
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
branch_icon = ''
|
||||||
|
commit_icon = '@'
|
||||||
|
fetch_status = true
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
type = 'rprompt'
|
||||||
|
overflow = 'hidden'
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'executiontime'
|
||||||
|
style = 'plain'
|
||||||
|
foreground = 'yellow'
|
||||||
|
background = 'transparent'
|
||||||
|
template = '{{ .FormattedMs }}'
|
||||||
|
|
||||||
|
[blocks.segments.properties]
|
||||||
|
threshold = 5000
|
||||||
|
|
||||||
|
[[blocks]]
|
||||||
|
type = 'prompt'
|
||||||
|
alignment = 'left'
|
||||||
|
newline = true
|
||||||
|
|
||||||
|
[[blocks.segments]]
|
||||||
|
type = 'text'
|
||||||
|
style = 'plain'
|
||||||
|
foreground_templates = [
|
||||||
|
"{{if gt .Code 0}}red{{end}}",
|
||||||
|
"{{if eq .Code 0}}magenta{{end}}",
|
||||||
|
]
|
||||||
|
background = 'transparent'
|
||||||
|
template = '❯'
|
||||||
|
|
||||||
|
[transient_prompt]
|
||||||
|
foreground_templates = [
|
||||||
|
"{{if gt .Code 0}}red{{end}}",
|
||||||
|
"{{if eq .Code 0}}magenta{{end}}",
|
||||||
|
]
|
||||||
|
background = 'transparent'
|
||||||
|
template = '❯ '
|
||||||
|
|
||||||
|
[secondary_prompt]
|
||||||
|
foreground = 'magenta'
|
||||||
|
background = 'transparent'
|
||||||
|
template = '❯❯ '
|
||||||
Submodule config/tmux/plugins/tmux-dark-notify updated: 4a205f86b6...dfa2b45b3e
@@ -1,5 +1,7 @@
|
|||||||
set-option -g status-style 'bg=default,fg=#cad3f5'
|
set-option -g status-style 'fg=#cad3f5,bg=default'
|
||||||
set-window-option -g window-status-style 'fg=#cad3f5,bg=default'
|
set-window-option -g window-status-style 'fg=#cad3f5,bg=default dim'
|
||||||
set-window-option -g window-status-current-style 'fg=#cad3f5,bg=#24273a'
|
set-window-option -g window-status-current-style 'fg=#04a5e5,bg=default'
|
||||||
|
set-window-option -g window-status-activity-style 'fg=#cad3f5,bg=default nodim'
|
||||||
|
set-window-option -g window-status-bell-style 'fg=#cad3f5,bg=default'
|
||||||
set -g message-style 'fg=#c6a0f6 bg=#24273a bold'
|
set -g message-style 'fg=#c6a0f6 bg=#24273a bold'
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
set-option -g status-style 'bg=#eff1f5,fg=#4c4f69'
|
set-option -g status-style 'fg=#4c4f69,bg=#eff1f5'
|
||||||
set-window-option -g window-status-style 'fg=#4c4f69,bg=#eff1f5'
|
set-window-option -g window-status-style 'fg=#4c4f69,bg=#eff1f5 dim'
|
||||||
set-window-option -g window-status-current-style 'fg=#4c4f69,bg=#7aa2f7'
|
set-window-option -g window-status-current-style 'fg=#8839ef,bg=#eff1f5'
|
||||||
|
set-window-option -g window-status-activity-style 'fg=#4c4f69,bg=#eff1f5 nodim'
|
||||||
|
set-window-option -g window-status-bell-style 'fg=#4c4f69,bg=#eff1f5'
|
||||||
set -g message-style 'fg=#8839ef bg=#e6e9ef bold' # fg magenta, bg black
|
set -g message-style 'fg=#8839ef bg=#e6e9ef bold' # fg magenta, bg black
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# ~/.config/tmux/tmux.conf, or .dotfiles/config/tmux/tmux.conf
|
# ~/.config/tmux/tmux.conf, or .dotfiles/config/tmux/tmux.conf
|
||||||
#
|
#
|
||||||
# Contains configuration from the follwing sources:
|
# Contains configuration from the following sources:
|
||||||
# - https://tmuxguide.readthedocs.io/en/latest/tmux/tmux.html
|
# - https://tmuxguide.readthedocs.io/en/latest/tmux/tmux.html
|
||||||
# - https://github.com/dreamsofcode-io/tmux/blob/main/tmux.conf
|
# - https://github.com/dreamsofcode-io/tmux/blob/main/tmux.conf
|
||||||
|
|
||||||
@@ -25,10 +25,6 @@ bind -n M-Right select-pane -R
|
|||||||
bind -n M-Up select-pane -U
|
bind -n M-Up select-pane -U
|
||||||
bind -n M-Down select-pane -D
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
# Control-Tab & Control-Shift-Tab to switch windows
|
|
||||||
bind -n C-Tab previous-window
|
|
||||||
bind -n C-S-Tab next-window
|
|
||||||
|
|
||||||
# Reload tmux config with <prefix> + r
|
# Reload tmux config with <prefix> + r
|
||||||
bind r source-file ~/.dotfiles/config/tmux/tmux.conf \; display "tmux cfg reloaded!"
|
bind r source-file ~/.dotfiles/config/tmux/tmux.conf \; display "tmux cfg reloaded!"
|
||||||
|
|
||||||
@@ -57,9 +53,6 @@ bind y setw synchronize-panes
|
|||||||
unbind [
|
unbind [
|
||||||
bind Escape copy-mode
|
bind Escape copy-mode
|
||||||
|
|
||||||
# start selection with 'space' and copy using 'y'
|
|
||||||
#bind -t vi-copy 'y' copy-selection
|
|
||||||
|
|
||||||
# paste using 'p'
|
# paste using 'p'
|
||||||
unbind p
|
unbind p
|
||||||
bind p paste-buffer
|
bind p paste-buffer
|
||||||
@@ -117,10 +110,13 @@ set-option -g status-position "bottom"
|
|||||||
set-option -g status-justify left
|
set-option -g status-justify left
|
||||||
set-option -g status-left ''
|
set-option -g status-left ''
|
||||||
set-option -g window-status-format ' #I:#W '
|
set-option -g window-status-format ' #I:#W '
|
||||||
set-option -g window-status-current-format ' #I:#W#{?window_zoomed_flag, , } '
|
set-option -g window-status-current-format ' #I:#W#{?window_zoomed_flag, ◈ ,} '
|
||||||
|
|
||||||
set-option -g status-right "#{hostname_short}/#S #{tmux_mode_indicator}"
|
set-option -g status-right "#{hostname_short}/#S #{tmux_mode_indicator}"
|
||||||
|
|
||||||
|
set -g pane-border-style "fg=#3b4261"
|
||||||
|
set -g pane-active-border-style "fg=#7aa2f7"
|
||||||
|
|
||||||
# https://github.com/erikw/tmux-dark-notify
|
# https://github.com/erikw/tmux-dark-notify
|
||||||
set -g @dark-notify-theme-path-light '~/.dotfiles/config/tmux/theme-light.conf'
|
set -g @dark-notify-theme-path-light '~/.dotfiles/config/tmux/theme-light.conf'
|
||||||
set -g @dark-notify-theme-path-dark '~/.dotfiles/config/tmux/theme-dark.conf'
|
set -g @dark-notify-theme-path-dark '~/.dotfiles/config/tmux/theme-dark.conf'
|
||||||
@@ -140,10 +136,10 @@ set -g @suspend_key 'F12'
|
|||||||
set -g @tmux_window_name_max_name_len "20"
|
set -g @tmux_window_name_max_name_len "20"
|
||||||
### Replace $HOME with ~ in window names
|
### Replace $HOME with ~ in window names
|
||||||
set -g @tmux_window_name_use_tilde "True"
|
set -g @tmux_window_name_use_tilde "True"
|
||||||
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']"
|
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh', 'oh-my-posh']"
|
||||||
set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']"
|
set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']"
|
||||||
set -g @tmux_window_name_ignored_programs "['sqlite3', 'x-set-php-aliases']" # Default is []
|
set -g @tmux_window_name_ignored_programs "['sqlite3', 'x-set-php-aliases', 'oh-my-posh', 'antidot']" # Default is []
|
||||||
set -g @tmux_window_name_substitute_sets "[('.+ipython2', 'ipython2'), ('.+ipython3', 'ipython3')]"
|
set -g @tmux_window_name_substitute_sets "[('.+ipython2', 'ipython2'), ('.+ipython3', 'ipython3'), ('.+\.local', '.local')]"
|
||||||
|
|
||||||
## https://github.com/tmux-plugins/tmux-continuum
|
## https://github.com/tmux-plugins/tmux-continuum
|
||||||
set -g @continuum-restore 'on'
|
set -g @continuum-restore 'on'
|
||||||
@@ -173,3 +169,6 @@ run-shell ~/.dotfiles/config/tmux/plugins/tmux-yank/yank.tmux
|
|||||||
run-shell ~/.dotfiles/config/tmux/plugins/tmux-current-pane-hostname/current_pane_hostname.tmux
|
run-shell ~/.dotfiles/config/tmux/plugins/tmux-current-pane-hostname/current_pane_hostname.tmux
|
||||||
run-shell ~/.dotfiles/config/tmux/plugins/tmux-dark-notify/main.tmux
|
run-shell ~/.dotfiles/config/tmux/plugins/tmux-dark-notify/main.tmux
|
||||||
|
|
||||||
|
if-shell "test -e $HOME/.local/state/tmux/tmux-dark-notify-theme.conf" \
|
||||||
|
"source-file $HOME/.local/state/tmux/tmux-dark-notify-theme.conf"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# msgr / Messanger helper
|
# msgr / Messenger helper
|
||||||
# Copyright (c) 2023 Ismo Vuorinen. All Rights Reserved.
|
# Copyright (c) 2023 Ismo Vuorinen. All Rights Reserved.
|
||||||
# MIT License, https://opensource.org/license/mit/
|
# MIT License, https://opensource.org/license/mit/
|
||||||
|
|
||||||
|
|||||||
19
local/bin/x-change-alacritty-theme
Executable file
19
local/bin/x-change-alacritty-theme
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Adapted from https://gist.github.com/xqm32/17777d035930d622d0ff7530bfab61fd
|
||||||
|
#
|
||||||
|
|
||||||
|
A_DIR="$HOME/.config/alacritty"
|
||||||
|
|
||||||
|
set_alacritty_theme() {
|
||||||
|
cp -f "$A_DIR/theme-$1.toml" "$A_DIR/theme-active.toml"
|
||||||
|
}
|
||||||
|
ALACRITTY_THEME=$1
|
||||||
|
if [ "$ALACRITTY_THEME" = "dark" ] || [ "$ALACRITTY_THEME" = "night" ]; then
|
||||||
|
set_alacritty_theme "night"
|
||||||
|
else
|
||||||
|
set_alacritty_theme "day"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Notify alacritty about the changes
|
||||||
|
touch "$A_DIR/alacritty.toml"
|
||||||
|
|
||||||
@@ -29,6 +29,8 @@ packages=(
|
|||||||
github.com/rhysd/actionlint/cmd/actionlint@latest
|
github.com/rhysd/actionlint/cmd/actionlint@latest
|
||||||
# simple terminal UI for git commands
|
# simple terminal UI for git commands
|
||||||
github.com/jesseduffield/lazygit@latest
|
github.com/jesseduffield/lazygit@latest
|
||||||
|
# Cleans up your $HOME from those pesky dotfiles
|
||||||
|
github.com/doron-cohen/antidot@latest
|
||||||
)
|
)
|
||||||
|
|
||||||
for pkg in "${packages[@]}"; do
|
for pkg in "${packages[@]}"; do
|
||||||
@@ -49,6 +51,11 @@ x-have git-profile && {
|
|||||||
&& msg_ok "Installed completions for git-profile"
|
&& msg_ok "Installed completions for git-profile"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
x-have antidot && {
|
||||||
|
antidot update \
|
||||||
|
&& msg_ok "Updated antidot database"
|
||||||
|
}
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
msg_run "Clearing go cache"
|
msg_run "Clearing go cache"
|
||||||
|
|||||||
17
ssh/shared.d/turingpi
Normal file
17
ssh/shared.d/turingpi
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
Host t1
|
||||||
|
User ubuntu
|
||||||
|
HostName t1.home.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
Host t2
|
||||||
|
User ubuntu
|
||||||
|
HostName t2.home.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
Host t3
|
||||||
|
User ubuntu
|
||||||
|
HostName t3.home.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
Host t4
|
||||||
|
User ubuntu
|
||||||
|
HostName t4.home.antiprocess.net
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
|
||||||
Reference in New Issue
Block a user