forked from cufta22/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsymlink.sh
executable file
·34 lines (27 loc) · 1.19 KB
/
symlink.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
# chmod +x ~/dotfiles/symlink.sh
mydotfiles=$HOME/dotfiles
# Change for your user
ln -s $mydotfiles/.config/alacritty ~/.config
ln -s $mydotfiles/.config/neofetch ~/.config
ln -s $mydotfiles/.config/awesome ~/.config
ln -s $mydotfiles/.config/i3lock ~/.config
ln -s $mydotfiles/.config/picom ~/.config
ln -s $mydotfiles/.config/rofi ~/.config
ln -s $mydotfiles/.config/cava ~/.config
ln -s $mydotfiles/.config/eww ~/.config
sudo rm -rd /etc/X11/xorg.conf.d
sudo ln -s $mydotfiles/xorg.conf.d /etc/X11
sudo cp $mydotfiles/modprobe.d/nobeep.conf /etc/modprobe.d/nobeep.conf
# Change for your user
rm /home/nxc/.bash_profile
rm /home/nxc/.bashrc
ln -s $mydotfiles/.bash_profile ~/
ln -s $mydotfiles/.bashrc ~/
# For some reason LightDM doesn't work well with symlinks the files are copied
# to LightDM config directory, this means that when you make some changes in dotfiles
# you'll have to run this script again :(
sudo rm /etc/lightdm/lightdm-gtk-greeter.conf
sudo rm -rd /etc/lightdm/assets
sudo cp $mydotfiles/lightdm/lightdm-gtk-greeter.conf /etc/lightdm/lightdm-gtk-greeter.conf
sudo cp -r $mydotfiles/lightdm/assets /etc/lightdm/assets