1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 20:35:11 +01:00

Modify Iris Dark gtk theme to different contrast colour

This commit is contained in:
Michiel Scholten
2014-09-14 20:43:24 +02:00
parent ade147bfaa
commit 1154dd47a6

24
bin/iris_color Executable file
View File

@@ -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'