Q:

i3: .config file error with window variables

I was editing my config files of polybar and i3, when the arch throw a error
I customize my ArchLinux with polybar and i3, and i cant undersnteand some errors throwed by system. Therefore, i put a screenshot and my .config bellow:

#focus, floating, & sticky
for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
for_window [window_role="(?i)(?:pop-up|setup)"]
for_window [class=""]
popup_during_fullscreen smart
exec --no-startup-id i3-msg workspace $WS1

ERROR: CONFIG: Expected one of these tokens: <string>
ERROR: CONFIG: (in file /home/amts/.config/i3/config)
ERROR: CONFIG: Line 286: for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
ERROR: CONFIG: Line 287: for_window [window_role="(?i)(?:pop-up|setup)"]
ERROR: CONFIG: Line 288: for_window [class=""]
ERROR: CONFIG:           ^^^^^^^^^^^^^^^^^^^^^
ERROR: CONFIG: Line 289: popup_during_fullscreen smart
ERROR: CONFIG: Line 290: 
ERROR: CONFIG: Expected one of these tokens: <word>
ERROR: CONFIG: (in file /home/amts/.config/i3/config)
ERROR: CONFIG: Line 287: for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
ERROR: CONFIG: Line 288: for_window [window_role="(?i)(?:pop-up|setup)"]
ERROR: CONFIG: Line 289: for_window [class=""]
ERROR: CONFIG:                              ^^
ERROR: CONFIG: Line 290: popup_during_fullscreen smart
ERROR: CONFIG: Line 291: 
ERROR: FYI: You are using i3 version 4.16.1 (2019-01-27)

A:

Try removing this line:
for_window [class=""]

or add application which you want in the class attribute or put * between the "" for all applications. 

