Skip to content

tuberry/shuzhi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 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 or PR in the repo for any question or idea.

Translations

To initialize or update the po file from sources:

bash ./cli/update-po.sh [your_lang_code] # like 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

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •