Guest User

Untitled

a guest
Mar 14th, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.13 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.  
  9. # i3 config file (v4)
  10. #
  11. # Please see http://i3wm.org/docs/userguide.html for a complete reference!
  12.  
  13.  
  14. set $mod Mod4
  15.  
  16.  
  17. # Font for window titles. Will also be used by the bar unless a different font
  18. # is used in the bar {} block below. ISO 10646 = Unicode
  19. font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
  20. # The font above is very space-efficient, that is, it looks good, sharp and
  21. # clear in small sizes. However, if you need a lot of unicode glyphs or
  22. # right-to-left text rendering, you should instead use pango for rendering and
  23. # chose a FreeType font, such as:
  24. font pango:Droid Sans 10
  25.  
  26.  
  27. # colors
  28. #class border backgr. text
  29. client.focused #171717 #171717 #a6e22e
  30. client.focused_inactive #2e3436 #2e3436 #b9c8d1
  31. client.unfocused #2e3436 #2e3436 #999999
  32. client.urgent #cd989a #cd989a #2e3436
  33.  
  34.  
  35. client.background #121212
  36.  
  37.  
  38. # Use Mouse+$mod to drag floating windows to their wanted position
  39. floating_modifier $mod
  40.  
  41.  
  42. # start a terminal
  43. bindsym $mod+Return exec urxvtc
  44.  
  45.  
  46. # kill focused window
  47. bindsym $mod+Shift+q kill
  48.  
  49.  
  50. # set windows border style, choose between <normal|1pixel|none>
  51. new_window 1pixel
  52.  
  53.  
  54. # start dmenu (a program launcher)
  55. #bindsym $mod+d exec dmenu_run
  56. # There also is the (new) i3-dmenu-desktop which only displays applications
  57. # shipping a .desktop file. It is a wrapper around dmenu, so you need that
  58. # installed.
  59. bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
  60.  
  61.  
  62. # change focus
  63. bindsym $mod+j focus left
  64. bindsym $mod+k focus down
  65. bindsym $mod+l focus up
  66. bindsym $mod+semicolon focus right
  67.  
  68.  
  69. # alternatively, you can use the cursor keys:
  70. bindsym $mod+Left focus left
  71. bindsym $mod+Down focus down
  72. bindsym $mod+Up focus up
  73. bindsym $mod+Right focus right
  74.  
  75.  
  76. # move focused window
  77. bindsym $mod+Shift+j move left
  78. bindsym $mod+Shift+k move down
  79. bindsym $mod+Shift+l move up
  80. bindsym $mod+Shift+colon move right
  81.  
  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.  
  90. # split in horizontal orientation
  91. bindsym $mod+h split h
  92.  
  93.  
  94. # split in vertical orientation
  95. bindsym $mod+v split v
  96.  
  97.  
  98. # enter fullscreen mode for the focused container
  99. bindsym $mod+f fullscreen
  100.  
  101.  
  102. # change container layout (stacked, tabbed, toggle split)
  103. bindsym $mod+s layout stacking
  104. bindsym $mod+w layout tabbed
  105. bindsym $mod+e layout toggle split
  106.  
  107.  
  108. # toggle tiling / floating
  109. bindsym $mod+Shift+space floating toggle
  110.  
  111.  
  112. # change focus between tiling / floating windows
  113. bindsym $mod+space focus mode_toggle
  114.  
  115.  
  116. # focus the parent container
  117. bindsym $mod+a focus parent
  118.  
  119.  
  120. # focus the child container
  121. #bindsym $mod+d focus child
  122.  
  123.  
  124. # switch to workspace
  125. bindsym $mod+1 workspace 1
  126. bindsym $mod+2 workspace 2
  127. bindsym $mod+3 workspace 3
  128. bindsym $mod+4 workspace 4
  129. bindsym $mod+5 workspace 5
  130. bindsym $mod+6 workspace 6
  131. bindsym $mod+7 workspace 7
  132. bindsym $mod+8 workspace 8
  133. bindsym $mod+9 workspace 9
  134. bindsym $mod+0 workspace 10
  135.  
  136.  
  137. # move focused container to workspace
  138. bindsym $mod+Shift+1 move container to workspace 1
  139. bindsym $mod+Shift+2 move container to workspace 2
  140. bindsym $mod+Shift+3 move container to workspace 3
  141. bindsym $mod+Shift+4 move container to workspace 4
  142. bindsym $mod+Shift+5 move container to workspace 5
  143. bindsym $mod+Shift+6 move container to workspace 6
  144. bindsym $mod+Shift+7 move container to workspace 7
  145. bindsym $mod+Shift+8 move container to workspace 8
  146. bindsym $mod+Shift+9 move container to workspace 9
  147. bindsym $mod+Shift+0 move container to workspace 10
  148.  
  149.  
  150. # reload the configuration file
  151. bindsym $mod+Shift+c reload
  152. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  153. bindsym $mod+Shift+r restart
  154. # exit i3 (logs you out of your X session)
  155. 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'"
  156.  
  157.  
  158. # resize window (you can also use the mouse for that)
  159. mode "resize" {
  160. # These bindings trigger as soon as you enter the resize mode
  161.  
  162.  
  163. # Pressing left will shrink the window’s width.
  164. # Pressing right will grow the window’s width.
  165. # Pressing up will shrink the window’s height.
  166. # Pressing down will grow the window’s height.
  167. bindsym j resize shrink width 10 px or 10 ppt
  168. bindsym k resize grow height 10 px or 10 ppt
  169. bindsym l resize shrink height 10 px or 10 ppt
  170. bindsym semicolon resize grow width 10 px or 10 ppt
  171.  
  172.  
  173. # same bindings, but for the arrow keys
  174. bindsym Left resize shrink width 10 px or 10 ppt
  175. bindsym Down resize grow height 10 px or 10 ppt
  176. bindsym Up resize shrink height 10 px or 10 ppt
  177. bindsym Right resize grow width 10 px or 10 ppt
  178.  
  179.  
  180. # back to normal: Enter or Escape
  181. bindsym Return mode "default"
  182. bindsym Escape mode "default"
  183. }
  184.  
  185.  
  186. bindsym $mod+r mode "resize"
  187.  
  188.  
  189. # Start i3bar to display a workspace bar (plus the system information i3status
  190. # finds out, if available)
  191. bar {
  192. colors {
  193. statusline #ADD8E6
  194. }
  195. status_command conky
  196. position top
  197. }
  198.  
  199.  
  200. # System keybindings
  201. bindsym $mod+u exec urxvtc -hold -e cower -uv
  202. bindsym $mod+c exec urxvtc -e vim ~/.i3/config
  203. bindsym $mod+i exec urxvtc -e weechat-curses
  204. bindsym Control+$mod+Delete exec urxvt -e htop
  205. bindsym Control+$mod+l exec i3lock -c 000000
  206.  
  207.  
  208. #Audio keybindings
  209. bindsym XF86AudioMute exec "amixer set Speaker 0"
  210. bindsym $mod+Prior exec "amixer set Speaker 5+"
  211. bindsym $mod+Next exec "amixer set Speaker 5-"
  212. bindsym $mod+Home exec "ncmpcpp prev"
  213. bindsym $mod+End exec "ncmpcpp next"
  214.  
  215.  
  216. # Internet keybindingsncm
  217. bindsym $mod+o exec opera
  218. bindsym $mod+t exec thunar
  219. bindsym $mod+p exec urxvt -e ncmpcpp
  220. bindsym Print exec scrot -q100 -d5
Advertisement
Add Comment
Please, Sign In to add comment