Tuesday, March 29, 2011

Flower Hacking

No I ain't evil. =( I didn't hack flowers with a rake.

Oh... I meant hacking gnome-shell with flowers! I must be darn bored today.

If you guys didn't know yet, the $GNOME_SHELL_DIR/data/theme contains all the files needed to make your gnome shell look like, well how it look like. So I had an idea.

I created a .. flower..
in GIMP. And export it as a GIMP brush. Then I created a 52x52 pixel GIMP file with transparent background and I arranged my flowers on it.
I saved it as flowercorner.png. Then I place the file in $GNOME_SHELL_DIR/data/theme/. After which I changed gnome-shell.css codes to refer to the new image instead.
.ripple-box {
    width: 52px;
    height: 52px;
    background-image: url("flowercorner.png");
}
After restarting gnome shell ...
=D

Okay that's all for now. Who knows... I may make a 'flower and bee' theme for gnome-shell wahahaha.

5 comments: