Skip to content

custom module for current track inforamation on waybar

Notifications You must be signed in to change notification settings

cybergaz/waybar_now_playing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

waybar now-playing

current track/song/media visualization on waybar written in rust which provide near zero performance and memory cost for updating even at the interval of 1 second

dependencies

you need to have playerctl installed

sudo pacman -S playerctl

get the binary here

manual build

git clone https://github.com/cybergaz/waybar_now_playing
cd waybar_now_playing
cargo build

integration in waybar

just update the waybar config by adding new module , for example :

  "custom/player": {
    "exec": " path/to/binary ",
    "format": "Playing :    {}",
    "interval": 2,
    "return-type": "json",
    "on-click": "playerctl play-pause"
  },

About

custom module for current track inforamation on waybar

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages