From a5c750fcd5427a3b2e5ee53ae1ba2aef05c81d2e Mon Sep 17 00:00:00 2001 From: wholteza Date: Sat, 20 Jan 2024 16:13:08 +0100 Subject: [PATCH] new terminal --- .bashrc | 3 ++ .config/alacritty/alacritty.toml | 54 ++++++++++++++++++++++++++++++++ .config/i3/config | 2 +- .config/requirements/install.sh | 13 ++++++++ 4 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 .config/alacritty/alacritty.toml diff --git a/.bashrc b/.bashrc index 52e4689..d0ed374 100644 --- a/.bashrc +++ b/.bashrc @@ -149,5 +149,8 @@ alias qwerty='~/.config/keyboard/qwerty.sh' alias mount-bigboi-zackarias='~/.config/mnt/bigboi-zackarias.sh' alias mount-bigboi-lilleback='~/.config/mnt/bigboi-lilleback.sh' +export PATH="/home/wholteza/.cargo/bin:$PATH" + ### Start oh my posh eval "$(oh-my-posh init bash --config '~/.config/oh-my-posh/theme.omp.json')" + diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml new file mode 100644 index 0000000..ba1ba53 --- /dev/null +++ b/.config/alacritty/alacritty.toml @@ -0,0 +1,54 @@ +[colors.bright] +black = "#4c566a" +blue = "#81a1c1" +cyan = "#8fbcbb" +green = "#a3be8c" +magenta = "#b48ead" +red = "#bf616a" +white = "#eceff4" +yellow = "#ebcb8b" + +[colors.cursor] +cursor = "#d8dee9" +text = "#2e3440" + +[colors.dim] +black = "#373e4d" +blue = "#68809a" +cyan = "#6d96a5" +green = "#809575" +magenta = "#8c738c" +red = "#94545d" +white = "#aeb3bb" +yellow = "#b29e75" + +[colors.normal] +black = "#3b4252" +blue = "#81a1c1" +cyan = "#88c0d0" +green = "#a3be8c" +magenta = "#b48ead" +red = "#bf616a" +white = "#e5e9f0" +yellow = "#ebcb8b" + +[colors.primary] +background = "#2e3440" +dim_foreground = "#a5abb6" +foreground = "#d8dee9" + +# [colors.search.bar] +# background = "#434c5e" +# foreground = "#d8dee9" + +[colors.search.matches] +background = "#88c0d0" +foreground = "CellBackground" + +[colors.selection] +background = "#4c566a" +text = "CellForeground" + +[colors.vi_mode_cursor] +cursor = "#d8dee9" +text = "#2e3440" diff --git a/.config/i3/config b/.config/i3/config index 5cdc970..b683a45 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -70,7 +70,7 @@ floating_modifier $mod #tiling_drag modifier titlebar # start a terminal -bindsym $mod+Return exec i3-sensible-terminal +bindsym $mod+Return exec /home/wholteza/.cargo/bin/alacritty --config-file /home/wholteza/.config/alacritty/alacritty.toml # kill focused window bindsym $mod+Shift+q kill diff --git a/.config/requirements/install.sh b/.config/requirements/install.sh index e1ff954..664a5b2 100755 --- a/.config/requirements/install.sh +++ b/.config/requirements/install.sh @@ -26,6 +26,14 @@ sudo apt install \ neofetch \ bashtop \ htop \ + build-essential \ + cmake \ + pkg-config \ + libfreetype6-dev \ + libfontconfig1-dev \ + libxcb-xfixes0-dev \ + libxkbcommon-dev \ + python3 \ -y mkdir ~/Screenshots @@ -37,6 +45,11 @@ sudo snap install firefox sudo snap install signal-desktop sudo snap install code --classic +sudo snap install rustup --classic +rustup default stable + +cargo install alacritty + curl -s https://ohmyposh.dev/install.sh | sudo bash -s sudo usermod -aG video wholteza