Skip to content

tuberry/shuzhi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

数枝 | Shuzhi

几枝启发的 GNOME Shell 格言壁纸生成扩展。

GNOME Shell extension to generate wallpapers featuring mottos, inspired by Jizhi.

望着窗外,只要想起一生中后悔的事 / 梅花便落满了南山 —— 张枣 《镜中》
license

shuzhi

Installation

Manual

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:

E.G.O

Get it on GNOME Extensions

Notes

  • 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;

Contributions

Feel free to open an issue in the repo for any questions or ideas, particularly before making significant changes or introducing new features.

Translations

To initialize or update the po file from sources:

bash ./cli/update-po.sh (your_lang_code) # like `./cli/update-po.sh zh_CN`, default to $LANG

Developments

To install GJS TypeScript type definitions:

npm install @girs/gnome-shell --save-dev

Acknowledgements

About

GNOME Shell extension to generate wallpapers featuring mottos, inspired by Jizhi

Resources

License

Stars

63 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors