A two-month calendar on my Desktop 0 ▲ And now it’s all this 1 hour ago · 5 min read1024 words · Tech · hide · 0 comments A few days ago, I posted this image on Mastodon: The code I ran to get this two-month calendar on my Desktop was bash: if [ $(date +"%-d") -gt 15 ]; then cal -A 1 else cal -B 1 fi |\ terminal-widget --target cal --font Menlo --bg "#eeeeee" --text - I have since updated a couple of things and need more room to talk about it all. First, the app that put that widget on my Desktop is Brett Terpstra’s TerminalWidget, which he just released. As a one-time user of GeekTool, I’ve been waiting for TerminalWidget since Brett first began talking about it. While GeekTool and the similar NerdTool might still work, I wanted an app that worked with macOS’s modern widget system. TerminalWidget does. I put a medium-sized widget in the upper-left corner of my Desktop by dragging one out from the widget editor window. If you’ve never done this before (I hadn’t), read Apple’s instructions. I then right-clicked on the widget and renamed it cal. Now it’s ready for me to run the command that puts the… No comments yet. Log in to reply on the Fediverse. Comments will appear here.