Clean up scripts a bit

This commit is contained in:
Leon Grünewald 2021-10-07 00:16:38 +02:00
parent 52955ddbbf
commit e60081a69d
4 changed files with 5 additions and 4 deletions

0
.config/pulse/default.pa Executable file → Normal file
View file

View file

@ -1,5 +1,8 @@
export EDITOR="vim"
export MAKEOPTS="-j$(cat /proc/cpuinfo | awk -F: '$1 ~ /cpu cores/ { print $2 }' | head -n 1 | tr -d ' ')"
if [ -n "$(command -v clang)" ]; then
export CC=clang
else

View file

@ -1,7 +1,6 @@
export UID=$(id -u)
export GID=$(id -g)
export MAKEOPTS="-j$(cat /proc/cpuinfo | awk -F: '$1 ~ /cpu cores/ { print $2 }' | head -n 1 | tr -d ' ')"
export PATH="/usr/local/bin:$HOME/.local/bin:$PATH"
if [ -n "$(command -v composer)" ]; then

View file

@ -34,12 +34,11 @@ git clone https://git.doggoat.de/dhalucario/devconf.git
git submodule update --init --recusive
cd $HOME/workspace/devconf
./install-light.sh
./tools/install-light.sh
res=$(dialog --stdout --checklist "Which parts do you want to install?" 0 0 0 graphical Graphical off)
if [[ $res == *"graphical"* ]]; then
echo test
./install-graphical.sh
./tools/install-graphical.sh
fi
sudo usermod -aG audio,input $(whoami)