Commit b3e90cc3 authored by Dylan Araps's avatar Dylan Araps Committed by GitHub

Merge pull request #828 from mstraube/kde

Font: Fix KDE font, #821
parents 4e69a35f 8d8b2da8
...@@ -1619,7 +1619,12 @@ get_style() { ...@@ -1619,7 +1619,12 @@ get_style() {
kde_config_file="${kde_config_dir}/kdeglobals" kde_config_file="${kde_config_dir}/kdeglobals"
kde_theme="$(grep "^${kde}" "$kde_config_file")" kde_theme="$(grep "^${kde}" "$kde_config_file")"
kde_theme="${kde_theme/${kde}*=}" kde_theme="${kde_theme/*=}"
if [[ "$kde" == "font" ]]; then
kde_font_size="${kde_theme#*,}"
kde_font_size="${kde_font_size/,*}"
kde_theme="${kde_theme/,*} ${kde_theme/*,} ${kde_font_size}"
fi
kde_theme="$(uppercase "$kde_theme") [KDE], " kde_theme="$(uppercase "$kde_theme") [KDE], "
else else
err "Theme: KDE config files not found, skipping." err "Theme: KDE config files not found, skipping."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment