gen of rc.local added + more
This commit is contained in:
parent
24aadaf193
commit
89a4d01535
0
scripts/doom-emacs-setup.sh
Normal file → Executable file
0
scripts/doom-emacs-setup.sh
Normal file → Executable file
12
scripts/setup-laptop.sh
Normal file → Executable file
12
scripts/setup-laptop.sh
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/bash
|
||||
|
||||
# install curl
|
||||
sudo pacman -S curl --noconfirm
|
||||
@ -10,8 +10,8 @@ sh git-setup.sh
|
||||
# install python as a dependency for kitty
|
||||
sudo pacman -S python --noconfirm
|
||||
|
||||
# install kitty, i3-gaps, picom, polybar and nitrogen
|
||||
sudo pacman -S kitty i3-gaps picom polybar nitrogen --noconfirm
|
||||
# install kitty, i3-gaps, picom, polybar, nitrogen and rofi
|
||||
sudo pacman -S kitty i3-gaps picom polybar nitrogen rofi --noconfirm
|
||||
|
||||
# full system upgrade
|
||||
sudo pacman -Syu --noconfirm
|
||||
@ -25,4 +25,8 @@ cp ../.config/polybar/config-laptop ~/.config/polybar/config
|
||||
|
||||
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
20
scripts/setup-pc.sh
Normal file → Executable file
@ -28,15 +28,21 @@ cp ../.config/picom/picom.conf ~/.config/picom/picom.conf
|
||||
cp ../.config/polybar/config-pc ~/.config/polybar/config
|
||||
cp ../.bashrc ~/.bashrc
|
||||
|
||||
# full system upgrade
|
||||
sudo pacman -Syu --noconfirm
|
||||
|
||||
# setup doom emacs
|
||||
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
|
||||
cd ~/Downloads
|
||||
git clone https://github.com/tomaspinho/rtl8821ce
|
||||
cd rtl8821ce
|
||||
makepkg -si --noconfirm
|
||||
# cd ~/Downloads
|
||||
# git clone https://github.com/tomaspinho/rtl8821ce
|
||||
# cd rtl8821ce
|
||||
# makepkg -si --noconfirm
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user