From 2c86bf18b0828df1f09bdb26a629b05670770d3b Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 8 Mar 2021 08:12:19 +0100 Subject: [PATCH] Add theme download to script --- arch-config/scripts/arch-config.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch-config/scripts/arch-config.sh b/arch-config/scripts/arch-config.sh index fa2ae866..29762dd1 100755 --- a/arch-config/scripts/arch-config.sh +++ b/arch-config/scripts/arch-config.sh @@ -134,6 +134,16 @@ sudo cp -r ~/config/usr / # copy xresources cp ~/config/.Xresources ~/ +# install theme selected in themes file +git clone https://gitlab.com/RealStickman-arch/themes.git +seltheme="$(cat "$HOME/.seltheme")" +if [[ "$seltheme" == "nyarch" ]]; then + cp "./themes/nyarch/"* "$HOME/.config/" +elif [[ "$seltheme" == "space-pink" ]]; then + cp "./themes/space-pink"* "$HOME/.config/" +fi +rm -rf ./themes + # download cat as cat git clone https://github.com/RealStickman/bash-cat-with-cat.git cp ./bash-cat-with-cat/cat.sh "$HOME/scripts/pieces/cat.sh"