Coder Social home page Coder Social logo

insert5starname / nekomc Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 0.0 30 KB

a waybar/general component for displaying current song data in bars like waybar and controling players using MPRIS

License: GNU General Public License v3.0

Nix 1.35% Rust 86.09% Shell 12.56%

nekomc's Introduction

Hi there ๐Ÿ‘‹ I do random Shit

Insert5StarName's GitHub stats

nekomc's People

Contributors

insert5starname avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nekomc's Issues

Custom song/author name length?

Sometimes we don't want to display a long module in the waybar. Sometimes we have space of a certain size. Before seeing this project, I used playerctl to solve the problem like this:

playerctl metadata --follow --format '{{ status }} {{ trunc(title,8) }} | {{ trunc(artist,8) }}' | sed -u 's/Playing/๏…„/;s/Paused/๏Š‹/;s/ | $//'

And playerctl can use trunc to change the length of the output string. I hope this project will have those options as well.

TODO: Things To add for the Next Versions

  • Configurable Text Format and Icons
  • Configurable amount of dont_fry_my_cpu
  • CLI argument for setting config file
  • Configurable Scrolling text
  • Option to enable showing the module with Text like "No active Song" when no player is available

if you got suggestions leave em

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.