From 45fad9f1b0663fb542421cfcce39dcfcf74a2d0a Mon Sep 17 00:00:00 2001 From: awy Date: Tue, 29 Oct 2024 22:24:23 +0300 Subject: fixes --- rice.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'rice.sh') diff --git a/rice.sh b/rice.sh index 1a0ba91..9fafbb4 100755 --- a/rice.sh +++ b/rice.sh @@ -1,5 +1,5 @@ #!/bin/sh - +set -e WORKDIRECTORY=$PWD PERMUSER="awy" @@ -13,17 +13,17 @@ pacman -Sy --noconfirm pacman -S $DEPLIST --noconfirm usermod -aG seat,input,audio,video $PERMUSER -doas -u $PERMUSER cp -r $WORKDIRECTORY/.config /home/$PERMUSER -doas -u $PERMUSER cp -r $WORKDIRECTORY/.local /home/$PERMUSER -doas -u $PERMUSER cp -a $WORKDIRECTORY/.zprofile /home/$PERMUSER +doas -u $PERMUSER cp -r "$WORKDIRECTORY"/.config /home/$PERMUSER +doas -u $PERMUSER cp -r "$WORKDIRECTORY"/.local /home/$PERMUSER +doas -u $PERMUSER cp -a "$WORKDIRECTORY"/.zprofile /home/$PERMUSER doas -u $PERMUSER mkdir -p /home/$PERMUSER/.cache/lf doas -u $PERMUSER mkdir -p /home/$PERMUSER/.cache/zsh doas -u $PERMUSER mkdir -p /home/$PERMUSER/.local/share/themes doas -u $PERMUSER mkdir -p /home/$PERMUSER/.local/share/icons -cd $WORKDIRECTORY -doas -u $PERMUSER git clone https://github.com/awnrt/gruvbox-gtk-theme +cd "$WORKDIRECTORY" || exit +doas -u $PERMUSER git clone https://github.com/awnrt/gruvbox-gtk-theme doas -u $PERMUSER cp -r gruvbox-gtk-theme/Gruvbox-Dark /home/$PERMUSER/.local/share/themes doas -u $PERMUSER cp -r gruvbox-gtk-theme/Gruvbox-Icons /home/$PERMUSER/.local/share/icons @@ -32,12 +32,12 @@ doas -u $PERMUSER dbus-launch gsettings set org.gnome.desktop.interface icon-the doas -u $PERMUSER dbus-launch gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu' doas -u $PERMUSER dbus-launch gsettings set org.gnome.desktop.interface font-name "DejaVu Sans 10" -cd $WORKDIRECTORY +cd "$WORKDIRECTORY" || exit doas -u $PERMUSER git clone https://github.com/zdharma-continuum/fast-syntax-highlighting mkdir -p /usr/share/zsh/plugins cp -rf fast-syntax-highlighting /usr/share/zsh/plugins cd .. -rm -rf hyprdots +rm -rf hyprdots doas -u $PERMUSER mkdir -p /home/$PERMUSER/.ssh doas -u $PERMUSER mkdir -p /home/$PERMUSER/.gnupg -- cgit v1.2.3