Please notice that this is NOT an official project
Simple quick hack to make it display year/month/day on it's Dock::Efficient
mode. Also some really little simple tweak to make it compilable without fetching the full dde-dock repo.
Current codebase is fork from dde-dock#39c1a6b. You can checkout the commit history and do a diff
to see what I did changed.
You need do apt-get build-dep dde-dock
first.
To compile and run:
# you should clone it first:
git clone https://github.com/BLumia/dde-dock-pineappledatetime.git && cd dde-dock-pineappledatetime/
# then build it
mkdir build
cd build/
cmake ../
make
# then you got `libpineappledatetime.so`
# this will copy this into `/usr/lib/dde-dock/plugins/`
# p.s. `make install` will copy the lib to `/usr/share/lib/dde-dock/plugins`
# but it seems `dde-dock` doesn't scan that path by default...
sudo cp ../libpineappledatetime.so /usr/lib/dde-dock/plugins/
# finally, restart `dde-dock` (kill it and dde will restart it automatically)
killall dde-dock
Then done!
GPLv3 (as required, same as original license)