move to using stow

This commit is contained in:
krolxon 2025-08-16 21:48:47 +05:30
parent 20905df875
commit 8009eed059
2 changed files with 7 additions and 19 deletions

View File

@ -113,7 +113,7 @@ pacman -S --noconfirm hyprland waybar hyprlock hyprpaper hyprpolkitagent hyprsho
awesome-terminal-fonts bat libnotify ntfs-3g \
jq mpv ncdu transmission-cli yt-dlp cowsay \
pacman-contrib pavucontrol rsync ripgrep python-pywal \
imlib2 zip unzip wget pcmanfm yazi \
imlib2 zip unzip wget pcmanfm yazi stow \
fzf man-db pipewire pipewire-pulse xcompmgr pamixer \
sxhkd imagemagick network-manager git dash arc-gtk-theme papirus-icon-theme \
neovim lua xdg-user-dirs mpd ncmpcpp unclutter \
@ -147,9 +147,8 @@ passwd $username
21. Setup dotfiles
```
cd $HOME
git clone --separate-git-dir=$HOME/.dotfiles git@github.com:krolyxon/dotfiles.git tmpdotfiles
rsync --recursive --verbose --exclude '.git' tmpdotfiles/ $HOME/
rm -r tmpdotfiles
git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/
cd ~/.dotfiles; stow .
```
22. nsxiv: image viewer
@ -173,10 +172,3 @@ paru -S --noconfirm htop-vim zsh-fast-syntax-highlighting-git keyd-git zen-brows
```
chsh -s $(which zsh)
```
26. some symlinks and git alias
```
ln -s ~/.config/shell/profile .zprofile
alias dots='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dots config --local status.showUntrackedFiles no
```

View File

@ -62,7 +62,7 @@ pacman -S --noconfirm hyprland waybar hyprlock hyprpaper hyprpolkitagent hyprsho
awesome-terminal-fonts bat libnotify ntfs-3g \
jq mpv ncdu transmission-cli yt-dlp cowsay \
pacman-contrib pavucontrol rsync ripgrep python-pywal \
imlib2 zip unzip wget pcmanfm yazi \
imlib2 zip unzip wget pcmanfm yazi stow \
fzf man-db pipewire pipewire-pulse xcompmgr pamixer \
sxhkd imagemagick network-manager git dash arc-gtk-theme papirus-icon-theme \
neovim lua xdg-user-dirs mpd ncmpcpp unclutter \
@ -88,9 +88,9 @@ exit
#part3
printf '\033c'
cd $HOME
git clone --separate-git-dir=$HOME/.dotfiles git@github.com:krolyxon/dotfiles.git tmpdotfiles
rsync --recursive --verbose --exclude '.git' tmpdotfiles/ $HOME/
rm -r tmpdotfiles
git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/
cd ~/.dotfiles; stow .
## nsxiv: image viewer
git clone --depth=1 git@github.com:krolyxon/nsxiv.git ~/.local/src/nsxiv
@ -105,8 +105,4 @@ paru -S --noconfirm htop-vim \
zsh-fast-syntax-highlighting keyd-git zen-browser-bin
chsh -s $(which zsh)
ln -s ~/.config/shell/profile .zprofile
alias dots='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dots config --local status.showUntrackedFiles no
exit