pkgs: i3-get-window-criteria: remove whitespace
This commit is contained in:
parent
5f7d2c74bc
commit
15190d4b50
|
@ -27,4 +27,4 @@ match_qstring='"[^"\\]*(\\.[^"\\]*)*"' # NOTE: Adds 1 backreference
|
||||||
-e "/^WM_NAME\(STRING\) = ($match_string)$/ {s//title=\1/; h}" \
|
-e "/^WM_NAME\(STRING\) = ($match_string)$/ {s//title=\1/; h}" \
|
||||||
-e "/^_NET_WM_NAME\(UTF8_STRING\) = ($match_qstring)$/ {s//title=\1/; h}" \
|
-e "/^_NET_WM_NAME\(UTF8_STRING\) = ($match_qstring)$/ {s//title=\1/; h}" \
|
||||||
-e '$ {g; p}'
|
-e '$ {g; p}'
|
||||||
} | sort | tr "\n" " " | sed -r 's/^(.*) $/[\1]\n/'
|
} | sort | tr "\n" " " | sed -r 's/^ *(.*) $/[\1]\n/'
|
||||||
|
|
Loading…
Reference in a new issue