From 7f969eb1191af68003c374eeb2209b4f8a3b5120 Mon Sep 17 00:00:00 2001 From: olli <> Date: Fri, 4 Oct 2024 15:55:53 +0200 Subject: [PATCH] updates --- raspi.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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