Don't copy fehbg anymore. (plus shell formatting)
This commit is contained in:
parent
9b4cf62459
commit
df718605b0
@ -19,8 +19,7 @@ function func_seltheme {
|
|||||||
2 "Spaceengine Pink" off)
|
2 "Spaceengine Pink" off)
|
||||||
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
|
||||||
clear
|
clear
|
||||||
for choice in $choices
|
for choice in $choices; do
|
||||||
do
|
|
||||||
case $choice in
|
case $choice in
|
||||||
1)
|
1)
|
||||||
echo "nyarch" >"$HOME/.seltheme"
|
echo "nyarch" >"$HOME/.seltheme"
|
||||||
@ -277,14 +276,14 @@ if [[ "$seltheme" == "nyarch" ]]; then
|
|||||||
cat "./themes/nyarch/i3/color" >>"$HOME/.config/i3/config"
|
cat "./themes/nyarch/i3/color" >>"$HOME/.config/i3/config"
|
||||||
cp -r "./themes/nyarch/polybar" "$HOME/.config/"
|
cp -r "./themes/nyarch/polybar" "$HOME/.config/"
|
||||||
cp -r "./themes/nyarch/neofetch/lowpoly_flamegirl_blue.txt" "$HOME/.config/neofetch/lowpoly_flamegirl.txt"
|
cp -r "./themes/nyarch/neofetch/lowpoly_flamegirl_blue.txt" "$HOME/.config/neofetch/lowpoly_flamegirl.txt"
|
||||||
cp "./themes/.fehbg-nyarch" "$HOME/.fehbg"
|
#cp "./themes/.fehbg-nyarch" "$HOME/.fehbg"
|
||||||
#sed -i 's/^NAME=".*"/NAME="Rawrch Linyux"/' /etc/os-release
|
#sed -i 's/^NAME=".*"/NAME="Rawrch Linyux"/' /etc/os-release
|
||||||
elif [[ "$seltheme" == "space-pink" ]]; then
|
elif [[ "$seltheme" == "space-pink" ]]; then
|
||||||
#cp -r "./themes/space-pink/i3" "$HOME/.config/"
|
#cp -r "./themes/space-pink/i3" "$HOME/.config/"
|
||||||
cat "./themes/space-pink/i3/color" >>"$HOME/.config/i3/config"
|
cat "./themes/space-pink/i3/color" >>"$HOME/.config/i3/config"
|
||||||
cp -r "./themes/space-pink/polybar" "$HOME/.config/"
|
cp -r "./themes/space-pink/polybar" "$HOME/.config/"
|
||||||
cp -r "./themes/space-pink/neofetch/lowpoly_flamegirl_orange.txt" "$HOME/.config/neofetch/lowpoly_flamegirl.txt"
|
cp -r "./themes/space-pink/neofetch/lowpoly_flamegirl_orange.txt" "$HOME/.config/neofetch/lowpoly_flamegirl.txt"
|
||||||
cp "./themes/.fehbg-space-pink" "$HOME/.fehbg"
|
#cp "./themes/.fehbg-space-pink" "$HOME/.fehbg"
|
||||||
fi
|
fi
|
||||||
rm -rf ./themes
|
rm -rf ./themes
|
||||||
|
|
||||||
@ -525,4 +524,5 @@ fi
|
|||||||
exec "$(getent passwd $LOGNAME | cut -d: -f7)"
|
exec "$(getent passwd $LOGNAME | cut -d: -f7)"
|
||||||
|
|
||||||
# exit successfully
|
# exit successfully
|
||||||
$(exit 0); echo "$?"
|
$(exit 0)
|
||||||
|
echo "$?"
|
||||||
|
Loading…
Reference in New Issue
Block a user