Skip to content

ruffbuff/cmp-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMP - Command Music Player ( cmp-py )

A simple command line music player

Developed by:

▄▄▄  ▄• ▄▌·▄▄▄·▄▄▄ ▄▄▄▄·  ▄• ▄▌·▄▄▄·▄▄▄
▀▄ █·█▪██▌▐▄▄·▐▄▄· ▐█ ▀█▪ █▪██▌▐▄▄·▐▄▄·
▐▀▀▄ █▌▐█▌██▪ ██▪  ▐█▀▀█▄ █▌▐█▌██▪ ██▪ 
▐█•█▌▐█▄█▌██▌.██▌ .██▄▪▐█ ▐█▄█▌██▌.██▌.
.▀  ▀ ▀▀▀ ▀▀▀ ▀▀▀  ·▀▀▀▀   ▀▀▀ ▀▀▀ ▀▀▀ 

Sneak-peek0
Sneak-peek1
Sneak-peek2
Sneak-peek3

Installation

1: git clone https://github.com/ruffbuff/cmp-py
2: cd cmp-py
3: pip install requirements.txt
4: touch .env, add API_KEY=YOUR_API_KEY, then go to .config/cmp/conf.py change MUSIC_PATH to yours.
5: nano ~/.config/cmp/cmp.sh
6.0: Then add this cmp.sh bash script, and make it executable.
(If you use Kitty like me, in my kitty.conf i have window_padding_width 15,so i use restore_padding func.)
6.1: chmod +x ~/.config/cmp/cmp.sh
7: Last thing: cd to your terminal framework config like ~/.zshrc for zsh,
and find lines with Helpful aliases,
add alias cmp='~/.config/cmp/cmp.sh', then ctrl+o + Enter to save, and ctrl+x to exit.
8: Start your terminal and write cmp

Contribution

ruffbuff

License

CC-BY-SA-4.0
Link

Releases

No releases published