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 Answer
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.
[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.