From e39ecf0e3babc4260c7da9c43734990d51a44cde Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 28 Aug 2023 20:52:07 +0900 Subject: [PATCH] test --- .../hyprland/gruvbox/waybar/scripts/waybar-scripts.nix | 4 ++-- .../desktops/hyprland/gruvbox/waybar/waybar-conf2.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 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 b4b2427d..86d3b45b 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 @@ -14,11 +14,11 @@ if [ $CLASS == "Running" ]; then IP=`tailscale status --json | jq -r '.TailscaleIPs[0]'` TOOLTIP="IP: $IP" - printf '{"class": "%s", "tooltip": "%s"}\n' "$CLASS" "$TOOLTIP" + printf '{"class": "%s", "tooltip": "%s", "alt": "%s"}\n' "$CLASS" "$TOOLTIP" "$CLASS" fi if [ $CLASS == "Stopped" ]; then TOOLTIP="Tailscale is not running" - printf '{"class": "%s", "tooltip": "%s"}\n' "$CLASS" "$TOOLTIP" + printf '{"class": "%s", "tooltip": "%s", "alt": "%s"}\n' "$CLASS" "$TOOLTIP" "$CLASS" fi ''; }; diff --git a/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/waybar-conf2.nix b/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/waybar-conf2.nix index 958760f5..cb489c79 100644 --- a/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/waybar-conf2.nix +++ b/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/waybar-conf2.nix @@ -45,8 +45,8 @@ "return-type": "json", "interval": 5, "format-icons": { - "Running": "󰌆", - "Stopped": "󰌊" + "Running": "󰌆 ", + "Stopped": "󰌊 ", } },