0

I have a bindsym keybinding for $mod+y that focuses YouTube whereever it may be,

bindsym $mod+y [title="YouTube"] focus

Is there a way to make a subsequent push, when the window is already focused, send me back? I can have a different button that sends me back,

i3-msg workspace back_and_forth

But is there a way to make the same button conditionally send me bac if the window is already focused?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.