aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-05-03 11:09:34 +0200
committerKarel Kočí <cynerd@email.cz>2017-05-03 11:09:34 +0200
commit1a1dd59b890504ef29f0cc6b303c1b16c94b7753 (patch)
treecf40bf71945ed5ee49414de783ea0098274a6bb7
parenta2470a03197893500545e0b33892414ace204c36 (diff)
downloadmyconfigs-1a1dd59b890504ef29f0cc6b303c1b16c94b7753.tar.gz
myconfigs-1a1dd59b890504ef29f0cc6b303c1b16c94b7753.tar.bz2
myconfigs-1a1dd59b890504ef29f0cc6b303c1b16c94b7753.zip
Some fixes and update gtk configuration
-rw-r--r--gtk-2.0/gtkrc2
-rw-r--r--gtk-3.0/settings.ini2
-rw-r--r--utils/inst4
3 files changed, 6 insertions, 2 deletions
diff --git a/gtk-2.0/gtkrc b/gtk-2.0/gtkrc
index 9e6f1e7..83482d8 100644
--- a/gtk-2.0/gtkrc
+++ b/gtk-2.0/gtkrc
@@ -1,2 +1,4 @@
include "/usr/share/themes/Numix-Frost/gtk-2.0/gtkrc"
gtk-font-name = "pango monospace 8"
+gtk-icon-theme-name = "Adwaita"
+gtk-key-theme-name = "Emacs"
diff --git a/gtk-3.0/settings.ini b/gtk-3.0/settings.ini
index 16f3e6c..87dfad3 100644
--- a/gtk-3.0/settings.ini
+++ b/gtk-3.0/settings.ini
@@ -2,3 +2,5 @@
gtk-theme-name=Numix-Frost
gtk-font-name=pango monospace 8
gtk-cursor-theme-size=12
+gtk-icon-theme-name=Adwaita
+gtk-key-theme-name = Emacs
diff --git a/utils/inst b/utils/inst
index 7fd648f..2dbf474 100644
--- a/utils/inst
+++ b/utils/inst
@@ -4,7 +4,7 @@
ask() {
echo -ne "\e[1;34m$1 (Y/n) \e[0m"
read
- return [[ $REPLY =~ ^[Yy]?$ ]]
+ [[ $REPLY =~ ^[Yy]?$ ]]
}
dodiff() {
@@ -22,7 +22,7 @@ dodiff() {
fi
return
fi
- if cmp "$1" "$OUT" >/dev/null; then
+ if cmp "$1" "$OUT" >/dev/null 2>&1; then
echo -e "\e[1;32mNo difference detected:\e[0m $OUT"
return
fi