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 \ awesome-terminal-fonts bat libnotify ntfs-3g \
jq mpv ncdu transmission-cli yt-dlp cowsay \ jq mpv ncdu transmission-cli yt-dlp cowsay \
pacman-contrib pavucontrol rsync ripgrep python-pywal \ 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 \ fzf man-db pipewire pipewire-pulse xcompmgr pamixer \
sxhkd imagemagick network-manager git dash arc-gtk-theme papirus-icon-theme \ sxhkd imagemagick network-manager git dash arc-gtk-theme papirus-icon-theme \
neovim lua xdg-user-dirs mpd ncmpcpp unclutter \ neovim lua xdg-user-dirs mpd ncmpcpp unclutter \
@ -147,9 +147,8 @@ passwd $username
21. Setup dotfiles 21. Setup dotfiles
``` ```
cd $HOME cd $HOME
git clone --separate-git-dir=$HOME/.dotfiles git@github.com:krolyxon/dotfiles.git tmpdotfiles git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/
rsync --recursive --verbose --exclude '.git' tmpdotfiles/ $HOME/ cd ~/.dotfiles; stow .
rm -r tmpdotfiles
``` ```
22. nsxiv: image viewer 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) 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 \ awesome-terminal-fonts bat libnotify ntfs-3g \
jq mpv ncdu transmission-cli yt-dlp cowsay \ jq mpv ncdu transmission-cli yt-dlp cowsay \
pacman-contrib pavucontrol rsync ripgrep python-pywal \ 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 \ fzf man-db pipewire pipewire-pulse xcompmgr pamixer \
sxhkd imagemagick network-manager git dash arc-gtk-theme papirus-icon-theme \ sxhkd imagemagick network-manager git dash arc-gtk-theme papirus-icon-theme \
neovim lua xdg-user-dirs mpd ncmpcpp unclutter \ neovim lua xdg-user-dirs mpd ncmpcpp unclutter \
@ -88,9 +88,9 @@ exit
#part3 #part3
printf '\033c' printf '\033c'
cd $HOME cd $HOME
git clone --separate-git-dir=$HOME/.dotfiles git@github.com:krolyxon/dotfiles.git tmpdotfiles git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/
rsync --recursive --verbose --exclude '.git' tmpdotfiles/ $HOME/ cd ~/.dotfiles; stow .
rm -r tmpdotfiles
## nsxiv: image viewer ## nsxiv: image viewer
git clone --depth=1 git@github.com:krolyxon/nsxiv.git ~/.local/src/nsxiv 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 zsh-fast-syntax-highlighting keyd-git zen-browser-bin
chsh -s $(which zsh) 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 exit