From 7397dabc981eacb6069c447a8c56739846c84ee7 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Mon, 14 Nov 2016 18:02:09 -0600 Subject: [PATCH] startkde: install default GTK config if needed --- .../kde-5/plasma/startkde/startkde.sh | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/pkgs/desktops/kde-5/plasma/startkde/startkde.sh b/pkgs/desktops/kde-5/plasma/startkde/startkde.sh index 256f9949e83..d3b460f966b 100755 --- a/pkgs/desktops/kde-5/plasma/startkde/startkde.sh +++ b/pkgs/desktops/kde-5/plasma/startkde/startkde.sh @@ -6,6 +6,34 @@ export QT_PLUGIN_PATH="$QT_PLUGIN_PATH${QT_PLUGIN_PATH:+:}@QT_PLUGIN_PATH@" export QML_IMPORT_PATH="$QML_IMPORT_PATH${QML_IMPORT_PATH:+:}@QML_IMPORT_PATH@" export QML2_IMPORT_PATH="$QML2_IMPORT_PATH${QML2_IMPORT_PATH:+:}@QML2_IMPORT_PATH@" +# Set the default GTK 2 theme +if [ ! -e $HOME/.gtkrc-2.0 -a -e /run/current-system/sw/share/themes/Breeze/gtk-2.0/gtkrc ]; then + cat >$HOME/.gtkrc-2.0 <$HOME/.config/gtk-3.0/settings.ini <