commit 7d43b575aa402a2aaa1f053734e160dc924e3b0b
parent 670ff76801b74effb657a0c099962c888cbe240f
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Mon, 21 Jan 2019 12:24:03 -0500
Add quotes since gtk font names contans spaces.
Diffstat:
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini
@@ -1,6 +1,6 @@
[Settings]
-gtk-application-prefer-dark-theme = true
-gtk-cursor-theme-name = Adwaita
-gtk-font-name = Oxygen-Sans 12
-gtk-icon-theme-name = Numix-Circle
-gtk-theme-name = Adapta-Nokto-Eta-
\ No newline at end of file
+gtk-application-prefer-dark-theme=true
+gtk-cursor-theme-name=Adwaita
+gtk-font-name=Oxygen-Sans 12
+gtk-icon-theme-name=Numix-Circle
+gtk-theme-name=Adapta-Nokto-Eta+
\ No newline at end of file
diff --git a/.local/bin/sway/import-gsettings b/.local/bin/sway/import-gsettings
@@ -5,7 +5,7 @@
expression=""
for pair in "$@"; do
IFS=:; set -- $pair
- expressions="$expressions -e 's:^$2=(.*)$:gsettings set org.gnome.desktop.interface $1 \1:e'"
+ expressions="$expressions -e 's:^$2=(.*)$:gsettings set org.gnome.desktop.interface $1 \"\1\":e'"
done
IFS=
eval exec sed -E $expressions "${XDG_CONFIG_HOME:-$HOME/.config}"/gtk-3.0/settings.ini >/dev/null