diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-04-07 14:43:23 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-04-07 14:43:23 +0200 |
commit | 020a96cf66595d47eba58724d28aeb3e88c907cf (patch) | |
tree | 9f002b0c5969f526413775d1a12533355a0aa0c0 | |
parent | 6384224250a62e8b1ea913934db5dbae536ce153 (diff) | |
download | myconfigs-020a96cf66595d47eba58724d28aeb3e88c907cf.tar.gz myconfigs-020a96cf66595d47eba58724d28aeb3e88c907cf.tar.bz2 myconfigs-020a96cf66595d47eba58724d28aeb3e88c907cf.zip |
Add gtk and qt theme configuration
-rw-r--r-- | config/Trolltech.conf | 2 | ||||
-rw-r--r-- | gtk-2.0/gtkrc | 2 | ||||
-rwxr-xr-x | install | 7 | ||||
-rwxr-xr-x | local/bin/lxc-net | 1 |
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" @@ -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 |