mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
chore: migrate to my own script from rcm
This commit is contained in:
parent
f8b5dcf5ca
commit
313ce4826b
3 changed files with 26 additions and 4 deletions
|
|
@ -10,12 +10,12 @@
|
|||
|
||||
## Install dependencys
|
||||
```bash
|
||||
paru -S rcm neovim-git git kitty github-cli tmux zsh fish ttf-jetbrains-mono hyprland waybar hyprpaper \
|
||||
paru -S neovim-git git kitty github-cli tmux zsh fish ttf-jetbrains-mono hyprland waybar hyprpaper \
|
||||
wofi grim dunst brightnessctl pavucontrol xdg-desktop-portal-hyprland xdg-desktop-portal-gtk
|
||||
```
|
||||
|
||||
## And install deps
|
||||
```bash
|
||||
git clone --recursive https://github.com/olexsmir/dotfiles ~/.dotfiles
|
||||
rcup rcrc && rcup
|
||||
./bootstrap
|
||||
```
|
||||
|
|
|
|||
24
bootstrap
Executable file
24
bootstrap
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
ln -sf "$PWD/zshrc" "$HOME/.zshrc"
|
||||
ln -sf "$PWD/gitconfig" "$HOME/.gitconfig"
|
||||
ln -sf "$PWD/tmux.conf" "$HOME/.tmux.conf"
|
||||
|
||||
mkdir -p "$HOME/bin/"
|
||||
for file in $(find "$PWD/bin" -type f); do
|
||||
ln -sf "$file" "$HOME/bin"
|
||||
done
|
||||
|
||||
mkdir -p "$HOME/.config/"
|
||||
ln -sf "$PWD/config/alacritty.yml" "$HOME/.config/alacritty.yml"
|
||||
ln -sf "$PWD/config/electron-flags.conf" "$HOME/.config/electron-flags.conf"
|
||||
ln -sf "$PWD/config/starship.toml" "$HOME/.config/starship.toml"
|
||||
|
||||
for dir in $(find "$PWD/config/" -type d); do
|
||||
mkdir -p "$HOME/.config${dir#$PWD/config}"
|
||||
|
||||
for file in $(find "$dir" -maxdepth 1 -type f); do
|
||||
ln -sf "$file" "$HOME/.config${file#$PWD/config}"
|
||||
done
|
||||
done
|
||||
2
rcrc
2
rcrc
|
|
@ -1,2 +0,0 @@
|
|||
EXCLUDES="README.md screen.png .gitmodules bootstrap.sh"
|
||||
UNDOTTED="bin"
|
||||
Loading…
Add table
Add a link
Reference in a new issue