766cfd3d9a
Keymappings Generator |
||
---|---|---|
config | ||
.gitignore | ||
App.go | ||
client.go | ||
fileBrowser.go | ||
go.mod | ||
go.sum | ||
imageUtils.go | ||
LICENSE | ||
main.go | ||
progressBar.go | ||
README.md | ||
render.go | ||
sample_config.yml | ||
utils.go |
goMP
MPD client inspired by ncmpcpp written in GO
Roadmap
- Add Functionality to Sort out most played songs
- Add a config parser
- Image Previews
- Fuzzy Searching
- Visual Mode (like vim) for updating playlists
- Music Visualizer
Setting Up
- Music Player Daemon must be setup
- Go Should Be Installed ( for building )
- Make a YAML/TOML file in
$HOME/.config/goMP
named config.yml / config.toml - Read the sample_config.yml for config options
Installing / Building
git clone https://github.com/aditya-K2/goMP &&
cd goMP &&
go build
Configuration
Key Mappings
Following Keys can be used for Mappings
Keys | Using them in Config |
---|---|
a-z | a-z |
A-Z | A-z |
{,},(,),[,],<,> | {,},(,),[,],<,> |
Enter(Return) | ENTER/RETURN |
Tab | TAB |
Space | SPACE |
See config/kMap.go for more information
For mapping a key to some function use the following format:
Function: [ firstMapping, secondMapping, thirdMapping]
for.eg
togglePlayBack : [ "p", "T" ] # using the quotes is neccessary.
Following functions are provided :
Functions |
---|
"showChildrenContent", |
"togglePlayBack", |
"showParentContent", |
"nextSong", |
"clearPlaylist", |
"previousSong", |
"addToPlaylist", |
"toggleRandom", |
"toggleRepeat", |
"decreaseVolume", |
"increaseVolume", |
"navigateToFiles", |
"navigateToPlaylist", |
"navigateToMostPlayed", |
"quit", |
"stop", |
"updateDB", |
"deleteSongFromPlaylist", |
Tested on following terminals:
- Alacritty
- ST
- URXVT