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