add: alacritty.yml & $EDITOR & fisher_plugin chmod

This commit is contained in:
qwjyh 2022-10-22 01:30:28 +09:00
parent f7232b229b
commit d315d6ad53
5 changed files with 93 additions and 3 deletions

View file

@ -28,9 +28,6 @@ my dotfiles
# TODO
- make install script for Linux
- fish setup
- fisher
- abbr
- add rc files of Manjaro
- neovim configs
- lsp-config

5
bin/install_manjaro.sh Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/bash -euo
# alacritty config
ln -sf (pwd)/dotfiles/alacritty.yml ~/.config/alacritty/alacritty.yml

0
bin/linux/fisher_plugins.fish Normal file → Executable file
View file

85
dotfiles/alacritty.yml Normal file
View file

@ -0,0 +1,85 @@
# Alacritty config file
# Window
window:
decorations: none
opacity: 0.85
# Font
font:
size: 11.0
# Color schemes
schemes:
# Campbell (Windows 10 default)
campbell: &campbell
# Default colors
primary:
background: '#0c0c0c'
foreground: '#cccccc'
# Normal colors
normal:
black: '#0c0c0c'
red: '#c50f1f'
green: '#13a10e'
yellow: '#c19c00'
blue: '#0037da'
magenta: '#881798'
cyan: '#3a96dd'
white: '#cccccc'
# Bright colors
bright:
black: '#767676'
red: '#e74856'
green: '#16c60c'
yellow: '#f9f1a5'
blue: '#3b78ff'
magenta: '#b4009e'
cyan: '#61d6d6'
white: '#f2f2f2'
# Colors (Iceberg Dark)
iceberg_dark: &iceberg_dark
# Default colors
primary:
background: '#161821'
foreground: '#d2d4de'
# Normal colors
normal:
black: '#161821'
red: '#e27878'
green: '#b4be82'
yellow: '#e2a478'
blue: '#84a0c6'
magenta: '#a093c7'
cyan: '#89b8c2'
white: '#c6c8d1'
# Bright colors
bright:
black: '#6b7089'
red: '#e98989'
green: '#c0ca8e'
yellow: '#e9b189'
blue: '#91acd1'
magenta: '#ada0d3'
cyan: '#95c4ce'
white: '#d2d4de'
# Colors (Monokai Dark)
monokai: &iceberg_dark
# startup shell
shell:
program: /usr/bin/tmux
args:
- a
# key bindings
key_bindings:
- { key: Key0, mods: Control, action: ResetFontSize }
- { key: Semicolon, mods: Control, action: IncreaseFontSize }
- { key: Minus, mods: Control, action: DecreaseFontSize }

View file

@ -42,6 +42,9 @@ bind \b backward-kill-word
# env
set -x LESS '-i -r -M -R -S -W -z-4 -x4'
set -x EDITOR "/usr/bin/nvim"
# save fish log to my custom file
set -gx my_fish_history "$HOME/my_fish_history.txt"
function save_myhistory --on-event fish_prompt -d "Save custom shell log to $my_fish_history"