My first TerminalWidget experiment was this simple extension of one of @ttscoff’...

@drdrang@fosstodon.org

My first TerminalWidget experiment was this simple extension of one of @ttscoff’s examples. It shows the current month and the month before or after, depending on today’s date. The command that made it is

if [ $(date +"%-d") -gt 15 ]; then
cal -A 1
else
cal -B 1
fi |\
terminal-widget --target cal --font Menlo --bg "#eeeeee" --text -