Advertisement
Guest User

Untitled

a guest
Oct 31st, 2013
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.66 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. set $mod1 Mod1
  14.  
  15. # Font for window titles. Will also be used by the bar unless a different font
  16. # is used in the bar {} block below. ISO 10646 = Unicode
  17. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  18. # The font above is very space-efficient, that is, it looks good, sharp and
  19. # clear in small sizes. However, if you need a lot of unicode glyphs or
  20. # right-to-left text rendering, you should instead use pango for rendering and
  21. # chose a FreeType font, such as:
  22. # font pango:DejaVu Sans Mono 10
  23. font pango:Terminus 9
  24.  
  25. # Use Mouse+$mod to drag floating windows to their wanted position
  26. floating_modifier $mod
  27.  
  28. # start a terminal
  29. bindsym $mod+Return exec i3-sensible-terminal
  30.  
  31. # kill focused window
  32. bindsym $mod+Shift+q kill
  33.  
  34. # start dmenu (a program launcher)
  35. bindsym $mod+d exec dmenu_run
  36. # There also is the (new) i3-dmenu-desktop which only displays applications
  37. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  38. # installed.
  39. # bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  40.  
  41. # change focus
  42. bindsym $mod+j focus left
  43. bindsym $mod+k focus down
  44. bindsym $mod+l focus up
  45. bindsym $mod+semicolon focus right
  46.  
  47. # alternatively, you can use the cursor keys:
  48. bindsym $mod+Left focus left
  49. bindsym $mod+Down focus down
  50. bindsym $mod+Up focus up
  51. bindsym $mod+Right focus right
  52.  
  53. # move focused window
  54. bindsym $mod+Shift+j move left
  55. bindsym $mod+Shift+k move down
  56. bindsym $mod+Shift+l move up
  57. bindsym $mod+Shift+semicolon move right
  58.  
  59. # alternatively, you can use the cursor keys:
  60. bindsym $mod+Shift+Left move left
  61. bindsym $mod+Shift+Down move down
  62. bindsym $mod+Shift+Up move up
  63. bindsym $mod+Shift+Right move right
  64.  
  65. # split in horizontal orientation
  66. bindsym $mod+h split h
  67.  
  68. # split in vertical orientation
  69. bindsym $mod+v split v
  70.  
  71. # enter fullscreen mode for the focused container
  72. bindsym $mod+f fullscreen
  73.  
  74. # change container layout (stacked, tabbed, toggle split)
  75. bindsym $mod+s layout stacking
  76. bindsym $mod+w layout tabbed
  77. bindsym $mod+e layout toggle split
  78.  
  79. # toggle tiling / floating
  80. bindsym $mod+Shift+space floating toggle
  81.  
  82. # change focus between tiling / floating windows
  83. bindsym $mod+space focus mode_toggle
  84.  
  85. # focus the parent container
  86. bindsym $mod+a focus parent
  87.  
  88. # focus the child container
  89. #bindsym $mod+d focus child
  90.  
  91. # switch to workspace
  92. bindsym $mod+1 workspace 1
  93. bindsym $mod+2 workspace 2
  94. bindsym $mod+3 workspace 3
  95. bindsym $mod+4 workspace 4
  96. bindsym $mod+5 workspace 5
  97. bindsym $mod+6 workspace 6
  98. bindsym $mod+7 workspace 7
  99. bindsym $mod+8 workspace 8
  100. bindsym $mod+9 workspace 9
  101. bindsym $mod+0 workspace 10
  102.  
  103. # move focused container to workspace
  104. bindsym $mod+Shift+1 move container to workspace 1
  105. bindsym $mod+Shift+2 move container to workspace 2
  106. bindsym $mod+Shift+3 move container to workspace 3
  107. bindsym $mod+Shift+4 move container to workspace 4
  108. bindsym $mod+Shift+5 move container to workspace 5
  109. bindsym $mod+Shift+6 move container to workspace 6
  110. bindsym $mod+Shift+7 move container to workspace 7
  111. bindsym $mod+Shift+8 move container to workspace 8
  112. bindsym $mod+Shift+9 move container to workspace 9
  113. bindsym $mod+Shift+0 move container to workspace 10
  114.  
  115. # reload the configuration file
  116. bindsym $mod+Shift+c reload
  117. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  118. bindsym $mod+Shift+r restart
  119. # exit i3 (logs you out of your X session)
  120. bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
  121.  
  122. # resize window (you can also use the mouse for that)
  123. mode "resize" {
  124. # These bindings trigger as soon as you enter the resize mode
  125.  
  126. # Pressing left will shrink the window’s width.
  127. # Pressing right will grow the window’s width.
  128. # Pressing up will shrink the window’s height.
  129. # Pressing down will grow the window’s height.
  130. bindsym j resize shrink width 10 px or 10 ppt
  131. bindsym k resize grow height 10 px or 10 ppt
  132. bindsym l resize shrink height 10 px or 10 ppt
  133. bindsym semicolon resize grow width 10 px or 10 ppt
  134.  
  135. # same bindings, but for the arrow keys
  136. bindsym Left resize shrink width 10 px or 10 ppt
  137. bindsym Down resize grow height 10 px or 10 ppt
  138. bindsym Up resize shrink height 10 px or 10 ppt
  139. bindsym Right resize grow width 10 px or 10 ppt
  140.  
  141. # back to normal: Enter or Escape
  142. bindsym Return mode "default"
  143. bindsym Escape mode "default"
  144. }
  145.  
  146. bindsym $mod+r mode "resize"
  147.  
  148.  
  149. # Custom Binds
  150. bindsym $mod+$mod1+x exec i3lock -d -c 111111
  151.  
  152.  
  153. # Start i3bar to display a workspace bar (plus the system information i3status
  154. # finds out, if available)
  155. bar {
  156. status_command i3status
  157. position top
  158.  
  159.  
  160. colors {
  161. background #000000
  162.  
  163. focused_workspace #333333 #222222 #00ffff
  164. inactive_workspace #222222 #111111 #666666
  165.  
  166. }
  167.  
  168. }
  169.  
  170. #Windows
  171. new_window 1pixel
  172. new_float 1pixel
  173.  
  174.  
  175. #colors
  176. #class border backgr. text indicator
  177. client.focused #444444 #333333 #ffffff #ffffff
  178. client.unfocused #444444 #111111 #444444 #ffffff
  179. client.focused_inactive #444444 #111111 #444444 #ffffff
  180. client.urgent #444444 #333333 #ff0000 #ffffff
  181.  
  182.  
  183.  
  184.  
  185. exec --no-startup-id sh ~/.fehbg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement