瀏覽代碼

Put working windows in specified workspace

- 1 : Browser
- 2 : Gimp
- 4 : Thunderbird
DricomDragon 4 年之前
父節點
當前提交
de3bf083e5
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Install/Templates/config/i3/config

+ 5 - 0
Install/Templates/config/i3/config

@@ -217,6 +217,11 @@ bindsym $mod+Ctrl+a exec atril
 bindsym $mod+Ctrl+m exec mumble
 bindsym $mod+Ctrl+n exec nautilus
 
+# auto set workspace
+for_window [class="Firefox"] move container to workspace 1
+for_window [class="^Gimp.*"] move container to workspace 2
+for_window [class="Thunderbird"] move container to workspace 4
+
 # resize window (you can also use the mouse for that)
 mode "resize" {
         # These bindings trigger as soon as you enter the resize mode