8

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.

1
  • 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, 2016 at 12:51

1 Answer 1

15

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .