milgra / sov

An overlay that shows schemas for all workspaces to make navigation in sway easier.
GNU General Public License v3.0
325 stars 14 forks source link

Escaping a forward slash #17

Closed Moomink closed 2 years ago

Moomink commented 2 years ago

If the window title contains "/", it will be displayed escaped. These are present at the time of swaymsg -t get_tree, but is there any plan to solve this problem with sov? Thank you.

milgra commented 2 years ago

Hi, I will look into it, haven't had a title with slash so far.

Moomink commented 2 years ago

Thanks, it happens when I open a site with "/" in the title, like a Github repository.

2022-06-20-14_59_31

Here is the output of swaymsg at that time.

{
    "id":133,

"~~~~~some output~~~~~~~~":"",

    "name": "milgra/sov: An overlay that shows schemas for all workspaces to make navigation in sway easier. - Vivaldi",
    "window": 6291706,
    "nodes": [],
    "floating_nodes": [],
    "focus": [],
    "fullscreen_mode": 0,
    "sticky": false,
    "pid": 6533,
    "app_id": null,
    "visible": false,
    "max_render_time": 0,
    "shell": "xwayland",
    "inhibit_idle": false,
    "idle_inhibitors": {
        "user": "fullscreen",
        "application": "none"
    },
    "window_properties": {
        "class": "Vivaldi-stable",
        "instance": "vivaldi-stable",
        "title": "milgra/sov: An overlay that shows schemas for all workspaces to make navigation in sway easier. - Vivaldi",
        "transient_for": null,
        "window_role": "browser",
        "window_type": "normal"
    }
}
milgra commented 2 years ago

Fixed in 0.72