Make KDE 6 use fonts as defined in fontconfig.
parent
af7202582f
commit
b6aad7bc0a
13
install.sh
13
install.sh
|
@ -67,3 +67,16 @@ if command -v systemctl >/dev/null 2>&1; then
|
|||
systemctl --user enable tweak-cpu-usage
|
||||
systemctl --user restart tweak-cpu-usage
|
||||
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
|
||||
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
|
||||
# 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
|
||||
kwriteconfig6 --file kdeglobals --group "General" --key "fixed" "Monospace,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue