diff --git a/i3/config b/i3/config index c409971..ab6cdd6 100644 --- a/i3/config +++ b/i3/config @@ -52,7 +52,7 @@ floating_modifier $mod tiling_drag modifier titlebar # start a terminal -bindsym $mod+Return exec i3-sensible-terminal +bindsym $mod+Return exec xterm # kill focused window bindsym $mod+Shift+c kill @@ -118,16 +118,39 @@ bindsym $mod+a focus parent # Define names for default workspaces for which we configure key bindings later on. # We use variables to avoid repeating the names in multiple places. -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" +# set $ws1 "1" +# set $ws2 "2" +# set $ws3 "3" +# set $ws4 "4" +# set $ws5 "5" +# set $ws6 "6" +# set $ws7 "7" +# set $ws8 "8" +# set $ws9 "9" +# set $ws10 "10" + +set $ws1 "1: dev1" +set $ws2 "2: test1" +set $ws3 "3: dev2" +set $ws4 "4: test2" +set $ws5 "5: dev3" +set $ws6 "6: test3" +set $ws7 "7: dev4" +set $ws8 "8: test4" +set $ws9 "9: www" +set $ws10 "10: msg" + +exec --no-startup-id i3-msg 'rename workspace "1" to "$ws1"' +exec --no-startup-id i3-msg 'rename workspace "2" to "$ws2"' +exec --no-startup-id i3-msg 'rename workspace "3" to "$ws3"' +exec --no-startup-id i3-msg 'rename workspace "4" to "$ws4"' +exec --no-startup-id i3-msg 'rename workspace "5" to "$ws5"' +exec --no-startup-id i3-msg 'rename workspace "6" to "$ws6"' +exec --no-startup-id i3-msg 'rename workspace "7" to "$ws7"' +exec --no-startup-id i3-msg 'rename workspace "8" to "$ws8"' +exec --no-startup-id i3-msg 'rename workspace "9" to "$ws9"' +exec --no-startup-id i3-msg 'rename workspace "10" to "$ws10"' + # switch to workspace bindsym $mod+1 workspace number $ws1 @@ -153,6 +176,10 @@ bindsym $mod+Shift+8 move container to workspace number $ws8 bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+0 move container to workspace number $ws10 +#scratchpad buffer +bindsym $mod+Shift+minus move scratchpad +bindsym $mod+minus scratchpad show + # reload the configuration file bindsym $mod+Shift+r reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)