From 613925527c937906e9b59b37a0c57b94acb58996 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 1 May 2019 23:33:05 +0200 Subject: [PATCH] Make lemonbar POSIX compliant --- .scripts/panel/lemonbar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/panel/lemonbar.sh b/.scripts/panel/lemonbar.sh index 6241e1e..1d65251 100755 --- a/.scripts/panel/lemonbar.sh +++ b/.scripts/panel/lemonbar.sh @@ -6,7 +6,7 @@ PANEL="lemonbar_panel" title() { # Grabs focused window's title ID="$(printf "%s" "$1" | awk '{print $5}')" - if [ "$ID" == "0x0" ]; then + if [ "$ID" = "0x0" ]; then TITLE="" else TITLE="$(xprop -id "$ID" WM_NAME \