From: Iain Patterson Date: Thu, 25 Aug 2011 09:54:53 +0000 (+0100) Subject: Allow GTK (v1 and v2) overrides. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=83448b47cbb7f713eaa4a4563dc3110973eaaa5e;p=profile.git Allow GTK (v1 and v2) overrides. Allow including a local GTKv1 theme by creating a symlink in ~/.themes named "theme" which points to the theme directory (containing gtkrc). Allow including a local GTKv2 theme by creating a symlink in ~/.themes named "theme-2.0" pointing to the directory containing the v2 gtkrc. Allow including local overrides in ~/.themes/override (resp. override-2.0). Also do the right thing for GNOME themes. --- diff --git a/.gtkrc b/.gtkrc new file mode 100644 index 0000000..9dd1111 --- /dev/null +++ b/.gtkrc @@ -0,0 +1,5 @@ +# GTK 1 theme. +# Create the ".themes/theme" symlink in .themes pointing to the local theme. +include ".themes/theme-2.0/gtkrc" +# Add local overrides to the ".themes/override" file. +include ".themes/override" diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 new file mode 100644 index 0000000..c5498b2 --- /dev/null +++ b/.gtkrc-2.0 @@ -0,0 +1,5 @@ +# GTK 2 theme. +# Create the ".themes/theme-2.0" symlink in .themes pointing to the local theme. +include ".themes/theme-2.0/gtkrc" +# Add local overrides to the ".themes/override-2.0" file. +include ".themes/override-2.0" diff --git a/.gtkrc.mine b/.gtkrc.mine new file mode 100644 index 0000000..a4e96dc --- /dev/null +++ b/.gtkrc.mine @@ -0,0 +1,4 @@ +# GNOME GTK theme. +# The theme is managed in .gktrc-1.2-gnome(2) which then includes this file. +# Add local overrides to the ".themes/override" file. +include ".themes/override"