From 1154dd47a6658bc93fd92155e713866793159fa5 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sun, 14 Sep 2014 20:43:24 +0200 Subject: [PATCH] Modify Iris Dark gtk theme to different contrast colour --- bin/iris_color | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 bin/iris_color diff --git a/bin/iris_color b/bin/iris_color new file mode 100755 index 0000000..6e52070 --- /dev/null +++ b/bin/iris_color @@ -0,0 +1,24 @@ +#!/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 "Iris Dark" ]; then + echo "Iris theme not found!" + exit 1 +fi + +if [ -d "Iris Dark Green" ]; then + rm -r "Iris Dark Green" +fi + +cp -a "Iris Dark" "Iris Dark Green" +cd "Iris Dark Green" + +# change orange hilight to green (shade from Faba-Mint) +find . -type f -print0 | xargs -0 sed -i 's/df253f/79a142/g'