Fix syntax error.

master
Icedream 2024-07-16 16:44:25 +02:00
parent b6aad7bc0a
commit 0c6167ae26
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
1 changed files with 2 additions and 2 deletions

View File

@ -71,10 +71,10 @@ fi
# KDE 6
if command -v kwriteconfig6 >/dev/null 2>&1; then
# set sans font to what we define in fontconfig
for key in "General:font" "General:menuFont" "General:toolBarFont" "WM:activeFont"; then
for key in "General:font" "General:menuFont" "General:toolBarFont" "WM:activeFont"; do
IFS=: read group key <<<"$key"
kwriteconfig6 --file kdeglobals --group "$group" --key "$key" "Sans Serif,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
fi
done
# set smallest sans font
kwriteconfig6 --file kdeglobals --group "General" --key "smallestReadableFont" "Sans Serif,8,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
# set mono font to what we define in fontconfig