From 91191722ac6d0e6e5103dabd968cd2a50133de53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Fri, 13 Mar 2026 14:38:38 +0100 Subject: [PATCH] fix(waybar): ssh-session false positive --- waybar/scripts/ssh-session.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waybar/scripts/ssh-session.sh b/waybar/scripts/ssh-session.sh index 87acb8b..73a7a03 100755 --- a/waybar/scripts/ssh-session.sh +++ b/waybar/scripts/ssh-session.sh @@ -8,7 +8,7 @@ if [[ "$1" == "disconnect" ]]; then exit 0 fi -count=$(pgrep -cf 'sshd-session:.*@' 2>/dev/null) +count=$(pgrep -cf '[s]shd-session:.*@' 2>/dev/null) count=${count:-0} if [[ "$count" -gt 0 ]]; then