diff --git a/README.md b/README.md index 68c7df7..fcf5d2d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/bin/install_manjaro.sh b/bin/install_manjaro.sh new file mode 100644 index 0000000..5fa4ca1 --- /dev/null +++ b/bin/install_manjaro.sh @@ -0,0 +1,5 @@ +#!/usr/bin/bash -euo + +# alacritty config +ln -sf (pwd)/dotfiles/alacritty.yml ~/.config/alacritty/alacritty.yml + diff --git a/bin/linux/fisher_plugins.fish b/bin/linux/fisher_plugins.fish old mode 100644 new mode 100755 diff --git a/dotfiles/alacritty.yml b/dotfiles/alacritty.yml new file mode 100644 index 0000000..e8a1ec4 --- /dev/null +++ b/dotfiles/alacritty.yml @@ -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 } diff --git a/dotfiles/fish/config.fish b/dotfiles/fish/config.fish index a65e4a9..76b227c 100644 --- a/dotfiles/fish/config.fish +++ b/dotfiles/fish/config.fish @@ -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"