受几枝启发的 GNOME Shell 格言壁纸生成扩展。
GNOME Shell extension to generate wallpapers featuring mottos, inspired by Jizhi.
The latest and supported version should only work on the current stable version of GNOME Shell.
git clone https://github.com/tuberry/shuzhi.git && cd shuzhi
meson setup build && meson install -C build
# meson setup build -Dtarget=system && meson install -C build # system-wide, default --prefix=/usr/local
For older versions, it's recommended to install via:
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell \
--method org.gnome.Shell.Extensions.InstallRemoteExtension 'shuzhi@tuberry'
It's quite the same as installing from:
- Support Pango markups or images, see also _shuzhi.sh or _shuzhi.js for reference;
- If you don't want to bother with scripting, set the motto source as
Online
to use jinrishici as source. Note that this project is not affiliated with jinrishici in any way;
Feel free to open an issue or PR in the repo for any question or idea.
To initialize or update the po file from sources:
bash ./cli/update-po.sh [your_lang_code] # like zh_CN, default to $LANG
To install GJS TypeScript type definitions:
npm install @girs/gnome-shell --save-dev
- gushichi: the online API