Image 01


C Anthony Risinger

GTK3 Themes by nale12 36 comments

see my comment here:

... for a simple way to correct this problem. - Jun 24 2012

GTK3 Themes by nale12 36 comments

i am running Archlinux, which is GTK 3.4, without issues. whenever you run an app from the CLI it whines about unit-less CSS quantities being deprecated ... a couple hundred times. since i got annoyed by it, i banged out this gnarly-looking "one-liner":

Quote:for f in gtk-widgets.css unity.css; do mutter-message |& grep -oE "$f"':[0-9]+:[0-9]+' | { echo 'BEGIN {OFS=""}'; sed -r "s,$f"':([0-9]+):([0-9]+),NR==\1{$\2=$\2"px"},'; echo '{print}'; } | awk -f - -F '' "$f" > "$f".new; done
... simply `cd` to the gtk-3.0 dir of each variant, run the above, then `mv` the *.new files ... you might want to back up the originals and diff the new ones prior to overwriting, just to be sure ;-) the command is idempotent; multiple runs have no effect.

the command dynamically converts all the errors into an AWK script which then corrects them all, in one pass. the author could use it to auto-fix the theme's CSS files, if they wish.

the only other problem i have is a color issue: links in empathy (among others) are very difficult to see. - Jun 24 2012

Gnome Shell Themes
by satya164

5 .9
9   Jul 06 2012

GTK3 Themes
by nale12

7 .6
9   Jun 24 2012