Skip to content

Jasper-Hawks/Improved-Player-Cmus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Improved-Player-Cmus

My version of the player-cmus script based on the player-cmus script in the polybar script repository.

example photo

Installation

Simply download the script to your polybar-scripts directory and place the module within your polybar config file. Make sure to add the module to your bar by typing the name of the module in the modules-center shown below.

[bar/example]
modules-left = ...
modules-center = player-cmus
modules-right = ...

Changes

  • Changed the numbers for the status of the song to different titles such as Now Playing, Paused, Stopped.
  • Swapped the modules for skipping songs and replaying previous songs
[module/player-cmus]
type = custom/script
exec = ~/polybar-scripts/improved-player-cmus.sh
interval = 5
click-left = cmus-remote -r &
click-right = cmus-remote -n &
click-middle = cmus-remote -u &