Advertisement
Guest User

i3 config

a guest
Jul 30th, 2014
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.08 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 -*-terminus-medium-r-*-*-14-*-*-*-*-*-iso8859-*
  16.  
  17. # windows
  18.  
  19. new_window 1pixel
  20. new_float 1pixel
  21.  
  22. # Use Mouse+$mod to drag floating windows to their wanted position
  23. floating_modifier $mod
  24.  
  25. # start a terminal
  26. bindsym $mod+Return exec urxvt
  27.  
  28. # kill focused window
  29. bindsym $mod+q kill
  30.  
  31. # start dmenu (a program launcher)
  32. bindsym $mod+space exec dmenu_run
  33.  
  34. # change focus
  35. bindsym $mod+h focus left
  36. bindsym $mod+j focus down
  37. bindsym $mod+k focus up
  38. bindsym $mod+l focus right
  39.  
  40. # alternatively, you can use the cursor keys:
  41. bindsym $mod+Left focus left
  42. bindsym $mod+Down focus down
  43. bindsym $mod+Up focus up
  44. bindsym $mod+Right focus right
  45.  
  46. # move focused window
  47. bindsym $mod+Shift+J move left
  48. bindsym $mod+Shift+K move down
  49. bindsym $mod+Shift+L move up
  50. bindsym $mod+Shift+colon move right
  51.  
  52. # alternatively, you can use the cursor keys:
  53. bindsym $mod+Shift+Left move left
  54. bindsym $mod+Shift+Down move down
  55. bindsym $mod+Shift+Up move up
  56. bindsym $mod+Shift+Right move right
  57.  
  58. # split in horizontal orientation
  59. bindsym $mod+o split h
  60.  
  61. # split in vertical orientation
  62. bindsym $mod+u split v
  63.  
  64. # enter fullscreen mode for the focused container
  65. bindsym $mod+f fullscreen
  66.  
  67. # change container layout (stacked, tabbed, default)
  68. bindsym $mod+s layout stacking
  69. bindsym $mod+w layout tabbed
  70. bindsym $mod+e layout default
  71.  
  72. # toggle tiling / floating
  73. bindsym $mod+Shift+space floating toggle
  74.  
  75. # change focus between tiling / floating windows
  76. bindsym $mod+ctrl+space focus mode_toggle
  77.  
  78. # focus the parent container
  79. bindsym $mod+a focus parent
  80.  
  81. # focus the child container
  82. #bindcode $mod+d focus child
  83.  
  84. # switch to workspace
  85. bindsym $mod+1 workspace I
  86. bindsym $mod+2 workspace II
  87. bindsym $mod+3 workspace III
  88. bindsym $mod+4 workspace IV
  89. bindsym $mod+5 workspace V
  90. bindsym $mod+6 workspace VI
  91. bindsym $mod+7 workspace 7
  92. bindsym $mod+8 workspace 8
  93. bindsym $mod+9 workspace 9
  94. bindsym $mod+0 workspace 10
  95.  
  96. # move focused container to workspace
  97. bindsym $mod+Shift+exclam move container to workspace 1
  98. bindsym $mod+Shift+at move container to workspace 2
  99. bindsym $mod+Shift+numbersign move container to workspace 3
  100. bindsym $mod+Shift+dollar move container to workspace 4
  101. bindsym $mod+Shift+percent move container to workspace 5
  102. bindsym $mod+Shift+asciicircum move container to workspace 6
  103. bindsym $mod+Shift+ampersand move container to workspace 7
  104. bindsym $mod+Shift+asterisk move container to workspace 8
  105. bindsym $mod+Shift+parenleft move container to workspace 9
  106. bindsym $mod+Shift+parenright move container to workspace 10
  107.  
  108. # reload the configuration file
  109. bindsym $mod+Shift+C reload
  110. # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
  111. bindsym $mod+Shift+R restart
  112. # exit i3 (logs you out of your X session)
  113. bindsym $mod+Shift+E exit
  114.  
  115. # resize window (you can also use the mouse for that)
  116. mode "resize" {
  117. # These bindings trigger as soon as you enter the resize mode
  118.  
  119. # Pressing left will shrink the window’s width.
  120. # Pressing right will grow the window’s width.
  121. # Pressing up will shrink the window’s height.
  122. # Pressing down will grow the window’s height.
  123. bindsym j resize shrink width 10 px or 10 ppt
  124. bindsym k resize grow height 10 px or 10 ppt
  125. bindsym l resize shrink height 10 px or 10 ppt
  126. bindsym semicolon resize grow width 10 px or 10 ppt
  127.  
  128. # same bindings, but for the arrow keys
  129. bindsym 113 resize shrink width 10 px or 10 ppt
  130. bindsym 116 resize grow height 10 px or 10 ppt
  131. bindsym 111 resize shrink height 10 px or 10 ppt
  132. bindsym 114 resize grow width 10 px or 10 ppt
  133.  
  134. # back to normal: Enter or Escape
  135. bindsym Return mode "default"
  136. bindsym Escape mode "default"
  137. }
  138.  
  139. bindsym $mod+r mode "resize"
  140.  
  141. #Status bar
  142.  
  143. bar {
  144. mode dock
  145. position top
  146. font -*-terminus-*-*-*-*-12-*-*-*-*-*-*-*
  147. workspace_buttons yes
  148. status_command ~/.i3/conky.sh
  149. tray_output none
  150. colors {
  151. background #232323
  152. statusline #r605c5a
  153. focused_workspace #2e2e2e #2e2e2e #b95752
  154. active_workspace #2e2e2e #232323 #b95752
  155. inactive_workspace #232323 #232323 #8C8CA0
  156. urgent_workspace #232323 #232323 #b95752
  157. }
  158. }
  159.  
  160. #class border backgr. text
  161. client.focused #579aa9 #579aa9 #cdcdcd
  162. client.focused_inactive #525263 #111111 #999999
  163. client.unfocused #232323 #232323 #8C8CA0
  164. client.urgent #579aa9 #579aa9 #2e3436
  165. client.background #232323
  166.  
  167.  
  168. # Scrot
  169. bindsym $mod+shift+p exec scrot
  170.  
  171. #Autostart
  172. exec --no-startup-id xrdb -load ~/.Xresources
  173. exec --no-startup-id redshift -t 4500K:4500K
  174. exec --no-startup-id nitrogen --restore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement