mirror of
https://github.com/ItsDrike/nixdots
synced 2025-02-24 02:39:02 +00:00
eww: Avoid newlines in window name
This commit is contained in:
parent
e1818d2abd
commit
f765e8935b
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue