Advertisement
Guest User

Untitled

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