From 83448b47cbb7f713eaa4a4563dc3110973eaaa5e Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Thu, 25 Aug 2011 10:54:53 +0100 Subject: [PATCH] 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. --- .gtkrc | 5 +++++ .gtkrc-2.0 | 5 +++++ .gtkrc.mine | 4 ++++ 3 files changed, 14 insertions(+) create mode 100644 .gtkrc create mode 100644 .gtkrc-2.0 create mode 100644 .gtkrc.mine 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" -- 2.7.4