From 2e6fe47aa11e80335273f335b6c7d41bce1a4a3c Mon Sep 17 00:00:00 2001 From: deadvey Date: Thu, 2 Jan 2025 02:02:25 +0000 Subject: [PATCH] 2025-01-02 02:02 : id 58 --- home-manager/home.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 = ''