diff --git a/1-change-color.sh b/1-change-color.sh index 0b4d7af..b9cf99b 100755 --- a/1-change-color.sh +++ b/1-change-color.sh @@ -83,13 +83,13 @@ newcolour7=$personaldarkcolour SRC_DIR="src/Mint-Y" -find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour1'/'$newcolour1'/g' {} \; -find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour2'/'$newcolour2'/g' {} \; -find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour3'/'$newcolour3'/g' {} \; -find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour4'/'$newcolour4'/g' {} \; -find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour5'/'$newcolour5'/g' {} \; -find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour6'/'$newcolour6'/g' {} \; -find $SRC_DIR -name "*.*" -type f -exec sed -i 's/'$oldcolour7'/'$newcolour7'/g' {} \; +find $SRC_DIR -type f -exec sed -i 's/'$oldcolour1'/'$newcolour1'/g' {} \; +find $SRC_DIR -type f -exec sed -i 's/'$oldcolour2'/'$newcolour2'/g' {} \; +find $SRC_DIR -type f -exec sed -i 's/'$oldcolour3'/'$newcolour3'/g' {} \; +find $SRC_DIR -type f -exec sed -i 's/'$oldcolour4'/'$newcolour4'/g' {} \; +find $SRC_DIR -type f -exec sed -i 's/'$oldcolour5'/'$newcolour5'/g' {} \; +find $SRC_DIR -type f -exec sed -i 's/'$oldcolour6'/'$newcolour6'/g' {} \; +find $SRC_DIR -type f -exec sed -i 's/'$oldcolour7'/'$newcolour7'/g' {} \; #Rubberband Solution for now diff --git a/2-delete-assets.sh b/2-delete-assets.sh index c8a55e1..11d4a75 100755 --- a/2-delete-assets.sh +++ b/2-delete-assets.sh @@ -15,11 +15,11 @@ SRC_DIR="src/Mint-Y" echo "Deleting all assets i.e. png in the src folder" -rm -rf $SRC_DIR/gtk-2.0/assets/* -rm -rf $SRC_DIR/gtk-2.0/assets-dark/* -rm -rf $SRC_DIR/gtk-2.0/menubar-toolbar/* +rm -rf $SRC_DIR/gtk-2.0/assets/*.png +rm -rf $SRC_DIR/gtk-2.0/assets-dark/*.png +rm -rf $SRC_DIR/gtk-2.0/menubar-toolbar/*.png -rm -rf $SRC_DIR/gtk-3.0/assets/* +rm -rf $SRC_DIR/gtk-3.0/assets/*.png echo "All png's have been deleted"