Changes calendar icon in such a way, so it reflects the current date.
Requires calendar svg icon with specific ids to work. You can get it here
You may want to set up a cron job to update the icon regularly.
You have to have git
, anacron
, nodejs
, and npm
installed. sudo apt install git anacron nodejs npm
.
git clone https://github.com/sdwvit/gnome-update-calendar-icon.git
cd gnome-update-calendar-icon
- For the cron job, I recommend doing
echo "cd $(pwd); npm start" > uci && chmod +x ./uci && sudo ln -s $(pwd)/uci /etc/cron.daily/update-calendar-icon
npm install
.cp ./.env-example ./.env
nano ./.env
edit path to svgnpm start
to see if it works
To assign svg to calendar app, in nano /usr/share/applications/org.gnome.Calendar.desktop
replace:
Icon=org.gnome.Calendar
with Icon={PATH_TO_SVG}/calendar.svg