diff --git a/img/icons/hacker/add.png b/img/icons/hacker/add.png new file mode 100644 index 00000000..c64c1698 Binary files /dev/null and b/img/icons/hacker/add.png differ diff --git a/img/icons/hacker/delete.png b/img/icons/hacker/delete.png new file mode 100644 index 00000000..e26f5d27 Binary files /dev/null and b/img/icons/hacker/delete.png differ diff --git a/img/icons/hacker/dm.png b/img/icons/hacker/dm.png new file mode 100644 index 00000000..ec19dcfb Binary files /dev/null and b/img/icons/hacker/dm.png differ diff --git a/img/icons/hacker/download.png b/img/icons/hacker/download.png new file mode 100644 index 00000000..c31d75b2 Binary files /dev/null and b/img/icons/hacker/download.png differ diff --git a/img/icons/hacker/like.png b/img/icons/hacker/like.png new file mode 100644 index 00000000..93916eda Binary files /dev/null and b/img/icons/hacker/like.png differ diff --git a/img/icons/hacker/like_inactive.png b/img/icons/hacker/like_inactive.png new file mode 100644 index 00000000..52a45ad8 Binary files /dev/null and b/img/icons/hacker/like_inactive.png differ diff --git a/img/icons/hacker/new.png b/img/icons/hacker/new.png new file mode 100644 index 00000000..a886a47f Binary files /dev/null and b/img/icons/hacker/new.png differ diff --git a/img/icons/hacker/newpost.png b/img/icons/hacker/newpost.png new file mode 100644 index 00000000..390d2ffb Binary files /dev/null and b/img/icons/hacker/newpost.png differ diff --git a/img/icons/hacker/pagedown.png b/img/icons/hacker/pagedown.png new file mode 100644 index 00000000..4a1a353a Binary files /dev/null and b/img/icons/hacker/pagedown.png differ diff --git a/img/icons/hacker/pageup.png b/img/icons/hacker/pageup.png new file mode 100644 index 00000000..520318b9 Binary files /dev/null and b/img/icons/hacker/pageup.png differ diff --git a/img/icons/hacker/person.png b/img/icons/hacker/person.png new file mode 100644 index 00000000..76c0ed5d Binary files /dev/null and b/img/icons/hacker/person.png differ diff --git a/img/icons/hacker/refresh.png b/img/icons/hacker/refresh.png new file mode 100644 index 00000000..aead2cd0 Binary files /dev/null and b/img/icons/hacker/refresh.png differ diff --git a/img/icons/hacker/repeat.png b/img/icons/hacker/repeat.png new file mode 100644 index 00000000..ee20b01e Binary files /dev/null and b/img/icons/hacker/repeat.png differ diff --git a/img/icons/hacker/repeat_inactive.png b/img/icons/hacker/repeat_inactive.png new file mode 100644 index 00000000..4222e1c2 Binary files /dev/null and b/img/icons/hacker/repeat_inactive.png differ diff --git a/img/icons/hacker/reply.png b/img/icons/hacker/reply.png new file mode 100644 index 00000000..93fe41a1 Binary files /dev/null and b/img/icons/hacker/reply.png differ diff --git a/img/icons/hacker/scope_dm.png b/img/icons/hacker/scope_dm.png new file mode 100644 index 00000000..ca11f79a Binary files /dev/null and b/img/icons/hacker/scope_dm.png differ diff --git a/img/icons/hacker/scope_followers.png b/img/icons/hacker/scope_followers.png new file mode 100644 index 00000000..dd19c92f Binary files /dev/null and b/img/icons/hacker/scope_followers.png differ diff --git a/img/icons/hacker/scope_public.png b/img/icons/hacker/scope_public.png new file mode 100644 index 00000000..dc8d371b Binary files /dev/null and b/img/icons/hacker/scope_public.png differ diff --git a/img/icons/hacker/scope_report.png b/img/icons/hacker/scope_report.png new file mode 100644 index 00000000..6b62917a Binary files /dev/null and b/img/icons/hacker/scope_report.png differ diff --git a/img/icons/hacker/scope_share.png b/img/icons/hacker/scope_share.png new file mode 100644 index 00000000..250b2bc3 Binary files /dev/null and b/img/icons/hacker/scope_share.png differ diff --git a/img/icons/hacker/scope_unlisted.png b/img/icons/hacker/scope_unlisted.png new file mode 100644 index 00000000..31fd5402 Binary files /dev/null and b/img/icons/hacker/scope_unlisted.png differ diff --git a/img/icons/hacker/search.png b/img/icons/hacker/search.png new file mode 100644 index 00000000..5835d8f4 Binary files /dev/null and b/img/icons/hacker/search.png differ diff --git a/theme b/theme index a08b5572..60ff887f 100755 --- a/theme +++ b/theme @@ -8,6 +8,11 @@ if [ ! -f epicyon-profile.css ]; then fi if [[ "$themeName" == 'default' ]]; then + if [ -f config.json ]; then + if grep -q '"theme"' config.json; then + sed -i '/"theme"/d' config.json + fi + fi if [ -f epicyon.css ]; then rm epicyon.css fi @@ -23,6 +28,11 @@ if [[ "$themeName" == 'default' ]]; then fi if [[ "$themeName" == 'purple'* ]]; then + if [ -f config.json ]; then + if grep -q '"theme"' config.json; then + sed -i '/"theme"/d' config.json + fi + fi cp epicyon-profile.css epicyon.css filename=epicyon.css sed -i "s|--main-bg-color:.*|--main-bg-color: #1f152d;|g" "$filename" @@ -66,6 +76,14 @@ if [[ "$themeName" == 'purple'* ]]; then fi if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then + if [ -f config.json ]; then + if grep -q '"theme"' config.json; then + sed -i 's|"theme".*|"theme": "hacker";|g' config.json + else + sed -i '/"admin"/i "theme": "hacker";' config.json + sed -i 's|"theme"| "theme"|g' config.json + fi + fi cp epicyon-profile.css epicyon.css filename=epicyon.css sed -i "s|--main-bg-color:.*|--main-bg-color: black;|g" "$filename" @@ -121,6 +139,11 @@ if [[ "$themeName" == 'hack'* || "$themeName" == 'hax'* ]]; then fi if [[ "$themeName" == 'light'* ]]; then + if [ -f config.json ]; then + if grep -q '"theme"' config.json; then + sed -i '/"theme"/d' config.json + fi + fi cp epicyon-profile.css epicyon.css filename=epicyon.css sed -i "s|--main-bg-color:.*|--main-bg-color: #e6ebf0;|g" "$filename"