Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I followed the answer here to move "other" windows to a particular tag. How do I escape a window from picking up this rule, ie, how do I get the window to show on the current tag?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I just spent some "quality" time figuring this out for Firefox dialogs yesterday. My main browser windows all go to [1][1]. But when I hook up an external monitor, send some browser windows to [2][1], various Firefox dialogs still pop up on [1][1]. This is a problem when monitor 1 has another tag active - then you don't even know there's a dialog waiting for input on [1][1] until you remember why the browser on [2][1] doesn't respond to anything.

My solution:

{ rule = { class = "Firefox" }, properties = { tag = tags[1][1] } },
{ rule = { class = "Firefox", instance = "Dialog" }, callback = function(c) awful.client.movetotag(tags[mouse.screen][awful.tag.getidx()], c) end},

awful.tag.getidx() returns the current tag.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.