我知道在 i3-wm 中可以将某些应用程序绑定到某些工作区,并将某些工作区绑定到某些显示器(我有双显示器设置)。是否也可以将特定的 google-chrome 选项卡绑定到某些空间/显示?对于那些想知道我如何进行应用程序工作区或工作区显示绑定的人,这是我的 i3config 的片段:
# binding workspaces to displays(run xrandr --query to get display names)
workspace $ws1 output "eDP-1" workspace_layout tabbed
workspace $ws2 output "HDMI-1" workspace_layout tabbed
workspace $ws3 output "HDMI-1" workspace_layout tabbed
workspace $ws4 output "eDP-1" workspace_layout tabbed
workspace $ws5 output "HDMI-1" workspace_layout tabbed
# Bind App to workspaces
# Check class by using xprop command
assign [class="Google-chrome"] $ws1
assign [class="Nemo"] $ws2
assign [class="eDEX-UI"] $ws2
assign [class="Vlc"] $ws5
assign [class="crx_eppojlglocelodeimnohnlnionkobfln"] $ws5