Guest User

i3conf

a guest
Oct 21st, 2012
629
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 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. # Use Mouse+$mod to drag floating windows to their wanted position
  15. floating_modifier $mod
  16.  
  17. workspace_auto_back_and_forth yes
  18.  
  19. # class border backgr. text indicator
  20. #client.focused #4c7899 #285577 #ffffff #2e9ef4
  21. #client.focused_inactive #333333 #5f676a #ffffff #484e50
  22. #client.unfocused #333333 #222222 #888888 #292d2e
  23. #client.urgent #2f343a #900000 #ffffff #900000
  24.  
  25. #client.focused #93a1a1 #073642 #93a1a1
  26. #client.focused_inactive #586e75 #002b36 #586e75
  27. #client.unfocused #657b83 #002b36 #657b83
  28. #client.urgent #d33682 #073642 #d33682
  29.  
  30. focus_follows_mouse no
  31.  
  32. for_window [class="^Yakuake$"] floating enable
  33. for_window [class="^Yakuake$"] border none
  34. for_window [class="^Pidgin$"] floating enable
  35. for_window [class="^Smplayer$"] floating enable
  36. for_window [class="^OperaNext$"] border 1pixel
  37. for_window [class="^Google-chrome$"] border 1pixel
  38. for_window [class="I3-exit"] floating enable
  39. for_window [class="Ossxmix"] floating enable
  40. for_window [class="Dwb"] border 1pixel
  41. for_window [class="Zathura"] border 1pixel
  42. for_window [class="Dolphin" title="Copiere"] floating enable
  43. for_window [class="Dolphin" title="Mutare"] floating enable
  44. for_window [class="Dolphin" title="Dialog de progres"] floating enable
  45. for_window [title="% Arhivare"] floating enable
  46. for_window [class="Darktable"] border 1pixel
  47. for_window [class="Launcher" title="Unigine Heaven DX11 Benchmark 3.0 (Professional Edition)"] floating enable
  48.  
  49. assign [class="^Ktorrent$"] 4
  50.  
  51. bindsym $mod+y border toggle
  52.  
  53. # font for window titles. ISO 10646 = Unicode
  54. font xft:terminus regular 8
  55.  
  56. # start a terminal
  57. bindsym $mod+Return exec i3-sensible-terminal
  58.  
  59. # kill focused window
  60. bindsym $mod+Shift+quotedbl kill
  61.  
  62. # start dmenu (a program launcher)
  63. bindsym $mod+e exec dmenu_run
  64.  
  65. # change focus
  66. bindsym $mod+h focus left
  67. bindsym $mod+t focus down
  68. bindsym $mod+n focus up
  69. bindsym $mod+s focus right
  70.  
  71. # alternatively, you can use the cursor keys:
  72. bindsym $mod+Left focus left
  73. bindsym $mod+Down focus down
  74. bindsym $mod+Up focus up
  75. bindsym $mod+Right focus right
  76.  
  77. # move focused window
  78. bindsym $mod+Shift+H move left
  79. bindsym $mod+Shift+T move down
  80. bindsym $mod+Shift+N move up
  81. bindsym $mod+Shift+S move right
  82.  
  83. # alternatively, you can use the cursor keys:
  84. bindsym $mod+Shift+Left move left
  85. bindsym $mod+Shift+Down move down
  86. bindsym $mod+Shift+Up move up
  87. bindsym $mod+Shift+Right move right
  88.  
  89. # split in horizontal orientation
  90. bindsym $mod+d split h
  91.  
  92. # split in vertical orientation
  93. bindsym $mod+k split v
  94.  
  95. # enter fullscreen mode for the focused container
  96. bindsym $mod+u fullscreen
  97.  
  98. # change container layout (stacked, tabbed, default)
  99. bindsym $mod+o layout stacking
  100. bindsym $mod+comma layout tabbed
  101. bindsym $mod+period layout default
  102.  
  103. # toggle tiling / floating
  104. bindsym $mod+Shift+space floating toggle
  105.  
  106. # change focus between tiling / floating windows
  107. bindsym $mod+space focus mode_toggle
  108.  
  109. # focus the parent container
  110. bindsym $mod+a focus parent
  111.  
  112. # focus the child container
  113. #bindcode $mod+d focus child
  114.  
  115. # switch to workspace
  116. bindsym $mod+1 workspace 1
  117. bindsym $mod+2 workspace 2
  118. bindsym $mod+3 workspace 3
  119. bindsym $mod+4 workspace 4
  120. bindsym $mod+5 workspace 5
  121. bindsym $mod+6 workspace 6
  122. bindsym $mod+7 workspace 7
  123. bindsym $mod+8 workspace 8
  124. bindsym $mod+9 workspace 9
  125. bindsym $mod+0 workspace 10
  126.  
  127. # move focused container to workspace
  128. bindsym $mod+Shift+exclam move container to workspace 1
  129. bindsym $mod+Shift+at move container to workspace 2
  130. bindsym $mod+Shift+numbersign move container to workspace 3
  131. bindsym $mod+Shift+dollar move container to workspace 4
  132. bindsym $mod+Shift+percent move container to workspace 5
  133. bindsym $mod+Shift+asciicircum move container to workspace 6
  134. bindsym $mod+Shift+ampersand move container to workspace 7
  135. bindsym $mod+Shift+asterisk move container to workspace 8
  136. bindsym $mod+Shift+parenleft move container to workspace 9
  137. bindsym $mod+Shift+parenright move container to workspace 10
  138.  
  139. # reload the configuration file
  140. bindsym $mod+Shift+J reload
  141. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  142. bindsym $mod+Shift+P restart
  143. # exit i3 (logs you out of your X session)
  144. bindsym $mod+Shift+greater exit
  145.  
  146. bindsym $mod+x exec i3-exit
  147.  
  148. # resize window (you can also use the mouse for that)
  149. mode "resize" {
  150. # These bindings trigger as soon as you enter the resize mode
  151.  
  152. # Pressing left will shrink the window?s width.
  153. # Pressing right will grow the window?s width.
  154. # Pressing up will shrink the window?s height.
  155. # Pressing down will grow the window?s height.
  156. bindsym h resize shrink width 10 px or 10 ppt
  157. bindsym t resize grow height 10 px or 10 ppt
  158. bindsym n resize shrink height 10 px or 10 ppt
  159. bindsym s resize grow width 10 px or 10 ppt
  160.  
  161. # same bindings, but for the arrow keys
  162. bindsym 113 resize shrink width 10 px or 10 ppt
  163. bindsym 116 resize grow height 10 px or 10 ppt
  164. bindsym 111 resize shrink height 10 px or 10 ppt
  165. bindsym 114 resize grow width 10 px or 10 ppt
  166.  
  167. # back to normal: Enter or Escape
  168. bindsym Return mode "default"
  169. bindsym Escape mode "default"
  170. }
  171.  
  172. bindsym $mod+p mode "resize"
  173.  
  174. # Start i3bar to display a workspace bar (plus the system information i3status
  175. # finds out, if available)
  176. bar {
  177. status_command i3status -c ~/.i3status
  178. position top
  179. font xft:terminus regular 8
  180. mode dock
  181. tray_output primary
  182. colors {
  183. background #002b36
  184. Statusline #839496
  185. focused_workspace #93a1a1 #073642
  186. active_workspace #587e75 #002b36
  187. inactive_workspace #657b83 #002b36
  188. urgent_workspace #d33682 #073642
  189. }
  190. }
Advertisement
Add Comment
Please, Sign In to add comment