arch-install8009eed
move to using stow
+7 −19
2 files changed
- M arch_install.md +3 −11
- M arch_install.sh +4 −8
| @@ -113,7 +113,7 @@ pacman -S --noconfirm hyprland waybar hyprlock hyprpaper hyprpolkitagent hyprsho | |||
| 113 | 113 | awesome-terminal-fonts bat libnotify ntfs-3g \ | |
| 114 | 114 | jq mpv ncdu transmission-cli yt-dlp cowsay \ | |
| 115 | 115 | pacman-contrib pavucontrol rsync ripgrep python-pywal \ | |
| 116 | − | imlib2 zip unzip wget pcmanfm yazi \ | |
| 116 | + | imlib2 zip unzip wget pcmanfm yazi stow \ | |
| 117 | 117 | fzf man-db pipewire pipewire-pulse xcompmgr pamixer \ | |
| 118 | 118 | sxhkd imagemagick network-manager git dash arc-gtk-theme papirus-icon-theme \ | |
| 119 | 119 | neovim lua xdg-user-dirs mpd ncmpcpp unclutter \ | |
| @@ -147,9 +147,8 @@ passwd $username | |||
| 147 | 147 | 21. Setup dotfiles | |
| 148 | 148 | ``` | |
| 149 | 149 | cd $HOME | |
| 150 | − | git clone --separate-git-dir=$HOME/.dotfiles git@github.com:krolyxon/dotfiles.git tmpdotfiles | |
| 151 | − | rsync --recursive --verbose --exclude '.git' tmpdotfiles/ $HOME/ | |
| 152 | − | rm -r tmpdotfiles | |
| 150 | + | git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/ | |
| 151 | + | cd ~/.dotfiles; stow . | |
| 153 | 152 | ``` | |
| 154 | 153 | ||
| 155 | 154 | 22. nsxiv: image viewer | |
| @@ -173,10 +172,3 @@ paru -S --noconfirm htop-vim zsh-fast-syntax-highlighting-git keyd-git zen-brows | |||
| 173 | 172 | ``` | |
| 174 | 173 | chsh -s $(which zsh) | |
| 175 | 174 | ``` | |
| 176 | − | ||
| 177 | − | 26. some symlinks and git alias | |
| 178 | − | ``` | |
| 179 | − | ln -s ~/.config/shell/profile .zprofile | |
| 180 | − | alias dots='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' | |
| 181 | − | dots config --local status.showUntrackedFiles no | |
| 182 | − | ``` | |
| @@ -62,7 +62,7 @@ pacman -S --noconfirm hyprland waybar hyprlock hyprpaper hyprpolkitagent hyprsho | |||
| 62 | 62 | awesome-terminal-fonts bat libnotify ntfs-3g \ | |
| 63 | 63 | jq mpv ncdu transmission-cli yt-dlp cowsay \ | |
| 64 | 64 | pacman-contrib pavucontrol rsync ripgrep python-pywal \ | |
| 65 | − | imlib2 zip unzip wget pcmanfm yazi \ | |
| 65 | + | imlib2 zip unzip wget pcmanfm yazi stow \ | |
| 66 | 66 | fzf man-db pipewire pipewire-pulse xcompmgr pamixer \ | |
| 67 | 67 | sxhkd imagemagick network-manager git dash arc-gtk-theme papirus-icon-theme \ | |
| 68 | 68 | neovim lua xdg-user-dirs mpd ncmpcpp unclutter \ | |
| @@ -88,9 +88,9 @@ exit | |||
| 88 | 88 | #part3 | |
| 89 | 89 | printf '\033c' | |
| 90 | 90 | cd $HOME | |
| 91 | − | git clone --separate-git-dir=$HOME/.dotfiles git@github.com:krolyxon/dotfiles.git tmpdotfiles | |
| 92 | − | rsync --recursive --verbose --exclude '.git' tmpdotfiles/ $HOME/ | |
| 93 | − | rm -r tmpdotfiles | |
| 91 | + | git clone git@github.com:krolyxon/dotfiles.git ~/.dotfiles/ | |
| 92 | + | cd ~/.dotfiles; stow . | |
| 93 | + | ||
| 94 | 94 | ||
| 95 | 95 | ## nsxiv: image viewer | |
| 96 | 96 | git clone --depth=1 git@github.com:krolyxon/nsxiv.git ~/.local/src/nsxiv | |
| @@ -105,8 +105,4 @@ paru -S --noconfirm htop-vim \ | |||
| 105 | 105 | zsh-fast-syntax-highlighting keyd-git zen-browser-bin | |
| 106 | 106 | ||
| 107 | 107 | chsh -s $(which zsh) | |
| 108 | − | ||
| 109 | − | ln -s ~/.config/shell/profile .zprofile | |
| 110 | − | alias dots='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' | |
| 111 | − | dots config --local status.showUntrackedFiles no | |
| 112 | 108 | exit | |