mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 12:32:32 +00:00
Font: Fix KDE font, #821
This commit is contained in:
7
neofetch
7
neofetch
@@ -1617,7 +1617,12 @@ get_style() {
|
||||
kde_config_file="${kde_config_dir}/kdeglobals"
|
||||
|
||||
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], "
|
||||
else
|
||||
err "Theme: KDE config files not found, skipping."
|
||||
|
||||
Reference in New Issue
Block a user