Skip to content

Instantly share code, notes, and snippets.

View anthonywong's full-sized avatar
🏠
Working from home

Anthony Wong anthonywong

🏠
Working from home
  • Canonical
  • Hong Kong
View GitHub Profile
@anthonywong
anthonywong / 10-latin.conf
Last active March 22, 2017 12:50
Latin 字體 fontconfig 設定檔
<fontconfig>
<match target="pattern">
<test name="family">
<string>serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Serif</string>
</edit>
</match>
@anthonywong
anthonywong / 20-noto-cjk.conf
Last active September 18, 2017 22:47
思源/Noto CJK fonconfig 設定檔
<fontconfig>
<match target="pattern">
<test name="lang">
<string>zh-tw</string>
</test>
<test name="family">
<string>sans-serif</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>Noto Sans T Chinese</string>
#!/bin/sh
pkill -x fcitx-qimpanel
pkill -x fcitx
sleep 1
cd ~/.config
t=$(mktemp -d) || exit
mv fcitx fcitx-qimpanel SogouPY SogouPY.users $t
echo "Config files moved to " $t