aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-04-07 14:43:23 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-04-07 14:43:23 +0200
commit020a96cf66595d47eba58724d28aeb3e88c907cf (patch)
tree9f002b0c5969f526413775d1a12533355a0aa0c0
parent6384224250a62e8b1ea913934db5dbae536ce153 (diff)
downloadmyconfigs-020a96cf66595d47eba58724d28aeb3e88c907cf.tar.gz
myconfigs-020a96cf66595d47eba58724d28aeb3e88c907cf.tar.bz2
myconfigs-020a96cf66595d47eba58724d28aeb3e88c907cf.zip
Add gtk and qt theme configuration
-rw-r--r--config/Trolltech.conf2
-rw-r--r--gtk-2.0/gtkrc2
-rwxr-xr-xinstall7
-rwxr-xr-xlocal/bin/lxc-net1
4 files changed, 10 insertions, 2 deletions
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