From 50a2e511e137d03c6987615b0fa6a39931476446 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 31 Oct 2019 22:18:40 +1300 Subject: [PATCH 1/1] standardise all GTK settings between versions --- .config/gtk-2.0/gtkfilechooser.ini | 4 ++-- .config/gtk-3.0/.gitattributes | 1 + .config/gtk-3.0/gtkfilechooser.ini | 8 ++++++++ .config/gtk-3.0/settings.ini | 14 ++++++++++++++ .gitignore.d/gtk | 6 +++--- .gtkrc | 11 +++++++---- .gtkrc-2.0 | 19 +++++++++---------- 7 files changed, 44 insertions(+), 19 deletions(-) create mode 100644 .config/gtk-3.0/.gitattributes create mode 100644 .config/gtk-3.0/gtkfilechooser.ini create mode 100644 .config/gtk-3.0/settings.ini diff --git a/.config/gtk-2.0/gtkfilechooser.ini b/.config/gtk-2.0/gtkfilechooser.ini index 2059bc0..5f6ca3b 100644 --- a/.config/gtk-2.0/gtkfilechooser.ini +++ b/.config/gtk-2.0/gtkfilechooser.ini @@ -1,8 +1,8 @@ [Filechooser Settings] LocationMode=filename-entry -ShowHidden=false +ShowHidden=true ExpandFolders=true ShowSizeColumn=true SortColumn=name -SortOrder=ascending +SortOrder=descending StartupMode=cwd diff --git a/.config/gtk-3.0/.gitattributes b/.config/gtk-3.0/.gitattributes new file mode 100644 index 0000000..f0f62ae --- /dev/null +++ b/.config/gtk-3.0/.gitattributes @@ -0,0 +1 @@ +gtkfilechooser.ini filter=ignore_geometry diff --git a/.config/gtk-3.0/gtkfilechooser.ini b/.config/gtk-3.0/gtkfilechooser.ini new file mode 100644 index 0000000..5f6ca3b --- /dev/null +++ b/.config/gtk-3.0/gtkfilechooser.ini @@ -0,0 +1,8 @@ +[Filechooser Settings] +LocationMode=filename-entry +ShowHidden=true +ExpandFolders=true +ShowSizeColumn=true +SortColumn=name +SortOrder=descending +StartupMode=cwd diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..a81f490 --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1,14 @@ +[Settings] +gtk-theme-name = "Raleigh" +gtk-icon-theme-name = "Tango" +gtk-font-name = "Lato Medium 12" + +gtk-can-change-accels = 1 + +gtk-toolbar-style = GTK_TOOLBAR_ICONS +# +#style "madduck" +#{ +# font_name = "Lato Medium 12" +#} +#widget_class "*" style "madduck" diff --git a/.gitignore.d/gtk b/.gitignore.d/gtk index d711856..7c9c25d 100644 --- a/.gitignore.d/gtk +++ b/.gitignore.d/gtk @@ -1,9 +1,9 @@ * -!/.config -!/.config/gtk-2.0 !/.config/gtk-2.0/.gitattributes !/.config/gtk-2.0/gtkfilechooser.ini -!/.gitignore.d +!/.config/gtk-3.0/.gitattributes +!/.config/gtk-3.0/gtkfilechooser.ini +!/.config/gtk-3.0/settings.ini !/.gitignore.d/gtk !/.gtkrc !/.gtkrc-2.0 diff --git a/.gtkrc b/.gtkrc index 414c0e7..3a04ef1 100644 --- a/.gtkrc +++ b/.gtkrc @@ -1,4 +1,7 @@ -style "madduck" { - font_name = "RotisSansSerif 9" -} -class "GtkWidget" style "madduck" +gtk-theme-name = "Raleigh" +gtk-icon-theme-name = "Tango" +gtk-font-name = "Lato Medium 12" + +gtk-toolbar-style = GTK_TOOLBAR_ICONS + +gtk-can-change-accels = 1 diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 index 3dd7369..32ee54c 100644 --- a/.gtkrc-2.0 +++ b/.gtkrc-2.0 @@ -1,14 +1,13 @@ -include '/usr/share/themes/Clearlooks/gtk-2.0/gtkrc' +gtk-theme-name = "Raleigh" +gtk-icon-theme-name = "Tango" +gtk-font-name = "Lato Medium 12" gtk-can-change-accels = 1 -gtk-icon-theme-name = "Tango" - gtk-toolbar-style = GTK_TOOLBAR_ICONS - -gtk-font-name = "RotisSansSerif 10" -style "madduck" -{ - font_name = "RotisSansSerif 10" -} -widget_class "*" style "madduck" +# +#style "madduck" +#{ +# font_name = "Lato Medium 12" +#} +#widget_class "*" style "madduck" -- 2.39.5