Merge pull request #1344 from arisinfenix/plasma
style: fix Plasma themes
This commit is contained in:
commit
4952e220ca
1 changed files with 3 additions and 2 deletions
5
neofetch
5
neofetch
|
@ -2726,7 +2726,7 @@ get_style() {
|
||||||
|
|
||||||
# Check for DE Theme.
|
# Check for DE Theme.
|
||||||
case "$de" in
|
case "$de" in
|
||||||
"KDE"*)
|
"KDE"* | "Plasma"*)
|
||||||
kde_config_dir
|
kde_config_dir
|
||||||
|
|
||||||
if [[ -f "${kde_config_dir}/kdeglobals" ]]; then
|
if [[ -f "${kde_config_dir}/kdeglobals" ]]; then
|
||||||
|
@ -2739,7 +2739,7 @@ get_style() {
|
||||||
kde_font_size="${kde_font_size/,*}"
|
kde_font_size="${kde_font_size/,*}"
|
||||||
kde_theme="${kde_theme/,*} ${kde_theme/*,} ${kde_font_size}"
|
kde_theme="${kde_theme/,*} ${kde_theme/*,} ${kde_font_size}"
|
||||||
fi
|
fi
|
||||||
kde_theme="$kde_theme [KDE], "
|
kde_theme="$kde_theme [$de], "
|
||||||
else
|
else
|
||||||
err "Theme: KDE config files not found, skipping."
|
err "Theme: KDE config files not found, skipping."
|
||||||
fi
|
fi
|
||||||
|
@ -2845,6 +2845,7 @@ get_style() {
|
||||||
theme="${theme// '[GTK'[0-9]']'}"
|
theme="${theme// '[GTK'[0-9]']'}"
|
||||||
theme="${theme/ '[GTK2/3]'}"
|
theme="${theme/ '[GTK2/3]'}"
|
||||||
theme="${theme/ '[KDE]'}"
|
theme="${theme/ '[KDE]'}"
|
||||||
|
theme="${theme/ '[Plasma]'}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue