From f25c552f76b9213c3e7b5841f47fa06dfcd0b353 Mon Sep 17 00:00:00 2001 From: blake Date: Tue, 14 Oct 2025 23:46:15 -0500 Subject: [PATCH] going to sleep --- modules/homelab/motd/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/homelab/motd/default.nix b/modules/homelab/motd/default.nix index b55331a..7f34bb7 100644 --- a/modules/homelab/motd/default.nix +++ b/modules/homelab/motd/default.nix @@ -63,12 +63,12 @@ in { if systemctl list-units --type=service --all | grep -q "${service}"; then status=$(systemctl is-active ${service} 2>/dev/null) if [ "$status" = "active" ]; then - printf "%-15s %s%s\n" "''${active}${service}''${reset}" "running" + printf "%-23s%s\n" "''${active}${service}''${reset}" "running" else - printf "%-15s %s%s\n" "''${active}${service}''${reset}" "not running" + printf "%-23s%s\n" "''${active}${service}''${reset}" "not running" fi else - printf "%-15s %s%s\n" "''${active}${service}''${reset}" "not found" + printf "%-23s%s\n" "''${active}${service}''${reset}" "not found" fi '') motd_list)} @@ -80,9 +80,9 @@ in { for service in velocity smp superflat bento; do status=$(systemctl is-active $service 2>/dev/null) if [ "$status" = "active" ]; then - printf "%-15s %s%s\n" "''${active}$service''${reset}" "running" + printf "%-23s%s\n" "''${active}$service''${reset}" "running" else - printf "%-15s %s%s\n" "''${active}$service''${reset}" "not running" + printf "%-23s%s\n" "''${active}$service''${reset}" "not running" fi done echo