ncspot icon indicating copy to clipboard operation
ncspot copied to clipboard

cmus style configuration

Open benjaminBrownlee opened this issue 4 years ago • 3 comments

I want to overhaul the configuration ability of this app by implementing a bunch of new configuration options, largely stylized after my favorite music player, cmus. These changes include,

  • more color options; the configuration of the search bar is particularly annoying to me
  • track formatting; current unconfigurable layout can render the track list unreadable
  • title/status line formatting
  • scrollbar removal option (I honestly don't know why it exists)

A cmus style line configuration option may look something like this,

status_line =  %{status} %{?show_playback_position?%{position} %{?duration?/ %{duration} } ...

where there are a set of acceptable variables for formatting and conditionals for handling them. My first implementation would be a simplified version of this (probably omitting conditionals to begin).

I'm willing to work on this, but I wanted to see that the idea is well received before drafting a pull request.

benjaminBrownlee avatar Jan 10 '21 16:01 benjaminBrownlee

Thanks for asking, sounds interesting! Splitting it up into separate PRs (maybe even by feature?) seems like a good idea and I'd be happy to review them. I don't know cmus that well, so can I ask you to keep in mind some sane defaults so the lazy userbase (that I also belong to) will not get lost 😄?

hrkfdn avatar Jan 12 '21 09:01 hrkfdn

Sounds good. Semester just started (and I need to learn more Rust) so this may be a few PRs that will take a bit of a while.

benjaminBrownlee avatar Jan 14 '21 04:01 benjaminBrownlee

Sure, no need to rush! :)

hrkfdn avatar Jan 15 '21 12:01 hrkfdn