fix: paths, laptop check
This commit is contained in:
parent
ab9a661dcc
commit
c9e81f814b
2
base.sh
2
base.sh
@ -26,7 +26,7 @@ systemctl enable \
|
||||
reflector.timer \
|
||||
systemd-timesyncd
|
||||
|
||||
if [ -d /sys/module/battery/ ]; then
|
||||
if ls -d /sys/class/power_supply/BAT*/ > /dev/null 2>&1; then
|
||||
$PACMAN "${laptop_pkg[@]}"
|
||||
systemctl enable tlp
|
||||
fi
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/bash -e
|
||||
cd
|
||||
|
||||
config="git --git-dir $HOME/.dotfiles --work-tree $HOME"
|
||||
repo='https://git.maby.dev/ange/.dotfiles.git'
|
||||
|
@ -27,10 +27,10 @@ case "$(lspci -k | grep -A3 -E '(VGA|3D)')" in
|
||||
esac
|
||||
$PACMAN "${pkg[@]}"
|
||||
|
||||
cp -rf etc /etc
|
||||
cp -rfT etc /etc
|
||||
|
||||
git clone https://git.maby.dev/ange/suckless /tmp/suckless/
|
||||
cd $_
|
||||
cd "$_"
|
||||
./update.sh
|
||||
|
||||
echo -e "${BOLD}${GREEN}DONE. I recommend you run ./dotfiles to get a fully \
|
||||
|
Loading…
Reference in New Issue
Block a user