Skip to content

Modifier-reset "release" #4470

@regazzoj

Description

@regazzoj

Hello,

I think I might have found an issue with the option modifier-reset and the value release.
I am not sure about it because I might misunderstand the documentation about press and release options.

My actual configuration for Sway is :

bar {
    swaybar_command waybar
    mode dock
    hidden_state show
}

bar bar-1 {
    swaybar_command true
    mode hide
}

My configuration for Waybar is :

{
//First bar not relevant for the issue
...
},
{
    "id": "bar-1",
    "layer": "top",
    "position": "bottom",
    "mode": "hide",
    "modifier-reset": "release",
    "ipc": true,
    "height": 24,
    "margin-left": 5,
    "margin-right": 5,
    "margin-top": 5,
    "modules-center": ["sway/mode"]
}]

I bindsym mode with Mod4+Delete.

Expected behavior:
The bar bar-1 should be visible only when Mod4 is released.

Current behavior:
The bar bar-1 appears when Mod4 is pressed.

Let me know if I can help in any way or if my description needs some explanation.

Have a nice day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions