Giter Club home page Giter Club logo

Comments (4)

joestandring avatar joestandring commented on June 12, 2024

Hi, is this using dwm_spotify.sh or dwm_cmus.sh?

from dwm-bar.

twl-surrogate avatar twl-surrogate commented on June 12, 2024

yes, this is dwm_cmus.sh, though i do have both loaded

. "$DIR/bar-functions/dwm_cmus.sh"
. "$DIR/bar-functions/dwm_spotify.sh"
. "$DIR/bar-functions/dwm_battery.sh"
. "$DIR/bar-functions/dwm_date.sh"
. "$DIR/bar-functions/dwm_resources.sh"

from dwm-bar.

worbgge avatar worbgge commented on June 12, 2024

Hello, i know the reason why and am trying to find a solution, basically in /dwm-bars/bar-functions/dwm_cmus.sh how it gets the artist is doing
ARTIST=$(cmus-remote -Q | grep -a '^tag artist' | awk '{gsub("tag artist ", "");print}')
if you use something like musicbrainz picard then it will also make a tag called artistssort, if you run cmus-remote -Q you should see the two of them so the grep is grepping both artist and artistsort and awk isn't getting rid of artistsort. any help on a solution on this would be nice (i am not the best at bash scripting)

from dwm-bar.

joestandring avatar joestandring commented on June 12, 2024

Hi, sorry this took as long as it did - haven't been able to test dwm stuff for a while. This should be fixed with 6c3ee88. @worbgge was right, as each part was grepping any line containing "artist" it got confused with "artistsort" so now only whole words will be matched.

from dwm-bar.

Related Issues (17)

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.