6
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CmusをRuby ワンライナーでコントロールする

Posted at
  • #Cmusとは

    Cmusの本家

  • #そのワンライナー
    Cmusで音楽を流しながら、新しいターミナルで、

$ ruby -r socket -e 'Socket.unix("#{ENV["HOME"]}/.cmus/socket"){|s| IO.copy_stream($<, s)}'
  player-pause <--コントロールコマンド 
  player-play
  seek +1m
 ...

   全部のコントロールコマンドはここ「Common Context」節にあります。

6
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?