You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdesdk/cervisia/change_colors.pl

32 lines
623 B

#!/usr/bin/perl
while(<>)
{
($key) = ($_ =~ /([^=]*)=(.*)$/);
($value) = ($_ =~ /^[^=]*=(.*)$/);
if( $key eq "Conflict" and $value eq "255,100,100" )
{
print "# DELETE " . $key . "\n";
print $key . "=255,130,130\n";
next;
}
if( $key eq "LocalChange" and $value eq "190,190,237" )
{
print "# DELETE " . $key . "\n";
print $key . "=130,130,255\n";
next;
}
if( $key eq "RemoteChange" and $value eq "255,240,190" )
{
print "# DELETE " . $key . "\n";
print $key . "=70,210,70\n";
next;
}
print $_;
}