rayzr522 / now-clocking

A conky widget that shows now playing information when music is playing or a clock when music is not playing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Now Clocking

Made with ❤️ by @gamehelp16 and @Rayzr522

Now Clocking is a Conky widget which shows a Monstercat style Now Playing when music is played via Spotify or cmus, or a clock when no music is playing.

Screenshot of clock Screenshot of spotify

Table of contents

Requirements

Packages

Ubuntu: sudo apt install conky ffmpeg playerctl

Arch: sudo pacman -S conky ffmpeg playerctl

Fonts

On most Linux distros, you can just run the ./scripts/download-fonts.sh script to download the fonts.

Supported Players

Installation

  1. Install all required packages:
# Ubuntu
$ sudo apt install conky ffmpeg playerctl
# Arch
$ sudo pacman -S conky ffmpeg playerctl
  1. Clone the repo:
$ git clone git@github.com:Rayzr522/now-clocking.git
  1. Ensure that all required fonts are installed:
$ ./scripts/download-fonts.sh
  1. Run the start.sh script to start the widget (forks to background):
$ path/to/now-clocking/start.sh

FAQ

Why are there 2 Conky widgets?

Originally, this had to do with weird transparency issues in Conky that required a non-transparent album artwork. However, that has long since been patched in Conky. The widgets have remained separated, however, so as to make aligning everything easier, especially since one widget functions both as the track info and a clock.

Credits

Huge props to the original creator, @gamehelp16. I used this script back in 2017/2018 and rediscovered it in 2020, and decided to rework it to be more portable, efficient, and updated to modern Conky config standards.

Also huge props to Hoefler & Frere-Jones for the wonderful Gotham fonts, and Julieta Ulanovsky (and crew) for the slick Montserrat font.

About

A conky widget that shows now playing information when music is playing or a clock when music is not playing.


Languages

Language:Lua 58.7%Language:Shell 41.3%