6

With i3, is it possible to have all new windows open in fullscreen by default? As far as I have been able to find, this is only possible for specified programmes.

  • What I think is you should try something like [class="<>"] fullscreen enable. The only thing I have no idea how to specify in <> something that would match any window. The wildcard is the thing to try I guess. – ddnomad Jul 26 '16 at 12:51
8

You can use the following configuration setting:

for_window [class=".*"] fullscreen enable

The for_window [CRITERIA] COMMAND setting runs COMMAND for each new window matching CRITERIA. i3 uses PCRE (Perl-compatible regular expressions) for pattern matching, so the pattern .* matches any number of arbitrary characters. Meaning it matches any possible class name, even empty ones.

Your Answer

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

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