3 files changed,
26 insertions(+),
4 deletions(-)
Author:
Smirnov Oleksandr
ss2316544@gmail.com
Committed at:
2024-05-08 18:31:31 +0300
Parent:
f8b5dcf
M
README.md
··· 10 10 11 11 ## Install dependencys 12 12 ```bash 13 -paru -S rcm neovim-git git kitty github-cli tmux zsh fish ttf-jetbrains-mono hyprland waybar hyprpaper \ 13 +paru -S neovim-git git kitty github-cli tmux zsh fish ttf-jetbrains-mono hyprland waybar hyprpaper \ 14 14 wofi grim dunst brightnessctl pavucontrol xdg-desktop-portal-hyprland xdg-desktop-portal-gtk 15 15 ``` 16 16 17 17 ## And install deps 18 18 ```bash 19 19 git clone --recursive https://github.com/olexsmir/dotfiles ~/.dotfiles 20 -rcup rcrc && rcup 20 +./bootstrap 21 21 ```
A
bootstrap
··· 1 +#!/usr/bin/env bash 2 +set -e 3 + 4 +ln -sf "$PWD/zshrc" "$HOME/.zshrc" 5 +ln -sf "$PWD/gitconfig" "$HOME/.gitconfig" 6 +ln -sf "$PWD/tmux.conf" "$HOME/.tmux.conf" 7 + 8 +mkdir -p "$HOME/bin/" 9 +for file in $(find "$PWD/bin" -type f); do 10 + ln -sf "$file" "$HOME/bin" 11 +done 12 + 13 +mkdir -p "$HOME/.config/" 14 +ln -sf "$PWD/config/alacritty.yml" "$HOME/.config/alacritty.yml" 15 +ln -sf "$PWD/config/electron-flags.conf" "$HOME/.config/electron-flags.conf" 16 +ln -sf "$PWD/config/starship.toml" "$HOME/.config/starship.toml" 17 + 18 +for dir in $(find "$PWD/config/" -type d); do 19 + mkdir -p "$HOME/.config${dir#$PWD/config}" 20 + 21 + for file in $(find "$dir" -maxdepth 1 -type f); do 22 + ln -sf "$file" "$HOME/.config${file#$PWD/config}" 23 + done 24 +done