~ci-train-bot/ubuntu-themes/ubuntu-themes-ubuntu-artful-2845

« back to all changes in this revision

Viewing changes to ambiancetoradiance.sh

  • Committer: Didier Roche
  • Date: 2012-12-11 09:58:35 UTC
  • mfrom: (0.1.153 trunk)
  • Revision ID: didier.roche@canonical.com-20121211095835-2k0vwadebed5v22e
merging ubuntu-mono into ubuntu-themes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
# change colors in svg icon themes
 
3
# in the theme dir
 
4
 
 
5
for file in */*/*.svg; do
 
6
    mv $file $file.bak
 
7
        sed 's/'#dfdbd2'/'#3c3c3c'/g' $file.bak > $file # main color
 
8
        echo 'file '$file' processed'
 
9
    rm $file.bak
 
10
done
 
11
 
 
12
for file in */*/*.svg; do
 
13
    mv $file $file.bak
 
14
        sed 's/'#000000'/'#ffffff'/g' $file.bak > $file # highlight/shadow color 
 
15
        echo 'file '$file' processed'
 
16
    rm $file.bak
 
17
done