From 0c5e2dce04f44104f49f4a10a5584fc735c58132 Mon Sep 17 00:00:00 2001 From: Midgard <2885-Midgard@users.noreply.framagit.org> Date: Wed, 18 Dec 2024 20:02:22 +0100 Subject: [PATCH] [terminal.sh] Simplify expression --- i3/terminal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/terminal.sh b/i3/terminal.sh index 39248f5..b9c9318 100755 --- a/i3/terminal.sh +++ b/i3/terminal.sh @@ -17,7 +17,7 @@ fi focused_window_title() { if [ -n "${WAYLAND_DISPLAY:-}" ]; then - lswt -j | jq -r '.toplevels | map(select(.activated?))[0] | .title' + lswt -j | jq -r '.toplevels | map(select(.activated?))[0].title' else xtitle fi