Skip to content

itsjfx/cmus-fzf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

cmus-fzf

quick and dirty script to play a track from your cmus library using fzf

setup

  1. install fzf
  2. run cmus-fzf

example

cmus-fzf

usage

tmux popup

I run mine in a tmux popup when using cmus. from my cmus rc:

  • bind -f library S shell tmux popup -e FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS" -w 60% -h 60% -E /path/to/cmus-fzf/cmus-fzf
  • and press S

you could also bind this globally within tmux to do this from any application, e.g. to control your music within vim :)

  • bind-key S run-shell 'tmux popup -E /path/to/cmus-fzf/cmus-fzf || true'

any regular terminal

you can spawn a lightweight terminal to run the script globally in your desktop environment or within cmus

e.g. with a cmus keybind

  • bind -f library S shell st -e '/path/to/cmus-fzf/cmus-fzf'

shout outs

About

quick and dirty script to play a track from your cmus library using fzf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages