linux - i3:窗口变量的 .config 文件错误

标签 linux archlinux i3

我正在编辑 Polybar 和 i3 的配置文件,当拱门抛出错误时

我用 Polybar 和 i3 定制了我的 ArchLinux,但我无法理解系统抛出的一些错误。因此,我在下面放置了屏幕截图和我的 .config:

Screenshot o my desktop

#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)

最佳答案

尝试删除此行:

for_window [class=""]

或者在类属性中添加您想要的应用程序,或者在所有应用程序的“”之间放置*。

关于linux - i3:窗口变量的 .config 文件错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55539673/

相关文章:

linux - Centos 7 上的 Wine 1.9.24

linux - 如何安装迈格玛?我 `make install`运行良好,但 `make test`导致错误

linux-kernel - 在 grub 中更改默认内核版本

linux - 如何查看未知.py 进程的内容?

linux - 除非我运行一些命令,否则脉冲音频不会在启动时启动

i3 - 无法用 rofi 组合模式替换 dmenu

linux - 删除多个文件夹中的重复文件

c - 如何读取系统的输出 ('ls' )?

c# - Arch linux 启动应用程序(脚本)Raspberry Pi

linux - 绑定(bind)到快捷键的 xdotool 命令不起作用