This question already has an answer here:
cmus music player installed and I really like it.
I need to run a command by pressing a key, for example CTRL+F so it will open browser and search a lyrics for currently playing song.
The command might be something like:
/usr/bin/google-chrome --new-tab http://search.azlyrics.com/search.php?q=[name-of-the-song]
Is it possible and if so where and how can I define such command ?
Sorry for not being clear enough. This has nothing to do with global system keyboard shortcuts (as I know how to made them). Let me explain:
I am running
cmus music player and within it I am selecting a song to play and play it. Then I want to run an "external command" for this song. By running some key shortcut (while this song is played) I want to run a command that will search lyrics for this song.