From 5e992ba58794a227fabe27b104a56d79afec4bc2 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Sat, 19 Dec 2020 16:25:42 +0100 Subject: [PATCH] fix kubectx test --- TODO | 3 ++- roles/waybar/files/waybar/config | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 6769028..df8fb8d 100644 --- a/TODO +++ b/TODO @@ -11,7 +11,7 @@ # FIX - change kitty block char when unused term - disable tooltip on waybar modules -- less than 25% battery color waybar +- kanshi reconfigure outputs on sway reload # ISSUES * tiny-irc : https://github.com/osa1/tiny/issues/created_by/eoli3n @@ -28,6 +28,7 @@ - rclone mount service - import pictures in shotwell - remove exec in waybar modules : https://github.com/Alexays/Waybar/issues/707 +- pastebinit with x0.at #TEST * wf-recorder diff --git a/roles/waybar/files/waybar/config b/roles/waybar/files/waybar/config index 466e54e..c6bc6c1 100644 --- a/roles/waybar/files/waybar/config +++ b/roles/waybar/files/waybar/config @@ -114,7 +114,7 @@ "format": " {}", "interval": 5, "exec": "~/.config/waybar/modules/kubernetes.sh", - "exec-if": "which kubectx kubens" + "exec-if": "kubectx -c > /dev/null" }, "cpu": { "interval": 3,