From 5974bd496c8e80b49f97bd6ae5f839096932f46d Mon Sep 17 00:00:00 2001 From: iFargle <albert@sysctl.io> Date: Mon, 28 Aug 2023 20:39:40 +0900 Subject: [PATCH] test --- .../hyprland/gruvbox/waybar/scripts/waybar-scripts.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/scripts/waybar-scripts.nix b/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/scripts/waybar-scripts.nix index 8cd7167c..49409ef3 100644 --- a/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/scripts/waybar-scripts.nix +++ b/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/scripts/waybar-scripts.nix @@ -15,11 +15,11 @@ if [ $CLASS == "Running" ]; then IP=`tailscale status --json | jq -r '.TailscaleIPs[0]'` ALT="IP: $IP" - printf '{"text": "%s","class": "%s"", "alt": "%s"}\n' "$TEXT" "$CLASS" "$ALT" + printf '{"text": "%s", "class": "%s", "alt": "%s"}\n' "$TEXT" "$CLASS" "$ALT" fi if [ $CLASS == "Stopped" ]; then ALT="Tailscale is not running" - printf '{"text": "%s","class": "%s"", "alt": "%s"}\n' "$TEXT" "$CLASS" "$ALT" + printf '{"text": "%s", "class": "%s", "alt": "%s"}\n' "$TEXT" "$CLASS" "$ALT" fi ''; };