From 3c731fb74e3116b0ed1f82df98a69b34dffe8463 Mon Sep 17 00:00:00 2001 From: ItsNoellaHere <49508517+ItsNoellaHere@users.noreply.github.com> Date: Wed, 14 Feb 2024 19:49:01 -0700 Subject: [PATCH] Intial Commit --- .zshenv | 6 ++++ .zshrc | 31 +++++++++++++++++++++ alacritty.theme.yaml | 28 +++++++++++++++++++ alacritty.toml | 65 ++++++++++++++++++++++++++++++++++++++++++++ tmux.conf | 47 ++++++++++++++++++++++++++++++++ 5 files changed, 177 insertions(+) create mode 100644 .zshenv create mode 100644 .zshrc create mode 100644 alacritty.theme.yaml create mode 100644 alacritty.toml create mode 100644 tmux.conf diff --git a/.zshenv b/.zshenv new file mode 100644 index 0000000..fab5397 --- /dev/null +++ b/.zshenv @@ -0,0 +1,6 @@ +export HISTFILE="$ZDOTDIR/.zhistory" +export HISTSIZE=10000 +export SAVEHIST=10000 + +export XDG_CONFIG_HOME="$HOME/.config" +export ZDOTDIR="$XDG_CONFIG_HOME/zsh" diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..7ac1ea0 --- /dev/null +++ b/.zshrc @@ -0,0 +1,31 @@ +#!/bin/bash +# 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 + +# Path to your oh-my-zsh installation. +export ZSH="$HOME/.oh-my-zsh" + +ZSH_THEME="powerlevel10k/powerlevel10k" + +COMPLETION_WAITING_DOTS="true" + +plugins=(git zsh-autosuggestions zsh-syntax-highlighting archlinux systemd nvm systemadmin safe-paste) + +source $ZSH/oh-my-zsh.sh + +PATH="$PATH:/home/noella/.local/share/bob/nvim-bin" +alias vim=nvim +export EDITOR=$(where nvim) + +export LANG=en_US.UTF-8 + +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh diff --git a/alacritty.theme.yaml b/alacritty.theme.yaml new file mode 100644 index 0000000..55b25d0 --- /dev/null +++ b/alacritty.theme.yaml @@ -0,0 +1,28 @@ +# Colors (Tomorrow Night Bright) +colors: + # Default colors + primary: + background: '0x000000' + foreground: '0xeaeaea' + + # Normal colors + normal: + black: '0x000000' + red: '0xd54e53' + green: '0xb9ca4a' + yellow: '0xe6c547' + blue: '0x7aa6da' + magenta: '0xc397d8' + cyan: '0x70c0ba' + white: '0x424242' + + # Bright colors + bright: + black: '0x666666' + red: '0xff3334' + green: '0x9ec400' + yellow: '0xe7c547' + blue: '0x7aa6da' + magenta: '0xb77ee0' + cyan: '0x54ced6' + white: '0x2a2a2a' \ No newline at end of file diff --git a/alacritty.toml b/alacritty.toml new file mode 100644 index 0000000..add6c6b --- /dev/null +++ b/alacritty.toml @@ -0,0 +1,65 @@ +import = ["~..config/alacritty/themes/themes/tomorrow_night_bright.yaml"] + +[colors] +draw_bold_text_with_bright_colors = false + +[cursor] +blink_timeout = 5 +unfocused_hollow = true +vi_mode_style = "Beam" + +[cursor.style] +blinking = "On" +shape = "Underline" + +[env] +TERM = "alacritty" + +[font.normal] +family = "monospace" + +[hints] +alphabet = "jfkdls;ahgurieowpq" + +[[hints.enabled]] +command = "xdg-open" +hyperlinks = true +post_processing = true +regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-Ÿ<>\"\\s{-}\\^⟨⟩`]+" + +[hints.enabled.binding] +key = "U" +mods = "Control|Shift" + +[hints.enabled.mouse] +enabled = true +mods = "None" + +[mouse] +hide_when_typing = false + +[scrolling] +history = 10000 +multiplier = 3 + +[shell] +program = "/bin/zsh" + +[window] +decorations = "none" +dynamic_title = true +opacity = 0.95 +startup_mode = "Maximized" +title = "Alacritty" + +[window.class] +general = "Alacritty" +instance = "Alacritty" + +[window.padding] +x = 2 +y = 2 + +[window.position] +x = 0 +y = 0 diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..6aa6fce --- /dev/null +++ b/tmux.conf @@ -0,0 +1,47 @@ +# Options +set-option -a terminal-features 'xterm-256color:RGB' +set -g mouse on + +# Change start index to 1 +set -g base-index 1 +set -g pane-base-index 1 +set-window-option -g pane-base-index 1 +set-option -g renumber-windows on + +# Keymap +bind -n M-H previous-window +bind -n M-L next-window +bind '"' split-window -v -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}" + +# Check the prefix keys +unbind C-b +set -g prefix ` +bind ` send-prefix + +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin 'catppuccin/tmux' + +# Catppuccin config +set -g @catppuccin_flavour 'mocha' +set -g @catppuccin_window_left_separator "" +set -g @catppuccin_window_right_separator " " +set -g @catppuccin_window_middle_separator " " +set -g @catppuccin_window_number_position "left" +set -g @catppuccin_window_default_fill "all" +set -g @catppuccin_window_default_text "#W" +set -g @catppuccin_window_current_fill "all" +set -g @catppuccin_window_current_text "#W" +set -g @catppuccin_status_modules_right "application date_time directory session" +set -g @catppuccin_status_left_separator " " +set -g @catppuccin_status_right_separator "" +set -g @catppuccin_status_right_separator_inverse "no" +set -g @catppuccin_status_fill "icon" +set -g @catppuccin_status_connect_separator "no" +set -g @catppuccin_directory_text "#{pane_current_path}" + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm'