KDE: Add support for KDE3
This commit is contained in:
parent
0fc2958b42
commit
8318a9c30c
1 changed files with 5 additions and 2 deletions
7
neofetch
7
neofetch
|
@ -2843,11 +2843,14 @@ kde_config_dir() {
|
||||||
elif type -p kde4-config >/dev/null 2>&1; then
|
elif type -p kde4-config >/dev/null 2>&1; then
|
||||||
kde_config_dir="$(kde4-config --localprefix)"
|
kde_config_dir="$(kde4-config --localprefix)"
|
||||||
|
|
||||||
|
elif type -p kde-config >/dev/null 2>&1; then
|
||||||
|
kde_config_dir="$(kde-config --localprefix)"
|
||||||
|
|
||||||
elif [[ -d "${HOME}/.kde4" ]]; then
|
elif [[ -d "${HOME}/.kde4" ]]; then
|
||||||
kde_config_dir="${HOME}/.kde4"
|
kde_config_dir="${HOME}/.kde4"
|
||||||
|
|
||||||
elif type -p kde-config >/dev/null 2>&1; then
|
elif [[ -d "${HOME}/.kde3" ]]; then
|
||||||
kde_config_dir="$(kde-config --localprefix)"
|
kde_config_dir="${HOME}/.kde3"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue