Advertisement
Guest User

i3 config

a guest
Feb 10th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. # This file has been auto-generated by i3-config-wizard(1).
  2. # It will not be overwritten, so edit it as you like.
  3. #
  4. # Should you change your keyboard layout somewhen, delete
  5. # this file and re-run i3-config-wizard(1).
  6. #
  7.  
  8. # i3 config file (v4)
  9. #
  10. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  11.  
  12. set $mod Mod4
  13.  
  14. # font for window titles. ISO 10646 = Unicode
  15. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  16.  
  17. # Use Mouse+$mod to drag floating windows to their wanted position
  18. floating_modifier $mod
  19.  
  20. # start a terminal
  21. bindsym $mod+Return exec i3-sensible-terminal
  22.  
  23. # kill focused window
  24. bindsym $mod+Shift+Q kill
  25.  
  26. # start dmenu (a program launcher)
  27. bindsym $mod+d exec dmenu_run
  28.  
  29. # change focus
  30. bindsym $mod+j focus left
  31. bindsym $mod+k focus down
  32. bindsym $mod+l focus up
  33. bindsym $mod+semicolon focus right
  34.  
  35. # alternatively, you can use the cursor keys:
  36. bindsym $mod+Left focus left
  37. bindsym $mod+Down focus down
  38. bindsym $mod+Up focus up
  39. bindsym $mod+Right focus right
  40.  
  41. # move focused window
  42. bindsym $mod+Shift+J move left
  43. bindsym $mod+Shift+K move down
  44. bindsym $mod+Shift+L move up
  45. bindsym $mod+Shift+colon move right
  46.  
  47. # alternatively, you can use the cursor keys:
  48. bindsym $mod+Shift+Left move left
  49. bindsym $mod+Shift+Down move down
  50. bindsym $mod+Shift+Up move up
  51. bindsym $mod+Shift+Right move right
  52.  
  53. # split in horizontal orientation
  54. bindsym $mod+h split h
  55.  
  56. # split in vertical orientation
  57. bindsym $mod+v split v
  58.  
  59. # enter fullscreen mode for the focused container
  60. bindsym $mod+f fullscreen
  61.  
  62. # change container layout (stacked, tabbed, default)
  63. bindsym $mod+s layout stacking
  64. bindsym $mod+w layout tabbed
  65. bindsym $mod+e layout default
  66.  
  67. # toggle tiling / floating
  68. bindsym $mod+Shift+space floating toggle
  69.  
  70. # change focus between tiling / floating windows
  71. bindsym $mod+space focus mode_toggle
  72.  
  73. # focus the parent container
  74. bindsym $mod+a focus parent
  75.  
  76. # focus the child container
  77. #bindcode $mod+d focus child
  78.  
  79. # switch to workspace
  80. bindsym $mod+1 workspace 1
  81. bindsym $mod+2 workspace 2
  82. bindsym $mod+3 workspace 3
  83. bindsym $mod+4 workspace 4
  84. bindsym $mod+5 workspace 5
  85. bindsym $mod+6 workspace 6
  86. bindsym $mod+7 workspace 7
  87. bindsym $mod+8 workspace 8
  88. bindsym $mod+9 workspace 9
  89. bindsym $mod+0 workspace 10
  90.  
  91. # move focused container to workspace
  92. bindsym $mod+Shift+exclam move container to workspace 1
  93. bindsym $mod+Shift+at move container to workspace 2
  94. bindsym $mod+Shift+numbersign move container to workspace 3
  95. bindsym $mod+Shift+dollar move container to workspace 4
  96. bindsym $mod+Shift+percent move container to workspace 5
  97. bindsym $mod+Shift+asciicircum move container to workspace 6
  98. bindsym $mod+Shift+ampersand move container to workspace 7
  99. bindsym $mod+Shift+asterisk move container to workspace 8
  100. bindsym $mod+Shift+parenleft move container to workspace 9
  101. bindsym $mod+Shift+parenright move container to workspace 10
  102.  
  103. # reload the configuration file
  104. bindsym $mod+Shift+C reload
  105. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  106. bindsym $mod+Shift+R restart
  107. # exit i3 (logs you out of your X session)
  108. bindsym $mod+Shift+E exit
  109.  
  110. # resize window (you can also use the mouse for that)
  111. mode "resize" {
  112. # These bindings trigger as soon as you enter the resize mode
  113.  
  114. # Pressing left will shrink the window’s width.
  115. # Pressing right will grow the window’s width.
  116. # Pressing up will shrink the window’s height.
  117. # Pressing down will grow the window’s height.
  118. bindsym j resize shrink width 10 px or 10 ppt
  119. bindsym k resize grow height 10 px or 10 ppt
  120. bindsym l resize shrink height 10 px or 10 ppt
  121. bindsym semicolon resize grow width 10 px or 10 ppt
  122.  
  123. # same bindings, but for the arrow keys
  124. bindsym 113 resize shrink width 10 px or 10 ppt
  125. bindsym 116 resize grow height 10 px or 10 ppt
  126. bindsym 111 resize shrink height 10 px or 10 ppt
  127. bindsym 114 resize grow width 10 px or 10 ppt
  128.  
  129. # back to normal: Enter or Escape
  130. bindsym Return mode "default"
  131. bindsym Escape mode "default"
  132. }
  133.  
  134. bindsym $mod+r mode "resize"
  135.  
  136. workspace 1 output GPU-1.DP-2
  137. workspace 2 output GPU-0.DP-2
  138. workspace 3 output GPU-1.DP-3
  139. workspace 4 output GPU-0.DP-3
  140.  
  141. # Start i3bar to display a workspace bar (plus the system information i3status
  142. # finds out, if available)
  143. bar {
  144. status_command i3status
  145. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement