create install.sh and update README
This commit is contained in:
parent
05c4a780d7
commit
49c53140e4
4 changed files with 53 additions and 9 deletions
23
README.md
23
README.md
|
|
@ -1,9 +1,20 @@
|
||||||
# DOTFILES
|
# DOTFILES
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
### Tools I use on my different machine
|
### Tools configuration folder
|
||||||
- alacritty
|
- [alacritty](https://alacritty.org/)
|
||||||
- fish
|
- [fish](https://fishshell.com/)
|
||||||
- helix
|
- [helix](https://helix-editor.com/)
|
||||||
- mango
|
- [mango](https://mangowm.github.io/) with [dankmaterialshell](https://danklinux.com/)
|
||||||
- zellij
|
- [zellij](https://zellij.dev/)
|
||||||
|
|
||||||
|
### Prerequisite
|
||||||
|
- [stow](https://www.gnu.org/software/stow/) (to stow dotfiles)
|
||||||
|
- [eza](https://eza.rocks/) (ls replacement used in the installation script)
|
||||||
|
|
||||||
|
### Install
|
||||||
|
```
|
||||||
|
cd $HOME
|
||||||
|
git clone https://codeberg.org/Guiglin/dotfiles.git
|
||||||
|
./install.sh
|
||||||
|
```
|
||||||
|
|
|
||||||
35
install.sh
Executable file
35
install.sh
Executable file
|
|
@ -0,0 +1,35 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Check stow is installed
|
||||||
|
echo "Checking stow is installed"
|
||||||
|
if [[ $(which stow 2>/dev/null) ]]; then
|
||||||
|
echo "stow is installed!"
|
||||||
|
else
|
||||||
|
echo "stow is not installed, exiting…"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Checking eza is installed"
|
||||||
|
if [[ $(which eza 2>/dev/null) ]]; then
|
||||||
|
echo "eza is installed!"
|
||||||
|
else
|
||||||
|
echo "eza is not installed, exiting…"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check the folder is deploy in $HOME
|
||||||
|
echo "Check the folder is deploy in $HOME"
|
||||||
|
path=$(dirname $(pwd))
|
||||||
|
if [[ "$path" != "$HOME" ]]; then
|
||||||
|
echo "dotfiles folder must be cloned in your /\$HOME directory"
|
||||||
|
echo "exiting…"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "dotfiles folder is in the right place"
|
||||||
|
|
||||||
|
echo "Stowing dotfiles..."
|
||||||
|
for folder in $(eza -D)
|
||||||
|
do
|
||||||
|
stow "$folder"
|
||||||
|
done
|
||||||
|
echo "done!"
|
||||||
|
|
@ -8,9 +8,6 @@ gentoo-pipewire-launcher restart >/dev/null 2>&1 &
|
||||||
# ssh agent
|
# ssh agent
|
||||||
ssh-agent -a /run/user/1000/ssh-agent.socket >/dev/null 2>&1 &
|
ssh-agent -a /run/user/1000/ssh-agent.socket >/dev/null 2>&1 &
|
||||||
|
|
||||||
# kdeconnectd
|
|
||||||
kdeconnectd >/dev/null 2>&1 &
|
|
||||||
|
|
||||||
# password
|
# password
|
||||||
/usr/lib/polkit-kde-authentication-agent-1 >/dev/null 2>&1 &
|
/usr/lib/polkit-kde-authentication-agent-1 >/dev/null 2>&1 &
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -290,6 +290,7 @@ source=./dms/cursor.conf
|
||||||
# autostart your favorite applications here
|
# autostart your favorite applications here
|
||||||
|
|
||||||
exec-once=~/.config/mango/autostart.sh
|
exec-once=~/.config/mango/autostart.sh
|
||||||
|
exec-once=kdeconnectd
|
||||||
|
|
||||||
source=./dms/cursor.conf
|
source=./dms/cursor.conf
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue