diff --git a/home-manager/home.nix b/home-manager/home.nix index f66378c..852ec1a 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -624,9 +624,9 @@ in height = 20; width = SCREEN_WIDTH; modules-left = [ "custom/uptime" ]; - modules-right = [ "pulseaudio" ]; #modules-center = ["custom/gruvbox" "custom/nord" "custom/solarized" "custom/dracula" "custom/mocha" "custom/macchiato"]; modules-center = ["custom/fuzzy-time" "custom/clock"]; + modules-right = [ "custom/playerctl" "pulseaudio" ]; "network" = { interface = "enp42s0"; interval = 10; @@ -685,6 +685,11 @@ in on-click-right = "pactl set-sink-volume @DEFAULT_SINK@ 0% && ssh max@media pactl set-sink-volume @DEFAULT_SINK@ 0%"; scroll-step = 1; }; + "custom/playerctl" = { + exec = "playerctl metadata title"; + format = "{}"; + interval = 5; + }; }; }; style = ''