jbuchermn / newm

Wayland compositor
MIT License
959 stars 30 forks source link

Ignore focus border in especific windows #116

Open CRAG666 opened 2 years ago

CRAG666 commented 2 years ago

Ignore the border in specific windows, I love the Focus function, since I can know what window I find.However, this looks pretty bad in catapult so I want to define a rule where in catapult the edge is ignored.

I have the idea of adding something like:

def rules(view):
    if view.app_id == "catapult":
        app_rule = {"float": True, "float_pos": (0.5, 0.1), "focus": False}
    return app_rule
CRAG666 commented 2 years ago

@jbuchermn By the way, thank you very much for this new version that is honestly a huge better in relation to the past versions, finally des Insta Swaywm completely and Newm is my default WM and my workflow was multiplied by x2.

jbuchermn commented 2 years ago

Thanks a lot.

That‘s a good idea, I'll have a go at it.