diff --git a/raspi.sh b/raspi.sh index c3bbaa9..2362583 100644 --- a/raspi.sh +++ b/raspi.sh @@ -54,20 +54,21 @@ debian.ansible.autoupdate debian.ansible.whoogle" bash install.sh +# get user +user=$(id -u 1000 -n) + # pi-apps (for signal etc.) +su - ${user} -c "wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash" wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash # Signal desktop (over pi-apps GUI) #https://github.com/dennisameling/Signal-Desktop/releases/download/v7.27.0/signal-desktop-unofficial_7.27.0_arm64.deb #dpkg -i signal-desktop-unofficial_7.27.0_arm64.deb - # boot in graphic systemctl set-default graphical.target - # Personal settings with .xsessionrc -$user=$(id -u 1000 -n) sudo cat </home/${user}/.xsessionrc #!/bin/bash