From 6000eaa15c754bb63430d22add28c0f2efd3b15a Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 7 Apr 2022 07:13:58 +0200 Subject: [PATCH] Increase the number of workspaces --- sway/.config/sway/config | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 645166b..358856a 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -131,12 +131,12 @@ set $workspace1 "1: " set $workspace2 "2: " set $workspace3 "3: " set $workspace4 "4: " -set $workspace5 "5: " -set $workspace6 "6: " -#set $workspace7 "7: " -#set $workspace8 "8: " -#set $workspace9 "9: " -#set $workspace10 "10: " +set $workspace5 "5: " +set $workspace6 "6: " +set $workspace7 "7: " +set $workspace8 "8: " +set $workspace9 "9: 辶" +set $workspace10 "10: " # Switch to workspace bindsym $mod+1 workspace $workspace1 bindsym $mod+2 workspace $workspace2 @@ -144,10 +144,10 @@ bindsym $mod+3 workspace $workspace3 bindsym $mod+4 workspace $workspace4 bindsym $mod+5 workspace $workspace5 bindsym $mod+6 workspace $workspace6 -#bindsym $mod+7 workspace $workspace7 -#bindsym $mod+8 workspace $workspace8 -#bindsym $mod+9 workspace $workspace9 -#bindsym $mod+0 workspace $workspace10 +bindsym $mod+7 workspace $workspace7 +bindsym $mod+8 workspace $workspace8 +bindsym $mod+9 workspace $workspace9 +bindsym $mod+0 workspace $workspace10 # Move focused container to workspace bindsym $mod+Shift+1 move container to workspace $workspace1 bindsym $mod+Shift+2 move container to workspace $workspace2 @@ -155,10 +155,10 @@ bindsym $mod+Shift+3 move container to workspace $workspace3 bindsym $mod+Shift+4 move container to workspace $workspace4 bindsym $mod+Shift+5 move container to workspace $workspace5 bindsym $mod+Shift+6 move container to workspace $workspace6 -#bindsym $mod+Shift+7 move container to workspace $workspace7 -#bindsym $mod+Shift+8 move container to workspace $workspace8 -#bindsym $mod+Shift+9 move container to workspace $workspace9 -#bindsym $mod+Shift+0 move container to workspace $workspace10 +bindsym $mod+Shift+7 move container to workspace $workspace7 +bindsym $mod+Shift+8 move container to workspace $workspace8 +bindsym $mod+Shift+9 move container to workspace $workspace9 +bindsym $mod+Shift+0 move container to workspace $workspace10 # Note: workspaces can have any name you want, not just numbers. # We just use 1-10 as the default. # @@ -332,10 +332,17 @@ exec firefox assign [app_id=".*[Ee]macs.*"] $workspace3 exec emacs # mpv -assign [app_id="mpv"] $workspace6 +assign [app_id="mpv"] $workspace9 # teams assign [class="Microsoft Teams - Preview"] $workspace6 exec teams +# calibre +assign [app_id="calibre"] $workspace10 +# gimp +assign [class="Gimp*"] $workspace7 +# deluge +assign [app_id="deluge"] $workspace8 + # # Program behaviour