Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.15 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.15 KB

m

A music player written accidentaly in bash using mpv as a """backend""" and now rewritten in rust using libmpv as a backend.

Dependencies

  • dmenu
  • youtube-dl
  • libmpv
  • notify-send

Usage

Use m help to get help on how to use the program.

This program is intended to be used with a playlist file localted at $XDG_CONFIG_HOME/m/playlist.

This file should not be edited by hand.

Because I know someone will try, the format is as follows:

Song Name\tlink\ttime\tcategory1\tcategory2\t....

Another optional "config file" is a script that is intended to update a status bar or something. It can be whatever you want as long as it's located at $XDG_CONFIG_HOME/m/update_panel.sh. It will be called when you probably want to refresh whatever info you want to monitor.

"Tips and tricks"

This is intended to be used mostly as a way to have keybinds for your window manager that control your music player.

Instalation

Using cargo install

cargo install --path . --bin m

Copying to somewhere in your path

cargo build --release
sudo install ./target/release/m /usr/bin/m