Giter Site home page Giter Site logo

now-clocking's People

Contributors

gamehelp16 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

now-clocking's Issues

unmaintained?

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 :)

Error in https://raw.githubusercontent.com/gamehelp16/now-clocking/master/np/np

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

${exec 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 ^$}

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"

${exec 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 ^$}

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?
error

High CPU Usage

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.

issue with sh

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.