diff options
author | awy <awy@awy.one> | 2024-10-29 22:24:23 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2024-10-29 22:24:23 +0300 |
commit | 45fad9f1b0663fb542421cfcce39dcfcf74a2d0a (patch) | |
tree | 8119b0041a4a09afe089eef06bf5ca69aab11583 | |
parent | 2bf0dcbefb0e855750bcafbd35ab0809e1082f81 (diff) |
fixes
-rwxr-xr-x | rice.sh | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 |