Window-Manager
i3wm : i3 啟動時在特定工作區啟動應用程序
啟動時如何在 i3 的特定工作區上啟動應用程序?
為什麼這在我的配置文件中不起作用?:
workspace 1; exec firefox; workspace 2; exec chromium; workspace 1
根據Arch Wiki i3 頁面,要在特定工作區上自動啟動應用程序,您可以使用
i3-msg
:exec --no-startup-id i3-msg 'workspace 1:Web; exec /usr/bin/firefox'
# This is what I use in ie config # custom variables for workspaces set $ws1 "1< txt >" set $ws2 "2> fm " set $ws3 "3< Web >" set $ws4 4 set $ws5 5 set $ws6 6 set $ws7 7 set $ws8 8 set $ws9 9 ##==================================================## # *** Workspace specific settings *** # ##=================================================## # Assign Workspaces: assign [class="Firefox"] $ws3 assign [class="Chromium"] $ws3 assign [class="Google-chrome-beta"] $ws3 assign [class="^Geany"] $ws1
注意:要應用配置,您可以使用:
i3-msg reload