-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Jovan Lanik edited this page Sep 16, 2022
·
1 revision
Load module by running $ gtklock -m /path/to/playerctl-module.so
or adding modules=/path/to/playerctl-module.so
to your gtklock config.
If you installed both gtklock and the module using your package manager your can use $ gtklock -m playerctl-module
and it will load from the system directory. If music is playing from an mpris compatible player, gtklock will now show controls at the top of the screen.
gtklock-playerctl-module has a few config options available in ~/.config/gtklock/config.ini:
[playerctl]
art-size=64
position=top-center
art-size
is defined in pixels and if set to 0
, no album art will be shown.
position
is one of top-left
, top-center
, top-right
, bottom-left
, bottom-center
, bottom-right
, above-clock
or under-clock
.