updates after installing on pinebook pro

master
Alex 2023-04-08 00:38:50 -05:00
parent 78cac28964
commit 6c232a9609
4 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@ pkgver="1.0.0"
pkgver="1"
pkgrel="9"
pkgdesc="Install my config for Arch based systems."
arch=("x86_64")
arch=("any")
depends=(
#system core, provides core functionality like internet, sound, etc.

View File

@ -16,7 +16,7 @@ pkg_install() {
aurprogs="$(cat "$AUR_PROGS_FILE")"
for pkg in $aurprogs
do
yay -S "$pkg"
yay -S "$pkg" --noconfirm
done
}

View File

@ -6,12 +6,11 @@ ln -s "$FILES_DIR"/dl "$HOME"/dl
ln -s "$FILES_DIR"/docs "$HOME"/docs
ln -s "$FILES_DIR"/media "$HOME"/media
ln -s "$FILES_DIR"/.ssh "$HOME"/.ssh
ln -s "$FILES_DIR"/.local/share/password-store "$HOME"/.local/share/
ln -s "$FILES_DIR"/.local/share/gnupg "$HOME"/.local/share/
ln -s "$FILES_DIR"/dbhome "$HOME"/
ln -s "$FILES_DIR"/password-store "$HOME"/.local/share/
ln -s "$FILES_DIR"/gnupg "$HOME"/.local/share/
#files
ln -s "$FILES_DIR"/.gitconfig "$HOME"/.gitconfig
mkdir -p ~/.var/app/
ln -s "$HOME"/.files/.var/app/io.gitlab.librewolf-community ~/.var/app/io.gitlab.librewolf-community
#mkdir -p ~/.var/app/
#ln -s "$HOME"/.files/.var/app/io.gitlab.librewolf-community ~/.var/app/io.gitlab.librewolf-community

View File

@ -99,7 +99,8 @@ cputemp() {
}
battery() {
BATT_DIR="/sys/class/power_supply/BAT0"
#BATT_DIR="/sys/class/power_supply/BAT0"
BATT_DIR="/sys/class/power_supply/cw2015-battery"
if [ -d "$BATT_DIR" ]; then
status="$(cat "$BATT_DIR"/status)"
charge="$(cat "$BATT_DIR"/capacity)"