From b9469bdf5c7971fc91fe7b0e0e87933155a5464f Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 29 Jul 2014 17:02:00 +0200 Subject: [PATCH] Orange version of the Numix theme --- bin/numix_color_orange | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 bin/numix_color_orange diff --git a/bin/numix_color_orange b/bin/numix_color_orange new file mode 100755 index 0000000..9ae7c3c --- /dev/null +++ b/bin/numix_color_orange @@ -0,0 +1,28 @@ +#!/bin/bash + +# Make sure only root can run our script +if [[ $EUID -ne 0 ]]; then + echo "This script must be run as root" 1>&2 + exit 1 +fi + +cd /usr/share/themes + +if [ ! -d "Numix Daily" ]; then + echo "Numix theme not found!" + exit 1 +fi + +if [ -d "Numix Orange" ]; then + rm -r "Numix Orange" +fi + +cp -a "Numix Daily" "Numix Orange" +cd "Numix Orange" + +# change orange hilight to blue +#find . -type f -print0 | xargs -0 sed -i 's/d64937/1BA1E2/g' +find . -type f -print0 | xargs -0 sed -i 's/d64937/ff8813/g' + +# change darkish gray background to lighter +find . -type f -print0 | xargs -0 sed -i 's/dedede/eeeeee/g'