[terminal.sh] Simplify expression
This commit is contained in:
parent
936ab71626
commit
0c5e2dce04
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue