aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schenck2016-08-03 17:24:19 +0200
committerMartin Schenck2017-05-14 18:31:36 +0200
commit04f3e0d0166728fd10012b24b473245dea66b29c (patch)
tree7f8077c6895562826d73481928b37396b73770d9
parentafb7c9ce0cf010a3e91a45ce1fcc220f9fcf644e (diff)
downloadsolarc-theme-04f3e0d0166728fd10012b24b473245dea66b29c.tar.gz
solarc-theme-04f3e0d0166728fd10012b24b473245dea66b29c.tar.xz
solarc-theme-04f3e0d0166728fd10012b24b473245dea66b29c.zip
Moved arc upgrade to solarc upgrade
Fixes #6 Thanks to @tristan957
-rwxr-xr-xsolarc-theme-upgrade (renamed from arc-theme-upgrade)30
1 files changed, 15 insertions, 15 deletions
diff --git a/arc-theme-upgrade b/solarc-theme-upgrade
index ef0ba50..1eae585 100755
--- a/arc-theme-upgrade
+++ b/solarc-theme-upgrade
@@ -1,12 +1,12 @@
#!/bin/sh
-# Script to upgrade/install the arc-theme
+# Script to upgrade/install the solarc-theme
#URL
-theme_name=arc-theme
+theme_name=solarc-theme
# Theme name
-download_url=https://github.com/horst3180/$theme_name/archive/master.tar.gz
+download_url=https://github.com/apheleia/$theme_name/archive/master.tar.gz
# for test purporses only (the repo needs to have this script)
# download_url=https://github.com/leoheck/$theme_name/archive/master.tar.gz
@@ -15,21 +15,21 @@ download_url=https://github.com/horst3180/$theme_name/archive/master.tar.gz
tempdir=/tmp/$theme_name
# Directories
-lightdir=/usr/share/themes/Arc
-darkerdir=/usr/share/themes/Arc-Darker
-darkdir=/usr/share/themes/Arc-Dark
+lightdir=/usr/share/themes/SolArc
+darkerdir=/usr/share/themes/SolArc-Darker
+darkdir=/usr/share/themes/SolArc-Dark
-userlightdir=$HOME/.themes/Arc
-userdarkerdir=$HOME/.themes/Arc-Darker
-userdarkdir=$HOME/.themes/Arc-Dark
+userlightdir=$HOME/.themes/SolArc
+userdarkerdir=$HOME/.themes/SolArc-Darker
+userdarkdir=$HOME/.themes/SolArc-Dark
-userlightdir2=$HOME/local/share/themes/Arc
-userdarkerdir2=$HOME/local/share/themes/Arc-Darker
-userdarkdir2=$HOME/local/share/themes/Arc-Dark
+userlightdir2=$HOME/local/share/themes/SolArc
+userdarkerdir2=$HOME/local/share/themes/SolArc-Darker
+userdarkdir2=$HOME/local/share/themes/SolArc-Dark
#Functions
show_error() {
-printf "\033[1;31m$@\033[0m\n"
+ printf "\033[1;31m$@\033[0m\n"
}
check_root() {
@@ -99,7 +99,7 @@ install_theme() {
case $response in
[yY][eE][sS]|[yY])
echo "Installing $(basename $0) on /usr/bin/"
- cp -r arc-theme-upgrade /usr/bin/
+ cp -r solarc-theme-upgrade /usr/bin/
;;
*)
echo "Aborted by user"
@@ -122,7 +122,7 @@ install_theme() {
# Main part
clear
echo '####################################'
-echo '# Arc Theme Install Script #'
+echo '# SolArc Theme Install Script #'
echo '####################################'
echo