mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-24 17:34:35 +00:00
eww: Avoid newlines in window name
This commit is contained in:
parent
e1818d2abd
commit
f765e8935b
|
@ -97,6 +97,7 @@ def main() -> None:
|
|||
formatted_name = new_name
|
||||
break
|
||||
|
||||
formatted_name = formatted_name.split("\n")[0]
|
||||
if len(formatted_name) > MAX_LENGTH:
|
||||
formatted_name = formatted_name[: MAX_LENGTH - 3] + "..."
|
||||
|
||||
|
|
Loading…
Reference in a new issue