From 020a96cf66595d47eba58724d28aeb3e88c907cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 7 Apr 2017 14:43:23 +0200 Subject: Add gtk and qt theme configuration --- config/Trolltech.conf | 2 ++ gtk-2.0/gtkrc | 2 +- install | 7 +++++++ local/bin/lxc-net | 1 - 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 config/Trolltech.conf diff --git a/config/Trolltech.conf b/config/Trolltech.conf new file mode 100644 index 0000000..e148896 --- /dev/null +++ b/config/Trolltech.conf @@ -0,0 +1,2 @@ +[Qt] +style=GTK+ diff --git a/gtk-2.0/gtkrc b/gtk-2.0/gtkrc index 323650d..9e6f1e7 100644 --- a/gtk-2.0/gtkrc +++ b/gtk-2.0/gtkrc @@ -1,2 +1,2 @@ -gtk-theme-name = "Numix-Frost" +include "/usr/share/themes/Numix-Frost/gtk-2.0/gtkrc" gtk-font-name = "pango monospace 8" diff --git a/install b/install index a520b42..46a5d3c 100755 --- a/install +++ b/install @@ -91,6 +91,13 @@ if [[ $REPLY =~ ^[Yy]?$ ]]; then inst local/bin/sys-suspend ~/.local/bin/ fi +read -p "Install Gtk+ and Qt theme setup? (Y/n) " +if [[ $REPLY =~ ^[Yy]?$ ]]; then + inst gtk-2.0/gtkrc ~/.gtkrc-2.0 + inst gtk-3.0/ ~/.config/gtk-3.0/ + inst config/Trolltech.conf ~/.config/Trolltech.conf +fi + read -p "Install Conkeror configuration? (Y/n) " if [[ $REPLY =~ ^[Yy]?$ ]]; then inst conkerorrc ~/.conkerorrc diff --git a/local/bin/lxc-net b/local/bin/lxc-net index a9f1d10..0821571 100755 --- a/local/bin/lxc-net +++ b/local/bin/lxc-net @@ -1,5 +1,4 @@ #!/bin/sh -set -e if [ "$(id -u)" -ne 0 ]; then echo "Root required for execution" >&2 -- cgit v1.2.3