aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-08-16 21:48:47 +0530
committerkrolxon <krolyxon@tutanota.com>2025-08-16 21:48:47 +0530
commit8009eed0595dbf069e0b8c9f76349d618d9d33ac (patch)
tree48449f8238be66d59afbff3419b6f6711e17d7f3
parent20905df875de18a40e3cee6accd056feee5d5b45 (diff)
move to using stow
-rwxr-xr-xarch_install.md14
-rwxr-xr-xarch_install.sh12
2 files changed, 7 insertions, 19 deletions
diff --git a/arch_install.md b/arch_install.md
index b8d927a..2f9d592 100755
--- a/arch_install.md
+++ b/arch_install.md
@@ -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
-```
diff --git a/arch_install.sh b/arch_install.sh
index 8fd88c1..0a1fb3a 100755
--- a/arch_install.sh
+++ b/arch_install.sh
@@ -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