Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.39 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.39 KB

Playerctl widget for AweomseWM

Widget to control whatever player you're using with playerctl. Based on this widget by streetturtle.

Installation

Clone this repo under ~/.config/awesome/widgets/, then add it to your theme.lua.

playerctl_widget{preferred_player="player_name"} --Defaults to "spotify"

Customization

It is possible to customize widget by providing a table with all or some of the following config parameters:

Name Default Description
preferred_player "spotify" Player
play_icon "~/.config/awesome/widgets/playerctl/player_play.png" Play icon
pause_icon "~/.config/awesome/widgets/playerctl/player_pause.png" Pause icon
font "Play 9" Font
dim_when_paused false Decrease the widget opacity if spotify is paused
dim_opacity 0.2 Widget's opacity when dimmed, dim_when_paused should be set to true
show_tooltip true Show tooltip on hover with information about the playing song
timeout 1 How often in seconds the widget refreshes
bg #ffcb60 Tooltip background
fg #000000 Tooltip foreground

Dependencies

This widget depends on playerctl.