Skip to content

v2.3.0 enables silent remote updates for exciting information feeders, adds manpages, new options, new deb package, etc

Compare
Choose a tag to compare
@poetaman poetaman released this 20 Jan 23:45
· 16 commits to main since this release
2b5ac02

Updates:

  • Added ability for silent updates to arttime's screen from a remote process. Among other things, this allows arttime to cleanly display dynamic feed of information like system metrics, news headlines, weather, stock market feed, current song being played on computer, etc. The GIF at the bottom of the page shows a dynamic feeder feeding fake weather data to arttime.
  • Added new keybindings for script mode: A, B, G, M, and Z. They are to do remote updates to a-art, b-art, goal time, message under art, and timezone respectively.
  • Added new fully rewritten and illustrative man pages, including a section that explains how arttime can be used as a dynamic information feed. It has a specification for coding feeders to display dynamic information like news, weather, etc.
  • Added new options -m and --man to open arttime manual even on systems that don't have man-db installed.
  • Added shorter --help strings as we now have a separate longer manual.
  • Updated zsh completion functions.
  • Reverted the behavior of --random to be a switch again, it doesn't take a value anymore.
  • Changed default behavior of artprint, so it doesn't add vertical padding by default. This would make it more intuitive for new users who want to try what it is for. The old behavior can be invoked by using artprint --height "term".
  • Added a .deb package. Please check the assets below to download. Steps to install .deb package:
mv arttime_2.3.0-1_all.deb /tmp
sudo apt install /tmp/arttime_2.3.0-1_all.deb

Fixes:

  • Not expanding a symlink in code caused arttime to crash on a Debian machine if executable was itself symlinked to /bin/arttime, fixed that.
  • Fixed a problem where pager would immediately close after launch.
  • Fixed a problem with using arttime's online installer. Previously, it tried to merge with user's git clone of arttime (if there was one). Merging could have failed, causing upgrade to fail... Now the installer does everything from temp directory, doesn't merge, so it's guaranteed to upgrade.
  • Removed similar art from curation, so random selection is slightly fairer.
  • Other minor fixes.

Installation/Upgrade:

  • Please run the following command or run ./install.sh from a clone of arttime. For more information, please read: installation instructions. apt users should prefer installing from attached .deb package, please check the .deb install instructions in listing above.
zsh -c '{url="https://gist.githubusercontent.com/poetaman/bdc598ee607e9767fe33da50e993c650/raw/d0146d258a30daacb9aee51deca9410d106e4237/arttime_online_installer.sh"; zsh -c "$(curl -fsSL $url || wget -qO- $url)"}'

Feeder example:

  • Following GIF shows an external feeder program feeding dummy weather data to display in arttime. Much more can be done with such feeders, such as dynamically changing art along with text. To start writing your own feeders, please read arttime's new manual. Try either arttime -m (preferred) or man arttime after installing this release. Here's an example that shows how line of text under art can be remotely updated to show "Hello World":
$ printf 'MHello World\n' >/path/to/some/fifo/arttime/is/listening

It might take a few seconds for the GIF to become visible below...
information_feed