gen of rc.local added + more

This commit is contained in:
Luddifee 2021-01-10 20:29:11 +01:00
parent 24aadaf193
commit 89a4d01535
3 changed files with 21 additions and 11 deletions

0
scripts/doom-emacs-setup.sh Normal file → Executable file
View File

12
scripts/setup-laptop.sh Normal file → Executable file
View File

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/bash
# install curl # install curl
sudo pacman -S curl --noconfirm sudo pacman -S curl --noconfirm
@ -10,8 +10,8 @@ sh git-setup.sh
# install python as a dependency for kitty # install python as a dependency for kitty
sudo pacman -S python --noconfirm sudo pacman -S python --noconfirm
# install kitty, i3-gaps, picom, polybar and nitrogen # install kitty, i3-gaps, picom, polybar, nitrogen and rofi
sudo pacman -S kitty i3-gaps picom polybar nitrogen --noconfirm sudo pacman -S kitty i3-gaps picom polybar nitrogen rofi --noconfirm
# full system upgrade # full system upgrade
sudo pacman -Syu --noconfirm sudo pacman -Syu --noconfirm
@ -25,4 +25,8 @@ cp ../.config/polybar/config-laptop ~/.config/polybar/config
cp ../.bashrc ~/.bashrc cp ../.bashrc ~/.bashrc
sh setup-doom-emacs.sh sudo echo "#!/bin/sh -e" > /etc/rc.local
sudo echo "chown $USER /sys/class/backlight/amdgpu_bl0/brightness" >> /etc/rc.local
sudo echo "exit 0" >> /etc/rc.local
sh doom-emacs-setup.sh

20
scripts/setup-pc.sh Normal file → Executable file
View File

@ -28,15 +28,21 @@ cp ../.config/picom/picom.conf ~/.config/picom/picom.conf
cp ../.config/polybar/config-pc ~/.config/polybar/config cp ../.config/polybar/config-pc ~/.config/polybar/config
cp ../.bashrc ~/.bashrc cp ../.bashrc ~/.bashrc
# full system upgrade
sudo pacman -Syu --noconfirm
# setup doom emacs # setup doom emacs
sh doom-emacs-setup.sh sh doom-emacs-setup.sh
sudo systemctl unmask snapd.service
sudo systemctl enable snapd.service
sudo systemctl start snapd.service
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install core
# setup snap package manager
sudo pacman -S snapd --noconfirm
# install rtl8821ce WiFi driver # install rtl8821ce WiFi driver
cd ~/Downloads # cd ~/Downloads
git clone https://github.com/tomaspinho/rtl8821ce # git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce # cd rtl8821ce
makepkg -si --noconfirm # makepkg -si --noconfirm