diff --git a/home-manager/home.nix b/home-manager/home.nix index b3b455d..c7ed9d3 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -301,8 +301,8 @@ in height = 20; width = SCREEN_WIDTH - 10; modules-left = [ "network" ]; - modules-right = [ "custom/weather" ]; - modules-center = []; + modules-right = [ "custom/name" ]; + modules-center = ["custom/weather"]; "network" = { interface = "enp42s0"; interval = 10; @@ -316,7 +316,11 @@ in interval = 3600; exec = "wttrbar --ampm"; return-type = "json"; - }; + }; + "custom/name" = { + exec = "ssh max@debian cat /var/www/html/music/data.js | sed -n \"s/.*name = '\([^']*\)'.*/\1/p\""; + format = "Listening to: {}"; + }; }; }; style = '' @@ -368,7 +372,10 @@ in #custom-weather, #custom-browser, #custom-terminal, - #disk { + #disk, + #memory, + #cpu, + #custom-website { color: #${FG}; background: transparent; border: ${BORDER_WIDTH}px solid #${ACCENT};