A simple command line music player
Developed by:
▄▄▄ ▄• ▄▌·▄▄▄·▄▄▄ ▄▄▄▄· ▄• ▄▌·▄▄▄·▄▄▄
▀▄ █·█▪██▌▐▄▄·▐▄▄· ▐█ ▀█▪ █▪██▌▐▄▄·▐▄▄·
▐▀▀▄ █▌▐█▌██▪ ██▪ ▐█▀▀█▄ █▌▐█▌██▪ ██▪
▐█•█▌▐█▄█▌██▌.██▌ .██▄▪▐█ ▐█▄█▌██▌.██▌.
.▀ ▀ ▀▀▀ ▀▀▀ ▀▀▀ ·▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀
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