gamehelp16 / now-clocking Goto Github PK
View Code? Open in Web Editor NEWA conky widget that shows now playing information when music is playing or a clock when music is not playing.
A conky widget that shows now playing information when music is playing or a clock when music is not playing.
hey! just wanted to say i LOVE your project, been using it for years. however, over time, conky config formats and options and such have changed, various DE/WM/compositor setups have weirdness, and so this script no longer works quite right out of the box.
I've got my own fork over at Rayzr522/now-clocking where I've cleaned it up and it basically just works out of the box now on any DE/WM/compositor combo (from my testing at least), but I was wondering if you plan on maintaining this upstream repo at all anymore?
would love to see this project come back to life. this is such a nice touch to add to any Linux setup, and I've got it installed on all my machines :)
Hi here there is a mistake or error:
${exec echo dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'|egrep -A 2 "artist"|egrep -v "artist"|egrep -v "array"|cut -b 27-|cut -d '"' -f 1|egrep -v ^$
}
should be
I removed echo and
identical this:
${exec echo dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'|egrep -A 1 "title"|egrep -v "title"|cut -b 44-|cut -d '"' -f 1|egrep -v ^$
}
change to this"
But the artist is not displaying, so I removed
egrep -v "array"
And now it is displaying, however a little bit nonsense... See the image. I need to cut the array [
Any idea how to correct the code?
When any of the scripts were running, they made my PC really laggy.
Changing "update_interval" from 0.01 to 1 lowered the overall consumption to almost nothing and kept the same performance.
If anyone have issue with sh, and the cover is not displaying, open these files:
spotifyart
cmusart
and change #!/bin/sh to #!/bin/bash
additionally in spotifyart change url=${test/https://open.spotify.com/http://i.scdn.co} to
url=${test/https://open.spotify.com/https://i.scdn.co}
(added https instead of http)
Then open
np
npart
and change exec sh to exec bash
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.